Glyph of Paralysis ignores stun resistance

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Hachem_Muche
Uruivellas
Posts: 744
Joined: Thu Nov 18, 2010 6:42 pm

Glyph of Paralysis ignores stun resistance

#1 Post by Hachem_Muche »

As per the title. Easy fix:

Code: Select all

Index: game/modules/tome/data/talents/celestial/glyphs.lua
===================================================================
--- game/modules/tome/data/talents/celestial/glyphs.lua	(revision 6353)
+++ game/modules/tome/data/talents/celestial/glyphs.lua	(working copy)
@@ -52,7 +52,11 @@
 				return false
 			end,
 			triggered = function(self, x, y, who)
-				who:setEffect(who.EFF_DAZED, self.dam, {})
+				if who:canBe("stun") then
+					who:setEffect(who.EFF_DAZED, self.dam, {})
+				else
+					game.logSeen(who,"%s is not dazed!",who.name:capitalize())
+				end 
 				return true
 			end,
 			temporary = t.getDuration(self, t),
Author of the Infinite 500 and PlenumTooltip addons, and the joys of Scaling in ToME.

Post Reply