Relentless (Cursed) failing to multiply

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
greycat
Sher'Tul
Posts: 1396
Joined: Tue May 11, 2010 11:51 pm

Relentless (Cursed) failing to multiply

#1 Post by greycat »

Level 1 Relentless gives 15% stun/knockback/confusion resistance. OK.

Level 2 says it gives 30% but it only gives 15%.

Far as I can tell, the Lua is missing the self:getTalentLevelRaw(t) * part (or an effective talent level part instead of raw?) in the code.

benli
Thalore
Posts: 125
Joined: Tue Aug 17, 2010 5:02 am

Re: Relentless (Cursed) failing to multiply

#2 Post by benli »

Thanks. I've got a fix ready. self:getTalentLevelRaw(t) is actually wrong for this; on_learn is called once each time the talent is raised. The problem was that it needed to use the attr() function to raise these attributes correctly.

Post Reply