Scripts/VioletHold: Fix correct boss erekem repeat time interval
Updates coverity issue #1318019
This commit is contained in:
1 parent
95bae7143f
commit
5406f82044
1 file changed
+4
-1
@@ -208,7 +208,10 @@ class boss_erekem : public CreatureScript
|
||||
if (Unit* ally = DoSelectLowestHpFriendly(40.0f))
|
||||
DoCast(ally, SPELL_CHAIN_HEAL);
|
||||
|
||||
task.Repeat(!CheckGuardAlive() ? Seconds(3) : Seconds(8), Seconds(11));
|
||||
if (!CheckGuardAlive())
|
||||
task.Repeat(Seconds(3));
|
||||
else
|
||||
task.Repeat(Seconds(8), Seconds(11));
|
||||
});
|
||||
|
||||
scheduler.Schedule(Seconds(2), Seconds(8), [this](TaskContext task)
|
||||
|
||||
Reference in new issue
Block a user