[12029] Implement spell 35865

This commit is contained in:
Xfurry 2012-07-09 19:21:16 +02:00 committed by Schmoozerd
parent 065bcc6b5c
commit 12fa17dba5
2 changed files with 14 additions and 1 deletions

View file

@ -6760,6 +6760,19 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
unitTarget->CastSpell(m_caster, 32300, true);
return;
}
case 35865: // Summon Nether Vapor
{
if (!unitTarget)
return;
float x, y, z;
for (uint8 i = 0; i < 4; ++i)
{
m_caster->GetNearPoint(m_caster, x, y, z, 0, 5.0f, M_PI_F*.5f*i + M_PI_F*.25f);
m_caster->SummonCreature(21002, x, y, z, 0, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 30000);
}
return;
}
case 38358: // Tidal Surge
{
if (!unitTarget)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12027"
#define REVISION_NR "12029"
#endif // __REVISION_NR_H__