*Fix the bug that devastate requires double rage.

*Fix the bug that cloak of shadows removes postive buffs.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-11-27 11:54:27 -06:00
parent 4b4956f238
commit 1c5fc7f5d6
2 changed files with 10 additions and 6 deletions

View File

@@ -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
{