*use OriginalVictim for some range based spell casts (only scripts)

-fixed void reaver's arcane orb spell, now it is shown in combatlog (cheers to bossmods)

--HG--
branch : trunk
This commit is contained in:
Rat
2009-07-18 23:22:23 +02:00
parent 7166e8d26f
commit c8342ca8ce
3 changed files with 5 additions and 3 deletions

View File

@@ -128,7 +128,7 @@ struct TRINITY_DLL_DECL boss_void_reaverAI : public ScriptedAI
target = *(target_list.begin()+rand()%target_list.size());
if (target)
m_creature->CastSpell(target->GetPositionX(),target->GetPositionY(),target->GetPositionZ(), SPELL_ARCANE_ORB, false);
m_creature->CastSpell(target->GetPositionX(),target->GetPositionY(),target->GetPositionZ(), SPELL_ARCANE_ORB, false, NULL, NULL, NULL, target);
ArcaneOrb_Timer = 3000;
}else ArcaneOrb_Timer -= diff;