aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQAston <qaston@gmail.com>2011-07-16 07:55:49 +0200
committerQAston <qaston@gmail.com>2011-07-16 08:03:36 +0200
commitf35d8c9bc4c06786176fbe6a1fc569d5f523b68f (patch)
treebde78273d8b37a4599a366b093310f32bbce5631
parent3c780bb0b4a3305e56fd3ca9ad446c2e08b835bc (diff)
Core/Spells: Temporary workaround for Summon Eye of Acherus (this time working)
-rwxr-xr-xsrc/server/game/Spells/SpellEffects.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp
index 92f778f94dc..43832484254 100755
--- a/src/server/game/Spells/SpellEffects.cpp
+++ b/src/server/game/Spells/SpellEffects.cpp
@@ -1626,13 +1626,16 @@ void Spell::EffectForceCast(SpellEffIndex effIndex)
case 73058: // Blood Nova
m_caster->CastSpell(unitTarget, damage, true); // additional spell cast
break;
- case 51888: // Summon Eye of Acherus - a hack for GO cast
- unitTarget->CastSpell(unitTarget, spellInfo->Id, true, NULL, NULL, m_originalCasterGUID);
- return;
-
}
}
+ // temphack
+ if (m_spellInfo->Id == 51888)
+ {
+ unitTarget->CastSpell(unitTarget, spellInfo->Id, true, NULL, NULL, m_originalCasterGUID);
+ return;
+ }
+
unitTarget->CastSpell(m_caster, spellInfo, true);
}