diff options
author | megamage <none@none> | 2008-12-30 22:22:56 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-30 22:22:56 -0600 |
commit | e92364df80e36559686fc17b21f0c5cb78ccdea7 (patch) | |
tree | a154c417a5c7c7fc06086d2535c48868c8fbeda3 /src | |
parent | 1d800d912ccb3b62879708235d302afc2be9c73a (diff) |
*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
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Spell.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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++) { |