Core/Spells: Remove OriginalVictim parameter from Unit::CastSpell(x,y,z) - setting unit target was enough for all spells which used it, there's never a need to cast with both unit and dest target on retail (in such cases unit target + DEST_TARGET target types are used).

This commit is contained in:
QAston
2011-08-16 16:53:29 +02:00
parent 73bbc3aca8
commit d4b90d1f86
5 changed files with 5 additions and 9 deletions
@@ -138,7 +138,7 @@ class boss_void_reaver : public CreatureScript
target = me->getVictim();
if (target)
me->CastSpell(target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), SPELL_ARCANE_ORB, false, NULL, NULL, 0, target);
me->CastSpell(target, SPELL_ARCANE_ORB, false, NULL, NULL, 0);
ArcaneOrb_Timer = 3000;
}
else