mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-16 00:36:07 +00:00
feat(Core/SmartScripts): Implement Scripted Spawn System (#19499)
* prespawn2 * pfta * Update rev_1717715555182000500.sql * Update rev_1717715555182000500.sql * Update rev_1717715555182000500.sql * Update rev_1717715555182000500.sql * Update rev_1717715555182000500.sql * Update rev_1717715555182000500.sql
This commit is contained in:
@@ -207,6 +207,9 @@ public:
|
||||
|
||||
void PathEndReached(uint32 pathId) override;
|
||||
|
||||
bool CanRespawn() override { return mcanSpawn; };
|
||||
void SetCanRespawn(bool canSpawn) { mcanSpawn = canSpawn; }
|
||||
|
||||
// Xinef
|
||||
void SetWPPauseTimer(uint32 time) { mWPPauseTimer = time; }
|
||||
|
||||
@@ -249,6 +252,8 @@ private:
|
||||
uint32 mEscortInvokerCheckTimer;
|
||||
bool mJustReset;
|
||||
|
||||
bool mcanSpawn;
|
||||
|
||||
// Xinef: Vehicle conditions
|
||||
void CheckConditions(const uint32 diff);
|
||||
ConditionList conditions;
|
||||
|
||||
Reference in New Issue
Block a user