fix(Scripts/TheEye): make sure schedules are cancelled when advisors die in p1 (#18592)
init
This commit is contained in:
parent
1198766afa
commit
482f4c94ff
1 changed files with 4 additions and 0 deletions
|
|
@ -821,6 +821,7 @@ struct npc_lord_sanguinar : public ScriptedAI
|
|||
_hasDied = true;
|
||||
}
|
||||
}
|
||||
scheduler.CancelAll();
|
||||
}
|
||||
|
||||
void UpdateAI(uint32 diff) override
|
||||
|
|
@ -909,6 +910,7 @@ struct npc_capernian : public ScriptedAI
|
|||
_hasDied = true;
|
||||
}
|
||||
}
|
||||
scheduler.CancelAll();
|
||||
}
|
||||
|
||||
void UpdateAI(uint32 diff) override
|
||||
|
|
@ -972,6 +974,7 @@ struct npc_telonicus : public ScriptedAI
|
|||
_hasDied = true;
|
||||
}
|
||||
}
|
||||
scheduler.CancelAll();
|
||||
}
|
||||
|
||||
void UpdateAI(uint32 diff) override
|
||||
|
|
@ -1058,6 +1061,7 @@ struct npc_thaladred : public ScriptedAI
|
|||
_hasDied = true;
|
||||
}
|
||||
}
|
||||
scheduler.CancelAll();
|
||||
}
|
||||
|
||||
void UpdateAI(uint32 diff) override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue