fix(Scripts/Northrend): Add periodic CallForHelp to Sartharion (#25480)

This commit is contained in:
sogladev 2026-04-16 15:00:12 +02:00 committed by GitHub
parent 5b22c8f16c
commit a056db5bfd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;