[12005] Implement spell 48590

This commit is contained in:
Xfurry 2012-06-13 15:35:02 +02:00 committed by Schmoozerd
parent f7afe66db5
commit a71dfd84a7
2 changed files with 15 additions and 1 deletions

View file

@ -7120,6 +7120,20 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
m_caster->CastSpell(m_caster, 50239, true);
return;
}
case 48590: // Avenging Spirits
{
if (!unitTarget)
return;
// Summon 4 spirits at near point positions
float x, y, z;
for (uint8 i = 0; i < 4; ++i)
{
unitTarget->GetNearPoint(unitTarget, x, y, z, 0, 3.0f, M_PI_F/2*i+M_PI_F/4);
unitTarget->CastSpell(x, y, z, 48592, true);
}
return;
}
case 48603: // High Executor's Branding Iron
// Torture the Torturer: High Executor's Branding Iron Impact
unitTarget->CastSpell(unitTarget, 48614, true);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12004"
#define REVISION_NR "12005"
#endif // __REVISION_NR_H__