From 5125c6aee7dd909859ac58cbe713ffe8cf98daca Mon Sep 17 00:00:00 2001 From: talamortis Date: Thu, 12 Jan 2017 18:27:40 +0000 Subject: [PATCH] Prince Phase 3 fix fixed a error for when prince was at 30% life he didnt go into phase 3. --- .../Karazhan/boss_prince_malchezaar.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp b/src/scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp index 5d67e8f3a..aa28f1e72 100644 --- a/src/scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp +++ b/src/scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp @@ -397,21 +397,22 @@ public: Phase2(); } - if (phase == 2) + if (phase == 2) { if (SunderArmorTimer <= diff) + { DoCast(SPELL_SUNDER_ARMOR); - SunderArmorTimer = urand(5000, 10000); - } - else - SunderArmorTimer -= diff; + SunderArmorTimer = urand(5000, 10000); + } + else + SunderArmorTimer -= diff; if (HealthBelowPct(30)) { Phase3(); } - } + if (phase == 3) { if (AmplifyDamageTimer <= diff)