Halls of Stone: Prevents Brann Bronzebeard stuck in combat.
--HG-- branch : trunk
This commit is contained in:
@@ -632,6 +632,11 @@ struct TRINITY_DLL_DECL npc_brann_hosAI : public npc_escortAI
|
|||||||
bIsLowHP = true;
|
bIsLowHP = true;
|
||||||
} else if (bIsLowHP && (m_creature->GetHealth()*100 / m_creature->GetMaxHealth()) > 30)
|
} else if (bIsLowHP && (m_creature->GetHealth()*100 / m_creature->GetMaxHealth()) > 30)
|
||||||
bIsLowHP = false;
|
bIsLowHP = false;
|
||||||
|
|
||||||
|
if (!UpdateVictim())
|
||||||
|
return;
|
||||||
|
|
||||||
|
DoMeleeAttackIfReady();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user