fix(Scripts/Northrend): Add periodic CallForHelp to Sartharion (#25480)
This commit is contained in:
parent
5b22c8f16c
commit
a056db5bfd
1 changed files with 3 additions and 2 deletions
|
|
@ -310,6 +310,7 @@ struct boss_sartharion : public BossAI
|
|||
usedBerserk(false),
|
||||
below11PctReached(false)
|
||||
{
|
||||
callForHelpRange = 500.0f;
|
||||
}
|
||||
|
||||
void Reset() override
|
||||
|
|
@ -404,8 +405,6 @@ struct boss_sartharion : public BossAI
|
|||
DoCastSelf(SPELL_WILL_OF_SARTHARION, true);
|
||||
instance->DoAction(ACTION_START_PATROL);
|
||||
}
|
||||
|
||||
me->CallForHelp(500.0f);
|
||||
}
|
||||
|
||||
void JustDied(Unit* /*killer*/) override
|
||||
|
|
@ -569,6 +568,8 @@ struct boss_sartharion : public BossAI
|
|||
// Handle Sartharion combat abilities
|
||||
events.Update(diff);
|
||||
|
||||
scheduler.Update(diff);
|
||||
|
||||
if (me->HasUnitState(UNIT_STATE_CASTING))
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue