mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-25 06:36:24 +00:00
fix(Scripts/Ulduar): Sara's buffs should be casted randomly among the players. (#11255)
Fixes #11240
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user