mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Scripts: Baltharus the Warborn preincrement _cloneCount
(cherry picked from commit 2921449a33)
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user