fix(Scripts/Magtheridon): update scheduler before UpdateVictim check (#25379)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Andrew 2026-04-05 16:10:47 -03:00 committed by GitHub
parent b00b424d63
commit 030006dd57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -242,10 +242,11 @@ struct boss_magtheridon : public BossAI
void UpdateAI(uint32 diff) override
{
scheduler.Update(diff);
if (!UpdateVictim())
return;
scheduler.Update(diff);
_interruptScheduler.Update(diff);
if (_currentPhase != 1 && !_castingQuake)