From 304eeea570c153ea1b9598eb7b15b0e2ec2b8399 Mon Sep 17 00:00:00 2001 From: Keader Date: Sun, 9 Apr 2017 09:25:58 -0300 Subject: Core/Scripts: Baltharus the Warborn preincrement _cloneCount (cherry picked from commit 2921449a333ea27a62c7b21d003650421c982917) --- .../ChamberOfAspects/RubySanctum/boss_baltharus_the_warborn.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_baltharus_the_warborn.cpp b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_baltharus_the_warborn.cpp index 445404ce961..1440f800260 100644 --- a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_baltharus_the_warborn.cpp +++ b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_baltharus_the_warborn.cpp @@ -150,7 +150,7 @@ class boss_baltharus_the_warborn : public CreatureScript { if (me->HealthBelowPctDamaged(50, damage) && _cloneCount == 0) { - _cloneCount++; + ++_cloneCount; events.ScheduleEvent(EVENT_CLONE, Milliseconds(1)); } } @@ -158,12 +158,12 @@ class boss_baltharus_the_warborn : public CreatureScript { if (me->HealthBelowPctDamaged(66, damage) && _cloneCount == 0) { - _cloneCount++; + ++_cloneCount; events.ScheduleEvent(EVENT_CLONE, Milliseconds(1)); } else if (me->HealthBelowPctDamaged(33, damage) && _cloneCount == 1) { - _cloneCount++; + ++_cloneCount; events.ScheduleEvent(EVENT_CLONE, Milliseconds(1)); } } -- cgit v1.2.3