From 3b307ecb054d5d31176c012acda9b97c4cba3f52 Mon Sep 17 00:00:00 2001 From: Trystanosaurus <25745474+Trystanosaurus@users.noreply.github.com> Date: Fri, 8 Jun 2018 12:32:08 +0200 Subject: [PATCH] Add cooldown to Amplify Damage in phase 3 (#894) Added a cooldown to amplify damage in phase 3, else it's cast every frame. Used random between 20 and 30 seconds as that's what's set at the start of phase 3. --- .../scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp index 0a77f2261..1b9ed127f 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp @@ -421,6 +421,7 @@ public: if (target) DoCast(target, SPELL_AMPLIFY_DAMAGE); + AmplifyDamageTimer = urand(20000, 30000); } else AmplifyDamageTimer -= diff;