Improve EVENT_SLIME_SPRAY logic for raid difficulties (#825)

Refactor slime spray damage for vanilla naxx40.
This commit is contained in:
Dinkledork
2025-10-23 15:07:18 -06:00
committed by GitHub
parent 53ad84a9eb
commit 0801ffdd91

View File

@@ -169,7 +169,11 @@ public:
break;
case EVENT_SLIME_SPRAY:
Talk(EMOTE_SLIME);
me->CastSpell(me->GetVictim(), RAID_MODE(SPELL_SLIME_SPRAY_10, SPELL_SLIME_SPRAY_25, SPELL_SLIME_SPRAY_10, SPELL_SLIME_SPRAY_25), false);
if (Unit* target = me->GetVictim())
{
int32 bp0 = urand(3200, 4800);
me->CastCustomSpell(target, SPELL_SLIME_SPRAY_10, &bp0, nullptr, nullptr, false);
}
events.Repeat(20s);
break;
case EVENT_MUTATING_INJECTION: