Page 1 of 1

Gesture of Pain ignores stun resistance

Posted: Wed Jan 02, 2013 12:24 am
by Hachem_Muche
GoP can stun unstunnable creatures. Fix:

Code: Select all

Index: game/modules/tome/data/talents/cursed/gestures.lua
===================================================================
--- game/modules/tome/data/talents/cursed/gestures.lua	(revision 6307)
+++ game/modules/tome/data/talents/cursed/gestures.lua	(working copy)
@@ -99,7 +99,7 @@
 
 		if hit then
 			local stunChance = t.getStunChance(self, t)
-			if rng.percent(stunChance) then
+			if rng.percent(stunChance) and target:canBe("stun") then
 				target:setEffect(target.EFF_STUNNED, 3, {apply_power=self:combatMindpower()})
 			end
 			

Re: Gesture of Pain ignores stun resistance

Posted: Wed Jan 02, 2013 12:46 am
by darkgod
fixed