mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
This commit is contained in:
@@ -205,8 +205,8 @@ class boss_baltharus_the_warborn : public CreatureScript
|
||||
events.Repeat(Seconds(24));
|
||||
break;
|
||||
case EVENT_ENERVATING_BRAND:
|
||||
for (uint8 i = 0; i < RAID_MODE<uint8>(2, 4, 2, 4); i++)
|
||||
if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 45.0f, true, false, -SPELL_ENERVATING_BRAND))
|
||||
for (uint8 i = 0; i < RAID_MODE<uint8>(4, 8, 8, 10); i++)
|
||||
if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 45.0f, true))
|
||||
DoCast(target, SPELL_ENERVATING_BRAND);
|
||||
events.Repeat(Seconds(26));
|
||||
break;
|
||||
@@ -302,8 +302,8 @@ class npc_baltharus_the_warborn_clone : public CreatureScript
|
||||
events.Repeat(Seconds(24));
|
||||
break;
|
||||
case EVENT_ENERVATING_BRAND:
|
||||
for (uint8 i = 0; i < RAID_MODE<uint8>(2, 4, 2, 4); i++)
|
||||
if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 45.0f, true, false, -SPELL_ENERVATING_BRAND))
|
||||
for (uint8 i = 0; i < RAID_MODE<uint8>(4, 8, 8, 10); i++)
|
||||
if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 45.0f, true))
|
||||
DoCast(target, SPELL_ENERVATING_BRAND);
|
||||
events.Repeat(Seconds(26));
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user