Core/Spells: Temporary workaround for Summon Eye of Acherus (this time working)

This commit is contained in:
QAston
2011-07-16 08:03:36 +02:00
parent 3c780bb0b4
commit f35d8c9bc4
+6 -3
View File
@@ -1626,11 +1626,14 @@ void Spell::EffectForceCast(SpellEffIndex effIndex)
case 73058: // Blood Nova case 73058: // Blood Nova
m_caster->CastSpell(unitTarget, damage, true); // additional spell cast m_caster->CastSpell(unitTarget, damage, true); // additional spell cast
break; break;
case 51888: // Summon Eye of Acherus - a hack for GO cast }
}
// temphack
if (m_spellInfo->Id == 51888)
{
unitTarget->CastSpell(unitTarget, spellInfo->Id, true, NULL, NULL, m_originalCasterGUID); unitTarget->CastSpell(unitTarget, spellInfo->Id, true, NULL, NULL, m_originalCasterGUID);
return; return;
}
} }
unitTarget->CastSpell(m_caster, spellInfo, true); unitTarget->CastSpell(m_caster, spellInfo, true);