From e2a9fc5b7dc0ba8b0e5d0746e63ebdc6b1ab990e Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Tue, 22 Jan 2013 00:16:29 +0000
Subject: [PATCH] Glyph of Paralysis checks for stun resistance

git-svn-id: http://svn.net-core.org/repos/t-engine4@6363 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/data/talents/celestial/glyphs.lua | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/game/modules/tome/data/talents/celestial/glyphs.lua b/game/modules/tome/data/talents/celestial/glyphs.lua
index 8458c4c3bc..b6230e9c0c 100644
--- a/game/modules/tome/data/talents/celestial/glyphs.lua
+++ b/game/modules/tome/data/talents/celestial/glyphs.lua
@@ -52,7 +52,9 @@ newTalent{
 				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, {})
+				end
 				return true
 			end,
 			temporary = t.getDuration(self, t),
-- 
GitLab