aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author_manuel_ <none@none>2010-01-05 21:49:48 -0300
committer_manuel_ <none@none>2010-01-05 21:49:48 -0300
commit0bd566213a74214553ca734ab08f4b8cd9430559 (patch)
tree33f9c87f206e8e46c067f72867cb68244facc81d /src
parent4a0af0314ee066f37ecb2a7fb8096ae8180dc966 (diff)
Halls of Stone: Prevents Brann Bronzebeard stuck in combat.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/bindings/scripts/scripts/northrend/ulduar/halls_of_stone/halls_of_stone.cpp5
1 files changed, 5 insertions, 0 deletions
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 aff7a1a45b0..a8141edb987 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();
}
};