mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
fix(Scripts/TheEye): make sure schedules are cancelled when advisors die in p1 (#18592)
init
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user