From 7af8f7fde776274bbe392405db5063e623d73757 Mon Sep 17 00:00:00 2001 From: Xfurry Date: Thu, 14 Jun 2012 23:45:29 +0200 Subject: [PATCH] [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 --- src/game/SpellEffects.cpp | 12 +++++------- src/shared/revision_nr.h | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index e3756675c..4e8888998 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -7125,13 +7125,11 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx) 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); - } + // Summon 4 spirits summoners + unitTarget->CastSpell(unitTarget, 48586, true); + unitTarget->CastSpell(unitTarget, 48587, true); + unitTarget->CastSpell(unitTarget, 48588, true); + unitTarget->CastSpell(unitTarget, 48589, true); return; } case 48603: // High Executor's Branding Iron diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 075be8e77..0103b1334 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "12008" + #define REVISION_NR "12009" #endif // __REVISION_NR_H__