hate is incorrectly affected by fatigue in "postUseTalent"

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

hate is incorrectly affected by fatigue in "postUseTalent"

#1 Post 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
Attachments
hate_fatigue.txt
(553 Bytes) Downloaded 145 times

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: hate is incorrectly affected by fatigue in "postUseTalen

#2 Post by darkgod »

fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply