Glyph of Paralysis ignores stun resistance
Posted: Fri Jan 18, 2013 6:20 am
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),