From e92364df80e36559686fc17b21f0c5cb78ccdea7 Mon Sep 17 00:00:00 2001 From: megamage Date: Tue, 30 Dec 2008 22:22:56 -0600 Subject: *Do not check power and stun for triggered spells. This fix the bug that bg mark is not casted on stunned target and that devastate needs extra rage. --HG-- branch : trunk --- src/game/Spell.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 832a8d46092..73a0c114704 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -3638,14 +3638,15 @@ uint8 Spell::CanCast(bool strict) if(uint8 castResult = CheckRange(strict)) return castResult; + if(!m_IsTriggeredSpell) { if(uint8 castResult = CheckPower()) return castResult; - } - if(!m_triggeredByAuraSpell) // triggered spell not affected by stun/etc + //if(!m_triggeredByAuraSpell) // triggered spell not affected by stun/etc if(uint8 castResult = CheckCasterAuras()) return castResult; + } for (int i = 0; i < 3; i++) { -- cgit v1.2.3