Core/Scripts: Baltharus the Warborn preincrement _cloneCount

(cherry picked from commit 2921449a33)
This commit is contained in:
Keader
2017-04-09 09:25:58 -03:00
committed by funjoker
parent 84df2c57a3
commit 304eeea570

View File

@@ -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));
}
}