mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[12005] Implement spell 48590
This commit is contained in:
parent
f7afe66db5
commit
a71dfd84a7
2 changed files with 15 additions and 1 deletions
|
|
@ -7120,6 +7120,20 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
||||||
m_caster->CastSpell(m_caster, 50239, true);
|
m_caster->CastSpell(m_caster, 50239, true);
|
||||||
return;
|
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
|
case 48603: // High Executor's Branding Iron
|
||||||
// Torture the Torturer: High Executor's Branding Iron Impact
|
// Torture the Torturer: High Executor's Branding Iron Impact
|
||||||
unitTarget->CastSpell(unitTarget, 48614, true);
|
unitTarget->CastSpell(unitTarget, 48614, true);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "12004"
|
#define REVISION_NR "12005"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue