diff options
author | megamage <none@none> | 2008-11-27 11:54:27 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-11-27 11:54:27 -0600 |
commit | 1c5fc7f5d68a82d9932dff93ffa53176e216bb5c (patch) | |
tree | ad7ff895e42d4b753a97c561f9a1607bbebc3bac /src/game/Spell.cpp | |
parent | 4b4956f238a3af472a095710e1259c24254cd49f (diff) |
*Fix the bug that devastate requires double rage.
*Fix the bug that cloak of shadows removes postive buffs.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r-- | src/game/Spell.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index bcec22c8dca..57844782b8a 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2496,8 +2496,11 @@ void Spell::cast(bool skipCheck) // CAST SPELL SendSpellCooldown(); - TakePower(); - TakeReagents(); // we must remove reagents before HandleEffects to allow place crafted item in same slot + if(!m_IsTriggeredSpell) + { + TakePower(); + TakeReagents(); // we must remove reagents before HandleEffects to allow place crafted item in same slot + } if(m_spellState == SPELL_STATE_FINISHED) // stop cast if spell marked as finish somewhere in Take*/FillTargetMap { |