diff options
author | Keader <keader.android@gmail.com> | 2017-04-09 09:25:58 -0300 |
---|---|---|
committer | funjoker <funjoker109@gmail.com> | 2020-04-27 12:25:52 +0200 |
commit | 304eeea570c153ea1b9598eb7b15b0e2ec2b8399 (patch) | |
tree | 7c03aae9673df651991b9a7ca524951dd2312721 /src | |
parent | 84df2c57a385df4503fc1f8ff5dfdf445ea2e31f (diff) |
Core/Scripts: Baltharus the Warborn preincrement _cloneCount
(cherry picked from commit 2921449a333ea27a62c7b21d003650421c982917)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_baltharus_the_warborn.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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)); } } |