diff options
Diffstat (limited to 'src/server/scripts/Argus')
| -rw-r--r-- | src/server/scripts/Argus/AntorusTheBurningThrone/boss_garothi_worldbreaker.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/scripts/Argus/AntorusTheBurningThrone/boss_garothi_worldbreaker.cpp b/src/server/scripts/Argus/AntorusTheBurningThrone/boss_garothi_worldbreaker.cpp index 7169440b308..58e07c7fb25 100644 --- a/src/server/scripts/Argus/AntorusTheBurningThrone/boss_garothi_worldbreaker.cpp +++ b/src/server/scripts/Argus/AntorusTheBurningThrone/boss_garothi_worldbreaker.cpp @@ -279,19 +279,19 @@ struct boss_garothi_worldbreaker : public BossAI DoCastSelf(SPELL_APOCALYPSE_DRIVE_FINAL_DAMAGE); Talk(SAY_ANNOUNCE_APOCALYPSE_DRIVE); Talk(SAY_APOCALYPSE_DRIVE); - me->AddUnitFlag(UNIT_FLAG_UNINTERACTIBLE); + me->SetUnitFlag(UNIT_FLAG_UNINTERACTIBLE); if (Creature* decimator = instance->GetCreature(DATA_DECIMATOR)) { instance->SendEncounterUnit(ENCOUNTER_FRAME_ENGAGE, decimator, 2); - decimator->AddUnitFlag(UNIT_FLAG_IN_COMBAT); + decimator->SetUnitFlag(UNIT_FLAG_IN_COMBAT); decimator->RemoveUnitFlag(UNIT_FLAG_UNINTERACTIBLE); } if (Creature* annihilator = instance->GetCreature(DATA_ANNIHILATOR)) { instance->SendEncounterUnit(ENCOUNTER_FRAME_ENGAGE, annihilator, 2); - annihilator->AddUnitFlag(UNIT_FLAG_IN_COMBAT); + annihilator->SetUnitFlag(UNIT_FLAG_IN_COMBAT); annihilator->RemoveUnitFlag(UNIT_FLAG_UNINTERACTIBLE); } ++_apocalypseDriveCount; @@ -456,13 +456,13 @@ struct boss_garothi_worldbreaker : public BossAI if (Creature* decimator = instance->GetCreature(DATA_DECIMATOR)) { instance->SendEncounterUnit(ENCOUNTER_FRAME_DISENGAGE, decimator); - decimator->AddUnitFlag(UnitFlags(UNIT_FLAG_UNINTERACTIBLE | UNIT_FLAG_IMMUNE)); + decimator->SetUnitFlag(UNIT_FLAG_UNINTERACTIBLE | UNIT_FLAG_IMMUNE); } if (Creature* annihilator = instance->GetCreature(DATA_ANNIHILATOR)) { instance->SendEncounterUnit(ENCOUNTER_FRAME_DISENGAGE, annihilator); - annihilator->AddUnitFlag(UnitFlags(UNIT_FLAG_UNINTERACTIBLE | UNIT_FLAG_IMMUNE)); + annihilator->SetUnitFlag(UNIT_FLAG_UNINTERACTIBLE | UNIT_FLAG_IMMUNE); } } }; |
