[12194] Implement spell 30835

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

View file

@ -1706,6 +1706,7 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
case 23138: // Gate of Shazzrah case 23138: // Gate of Shazzrah
case 28560: // Summon Blizzard case 28560: // Summon Blizzard
case 30769: // Pick Red Riding Hood case 30769: // Pick Red Riding Hood
case 30835: // Infernal Relay
case 31347: // Doom TODO: exclude top threat target from target selection case 31347: // Doom TODO: exclude top threat target from target selection
case 33711: // Murmur's Touch case 33711: // Murmur's Touch
case 38794: // Murmur's Touch (h) case 38794: // Murmur's Touch (h)

View file

@ -7091,6 +7091,14 @@ void Spell::EffectScriptEffect(SpellEffectEntry const* effect)
m_caster->CastSpell(unitTarget, 30768, true); m_caster->CastSpell(unitTarget, 30768, true);
break; break;
} }
case 30835: // Infernal Relay
{
if (!unitTarget)
return;
unitTarget->CastSpell(unitTarget, 30836, true, NULL, NULL, m_caster->GetObjectGuid());
break;
}
case 30918: // Improved Sprint case 30918: // Improved Sprint
{ {
if (!unitTarget) if (!unitTarget)

View file

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