mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[12009] Fix wrong implementation of spell 48590 from [12005]
Thanks to rsa for pointing to the problems Original author of now similar patch unknown Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
e7114b4b3c
commit
7af8f7fde7
2 changed files with 6 additions and 8 deletions
|
|
@ -7125,13 +7125,11 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
||||||
if (!unitTarget)
|
if (!unitTarget)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Summon 4 spirits at near point positions
|
// Summon 4 spirits summoners
|
||||||
float x, y, z;
|
unitTarget->CastSpell(unitTarget, 48586, true);
|
||||||
for (uint8 i = 0; i < 4; ++i)
|
unitTarget->CastSpell(unitTarget, 48587, true);
|
||||||
{
|
unitTarget->CastSpell(unitTarget, 48588, true);
|
||||||
unitTarget->GetNearPoint(unitTarget, x, y, z, 0, 3.0f, M_PI_F/2*i+M_PI_F/4);
|
unitTarget->CastSpell(unitTarget, 48589, true);
|
||||||
unitTarget->CastSpell(x, y, z, 48592, true);
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case 48603: // High Executor's Branding Iron
|
case 48603: // High Executor's Branding Iron
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "12008"
|
#define REVISION_NR "12009"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue