Page 1 of 1

hate is incorrectly affected by fatigue in "postUseTalent"

Posted: Mon Jul 25, 2011 4:47 am
by tiger_eye
Hate is still affected by fatigue in the function "postUseTalent", which is incorrect. Hate is not modified by fatigue in "preUseTalent" or in the tooltip display. The following change is needed:

Code: Select all

Index: game/modules/tome/class/Actor.lua
===================================================================
--- game/modules/tome/class/Actor.lua	(revision 3950)
+++ game/modules/tome/class/Actor.lua	(working copy)
@@ -2312,7 +2312,7 @@
 			trigger = true; self:incNegative(-ab.negative * (100 + self:combatFatigue()) / 100)
 		end
 		if ab.hate then
-			trigger = true; self:incHate(-ab.hate * (100 + self:combatFatigue()) / 100)
+			trigger = true; self:incHate(-ab.hate)
 		end
 		-- Equilibrium is not affected by fatigue
 		if ab.equilibrium then

Re: hate is incorrectly affected by fatigue in "postUseTalen

Posted: Mon Jul 25, 2011 7:02 am
by darkgod
fixed