Use UpdateVictim() to check victim.
--HG-- branch : trunk
This commit is contained in:
@@ -147,7 +147,7 @@ struct TRINITY_DLL_DECL npc_captured_rageclawAI : public ScriptedAI
|
|||||||
|
|
||||||
void UpdateAI(const uint32 uiDiff)
|
void UpdateAI(const uint32 uiDiff)
|
||||||
{
|
{
|
||||||
if (m_creature->getVictim())
|
if (UpdateVictim())
|
||||||
{
|
{
|
||||||
DoMeleeAttackIfReady();
|
DoMeleeAttackIfReady();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user