Page 1 of 1

[b30] Invisibility cost

Posted: Fri Jul 22, 2011 9:07 pm
by lukep
The mana drain for invisibility should probably be changed from:

Code: Select all

			drain = self:addTemporaryValue("mana_regen", - math.max(2, 7 - self:getTalentLevelRaw())),
to:

Code: Select all

			drain = self:addTemporaryValue("mana_regen", - math.max(2, 7 - self:getTalentLevelRaw(t))),
unless it was intended to always be 7 cost.

Re: [b30] Invisibility cost

Posted: Fri Jul 22, 2011 9:16 pm
by tiger_eye
Huh? What's the difference? What's the problem? DarkGod just won the game with an invisibility-based archmage, so I'm pretty sure this is working as intended.

Re: [b30] Invisibility cost

Posted: Fri Jul 22, 2011 10:10 pm
by lukep
First one doesn't call for a talent, so its cost is always 7.

Re: [b30] Invisibility cost

Posted: Fri Jul 22, 2011 10:58 pm
by tiger_eye
Oh, my bad. This is already fixed for b31.

Good eyes, though, lukep! :D