[b30] Invisibility cost

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
lukep
Sher'Tul Godslayer
Posts: 1712
Joined: Mon Mar 14, 2011 10:32 am
Location: Canada

[b30] Invisibility cost

#1 Post 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.
Some of my tools for helping make talents:
Melee Talent Creator
Annotated Talent Code (incomplete)

tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

Re: [b30] Invisibility cost

#2 Post 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.

lukep
Sher'Tul Godslayer
Posts: 1712
Joined: Mon Mar 14, 2011 10:32 am
Location: Canada

Re: [b30] Invisibility cost

#3 Post by lukep »

First one doesn't call for a talent, so its cost is always 7.
Some of my tools for helping make talents:
Melee Talent Creator
Annotated Talent Code (incomplete)

tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

Re: [b30] Invisibility cost

#4 Post by tiger_eye »

Oh, my bad. This is already fixed for b31.

Good eyes, though, lukep! :D

Post Reply