*Still use the old updatevictim functions for most scripts because some old scripts may cause crash using new function.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-06-05 14:37:15 -05:00
parent 13fd9ea601
commit 5aa9fdb556
5 changed files with 14 additions and 3 deletions
@@ -202,7 +202,7 @@ struct TRINITY_DLL_DECL boss_gothikAI : public BossAI
void UpdateAI(const uint32 diff)
{
if(!UpdateVictim() || !CheckInRoom())
if(!UpdateCombatState() || !CheckInRoom())
return;
events.Update(diff);
@@ -128,7 +128,7 @@ struct TRINITY_DLL_DECL boss_nothAI : public BossAI
void UpdateAI(const uint32 diff)
{
if(!UpdateVictim() || !CheckInRoom())
if(!UpdateCombatState() || !CheckInRoom())
return;
events.Update(diff);
@@ -173,7 +173,7 @@ struct TRINITY_DLL_DECL boss_sapphironAI : public BossAI
events.Update(diff);
if(phase != PHASE_BIRTH && !UpdateVictim() || !CheckInRoom())
if(phase != PHASE_BIRTH && !UpdateCombatState() || !CheckInRoom())
return;
if(phase == PHASE_GROUND)