From d7f76aec992a36817a3ab474379aa2b7421ebfed Mon Sep 17 00:00:00 2001 From: Blaymoira Date: Sun, 14 Dec 2008 16:11:58 +0100 Subject: *Fixed spell 39445 *Added missing DoMeleeAttackIfReady(); in phase hunter script patch provided by Anubisss --HG-- branch : trunk --- src/bindings/scripts/scripts/zone/netherstorm/netherstorm.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/bindings/scripts') diff --git a/src/bindings/scripts/scripts/zone/netherstorm/netherstorm.cpp b/src/bindings/scripts/scripts/zone/netherstorm/netherstorm.cpp index fbb4c20379b..3449b863a27 100644 --- a/src/bindings/scripts/scripts/zone/netherstorm/netherstorm.cpp +++ b/src/bindings/scripts/scripts/zone/netherstorm/netherstorm.cpp @@ -444,8 +444,7 @@ struct TRINITY_DLL_DECL mob_phase_hunterAI : public ScriptedAI DoCast(target, SPELL_MANA_BURN); ManaBurnTimer = 8000 + (rand()%10 * 1000); // 8-18 sec cd } - } - else ManaBurnTimer -= diff; + }else ManaBurnTimer -= diff; if(!Weak && m_creature->GetHealth() < (m_creature->GetMaxHealth() / 100 * WeakPercent) && target->GetQuestStatus(10190) == QUEST_STATUS_INCOMPLETE) // start: support for quest 10190 { @@ -473,6 +472,8 @@ struct TRINITY_DLL_DECL mob_phase_hunterAI : public ScriptedAI DrainedPhaseHunter->AI()->AttackStart(target); } } // end: support for quest 10190 + + DoMeleeAttackIfReady(); } }; -- cgit v1.2.3