Postby Dinberg » Fri Jun 05, 2009 4:29 pm
I was just thinking for a second aswell - couldn't help notice this:
(int)(Caster.MaxEndurance * (Spell.Power * .01));
For spells that cost a power %, rather than power value, the 'power cost' is a negative number in the DB. This could actually cause the endurance cost of the spell to be a negative number, increasing the casters endurance!
(int)(Caster.MaxEndurance * (Math.Abs(Spell.Power) * .01));
The Marvelous Contraption begins to stir...