fix (Script/SWP) use enrage function for brutallus enrage (#21987)
This commit is contained in:
parent
dd43a0cfdf
commit
e6eb02a09e
1 changed files with 2 additions and 5 deletions
|
|
@ -85,6 +85,8 @@ struct boss_brutallus : public BossAI
|
|||
Talk(YELL_AGGRO);
|
||||
BossAI::JustEngagedWith(who);
|
||||
|
||||
ScheduleEnrageTimer(SPELL_BERSERK, 6min, YELL_BERSERK);
|
||||
|
||||
ScheduleTimedEvent(11s, [&] {
|
||||
DoCastVictim(SPELL_METEOR_SLASH);
|
||||
}, 12s);
|
||||
|
|
@ -98,11 +100,6 @@ struct boss_brutallus : public BossAI
|
|||
if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0, 100.0f, true, true, -SPELL_BURN_DAMAGE))
|
||||
DoCast(target, SPELL_BURN);
|
||||
}, 20s);
|
||||
|
||||
me->m_Events.AddEventAtOffset([&] {
|
||||
DoCastSelf(SPELL_BERSERK, true);
|
||||
Talk(YELL_BERSERK);
|
||||
}, 6min);
|
||||
}
|
||||
|
||||
void KilledUnit(Unit* victim) override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue