mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
Scripts/VioletHold: Fix issue reported by static analysis
Coverity defect IDs: 1318019
This commit is contained in:
@@ -208,7 +208,7 @@ 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)));
|
||||
task.Repeat(!CheckGuardAlive() ? Seconds(3) : Seconds(8), Seconds(11));
|
||||
});
|
||||
|
||||
scheduler.Schedule(Seconds(2), Seconds(8), [this](TaskContext task)
|
||||
|
||||
Reference in New Issue
Block a user