Core/Spells: move Cannibalize and Carrion Feeder cast checks to SpellScripts.
This commit is contained in:
1 parent
cd03dadb7f
commit
e2d8faea09
10 files changed
+165
-115
No files matched your search
@@ -816,10 +816,6 @@ void Spell::EffectDummy(SpellEffIndex effIndex)
|
||||
}
|
||||
return;
|
||||
}
|
||||
case 20577: // Cannibalize
|
||||
if (unitTarget)
|
||||
m_caster->CastSpell(m_caster, 20578, false, NULL);
|
||||
return;
|
||||
case 23019: // Crystal Prison Dummy DND
|
||||
{
|
||||
if (!unitTarget || !unitTarget->isAlive() || unitTarget->GetTypeId() != TYPEID_UNIT || unitTarget->ToCreature()->isPet())
|
||||
|
||||
Reference in new issue
Block a user