Core/Spells: Implement 65594 (Cancel Stone Grip - Used in Kologarn encounter) spell

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-12-27 09:19:06 +01:00
parent f0d884ee20
commit 4a169412b7

View File

@@ -5079,6 +5079,12 @@ void Spell::EffectScriptEffect(SpellEffIndex effIndex)
}
return;
}
case 65594: // Cancel Stone Grip
{
uint32 spellToRemove = unitTarget->GetMap()->GetDifficulty() == RAID_DIFFICULTY_10MAN_NORMAL ? 62166 : 63981;
unitTarget->RemoveAurasDueToSpell(spellToRemove);
return;
}
case 60123: // Lightwell
{
if (m_caster->GetTypeId() != TYPEID_UNIT || !m_caster->ToCreature()->isSummon())