Core/Spells: Temporary workaround for Summon Eye of Acherus (this time working)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user