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
+7 -4
View File
@@ -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);
}