diff options
| author | silver1ce <none@none> | 2010-01-06 12:27:52 +0200 |
|---|---|---|
| committer | silver1ce <none@none> | 2010-01-06 12:27:52 +0200 |
| commit | 15618563ef38f06c758d660cf94c9baf02f350c1 (patch) | |
| tree | 5f0af4125b6c1f1da3c350aea8cbd731fdc2854d /src/bindings/scripts | |
| parent | 69331992571f00f7be58cce4e8928b896b10471c (diff) | |
| parent | c454c2a15a71b7f3bb0a123d770c41cb2df6188d (diff) | |
merge
--HG--
branch : trunk
Diffstat (limited to 'src/bindings/scripts')
| -rw-r--r-- | src/bindings/scripts/scripts/northrend/ulduar/halls_of_stone/halls_of_stone.cpp | 5 |
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(); } }; |
