[12193] Implement some spells used in the Shade of Aran encounter

This commit is contained in:
Xfurry 2012-09-06 02:13:55 +03:00 committed by Antz
parent 73f5d7a0b1
commit ba2f0471b4
3 changed files with 26 additions and 1 deletions

View file

@ -1782,6 +1782,7 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
break;
case 28796: // Poison Bolt Volley
case 29213: // Curse of the Plaguebringer
case 30004: // Flame Wreath
case 31298: // Sleep
case 39992: // Needle Spine Targeting (BT, Warlord Najentus)
case 51904: // Limiting the count of Summoned Ghouls

View file

@ -1272,6 +1272,30 @@ void Spell::EffectDummy(SpellEffectEntry const* effect)
return;
}
case 29969: // Summon Blizzard
{
if (!unitTarget)
return;
unitTarget->CastSpell(unitTarget, 29952, true, NULL, NULL, m_caster->GetObjectGuid());
return;
}
case 29979: // Massive Magnetic Pull
{
if (!unitTarget)
return;
m_caster->CastSpell(unitTarget, 30010, true);
return;
}
case 30004: // Flame Wreath
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
return;
m_caster->CastSpell(unitTarget, 29946, true);
return;
}
case 30458: // Nigh Invulnerability
{
if (!m_CastItem)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12192"
#define REVISION_NR "12193"
#endif // __REVISION_NR_H__