Healthy Hat Adding Double the Health

Hi,

When I equip my healthy heat with value 20 for health modifier, the health goes up double the amount from 200 to 240. I assume the modifier is getting added twice but I can’t figure out why. Any suggestions of why this would happen or where to look?

I tried adding a print statement to the public IEnumerable GetAdditiveModifers(Stat stat), but it won’t let me. If someone could explain that as well it would be helpful. This would have been helpful to figure out if it is adding twice.

Thanks

Well in base stats it looks I had this extra adding of the modifiers. I just commented it out and it solved the problem. I don’t know if this is a remnant of the original core combat course or just some mistake I made along the way.

private float GetBaseStat(Stat stat)
        {
            return progression.GetStat(stat, characterClass, GetLevel()) /*+ GetAdditiveModifier(stat)*/;
        }

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms