From 0bd566213a74214553ca734ab08f4b8cd9430559 Mon Sep 17 00:00:00 2001 From: _manuel_ Date: Tue, 5 Jan 2010 21:49:48 -0300 Subject: [PATCH] Halls of Stone: Prevents Brann Bronzebeard stuck in combat. --HG-- branch : trunk --- .../northrend/ulduar/halls_of_stone/halls_of_stone.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bindings/scripts/scripts/northrend/ulduar/halls_of_stone/halls_of_stone.cpp b/src/bindings/scripts/scripts/northrend/ulduar/halls_of_stone/halls_of_stone.cpp index aff7a1a45b..a8141edb98 100644 --- a/src/bindings/scripts/scripts/northrend/ulduar/halls_of_stone/halls_of_stone.cpp +++ b/src/bindings/scripts/scripts/northrend/ulduar/halls_of_stone/halls_of_stone.cpp @@ -632,6 +632,11 @@ struct TRINITY_DLL_DECL npc_brann_hosAI : public npc_escortAI bIsLowHP = true; } else if (bIsLowHP && (m_creature->GetHealth()*100 / m_creature->GetMaxHealth()) > 30) bIsLowHP = false; + + if (!UpdateVictim()) + return; + + DoMeleeAttackIfReady(); } };