From 41e7c525f655be1826bf6fa11ccf087d71b46863 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sun, 1 May 2016 16:12:56 +0200 Subject: [PATCH] Build fix --- .../BaradinHold/boss_pit_lord_argaloth.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/server/scripts/EasternKingdoms/BaradinHold/boss_pit_lord_argaloth.cpp b/src/server/scripts/EasternKingdoms/BaradinHold/boss_pit_lord_argaloth.cpp index e93700bb74..78f95dccae 100644 --- a/src/server/scripts/EasternKingdoms/BaradinHold/boss_pit_lord_argaloth.cpp +++ b/src/server/scripts/EasternKingdoms/BaradinHold/boss_pit_lord_argaloth.cpp @@ -48,7 +48,7 @@ class boss_pit_lord_argaloth : public CreatureScript struct boss_pit_lord_argalothAI : public BossAI { boss_pit_lord_argalothAI(Creature* creature) : BossAI(creature, DATA_ARGALOTH) { } - + void EnterCombat(Unit* /*who*/) override { _EnterCombat(); @@ -57,7 +57,7 @@ class boss_pit_lord_argaloth : public CreatureScript events.ScheduleEvent(EVENT_CONSUMING_DARKNESS, urand(20 * IN_MILLISECONDS, 25 * IN_MILLISECONDS)); events.ScheduleEvent(EVENT_BERSERK, 5 * MINUTE * IN_MILLISECONDS); } - + void EnterEvadeMode(EvadeReason /*why*/) override { first_fel_firestorm = false; @@ -69,13 +69,13 @@ class boss_pit_lord_argaloth : public CreatureScript void DamageTaken(Unit* /*attacker*/, uint32& damage) override { - if (me->HealthBelowPctDamaged(66) && !first_fel_firestorm) + if (me->HealthBelowPctDamaged(66,damage) && !first_fel_firestorm) { first_fel_firestorm = true; DoCastAOE(SPELL_FEL_FIRESTORM); } else - if(me->HealthBelowPctDamaged(33) && !second_fel_firestorm) + if(me->HealthBelowPctDamaged(33,damage) && !second_fel_firestorm) { second_fel_firestorm = true; DoCastAOE(SPELL_FEL_FIRESTORM);