diff options
author | QAston <qaston@gmail.com> | 2011-07-09 20:25:32 +0200 |
---|---|---|
committer | QAston <qaston@gmail.com> | 2011-07-09 20:25:32 +0200 |
commit | 22135f4d91001f24cabea843c8f883558a6a2365 (patch) | |
tree | 1d5a50c78a33ee69e39b5dbbb1f47c172e5e1af9 /src | |
parent | 0c984bfdf5aa6ad52b8d74518df61af1a6c9c188 (diff) |
Core/Spells: Add a temporary workaround for spell Summon Eye of Acherus(51888) - fixes gameobject cast of the spell after recent changes.
Diffstat (limited to 'src')
-rwxr-xr-x | src/server/game/Spells/SpellEffects.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index c848c20104d..9402cf77dd8 100755 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -1626,6 +1626,10 @@ 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; + } } |