fix(Scripts/Ulduar): Sara's buffs should be casted randomly among the players. (#11255)

Fixes #11240
This commit is contained in:
UltraNix
2022-04-05 14:12:54 +02:00
committed by GitHub
parent b41967a067
commit 8426da6e6b

View File

@@ -795,7 +795,7 @@ public:
case EVENT_SARA_P1_SPELLS:
{
uint32 spell = RAND(SPELL_SARAS_ANGER_TARGET_SELECTOR, SPELL_SARAS_BLESSING_TARGET_SELECTOR, SPELL_SARAS_FAVOR_TARGET_SELECTOR);
me->CastSpell(me, spell, false);
me->CastCustomSpell(spell, SPELLVALUE_MAX_TARGETS, 1, nullptr, false);
SpellSounds();
events.RepeatEvent(me->GetMap()->Is25ManRaid() ? urand(0, 3000) : 4000 + urand(0, 2000));
break;