From 1c5fc7f5d68a82d9932dff93ffa53176e216bb5c Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 27 Nov 2008 11:54:27 -0600 Subject: *Fix the bug that devastate requires double rage. *Fix the bug that cloak of shadows removes postive buffs. --HG-- branch : trunk --- src/game/Spell.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/game/Spell.cpp') 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 { -- cgit v1.2.3