Scripts/Ruby Sanctum: Fixed Baltharus target amount of Enervating Brand part 2

(I forgot the clones, ty Gildor)

(cherry picked from commit 3102a6c9035e56cf624583575eab0d549449e702)
This commit is contained in:
Keader
2021-09-28 15:32:32 +02:00
committed by Shauren
parent a046ef8604
commit 1d00e4eccb
@@ -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>(4, 8, 8, 10); i++)
if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 45.0f, true))
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))
DoCast(target, SPELL_ENERVATING_BRAND);
events.Repeat(Seconds(26));
break;