mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-29 02:02:17 +00:00
Added Spawn object to lua and functions to manipulate them
This commit is contained in:
1 parent
0dc66b3dd7
commit
b904689a98
11 files changed
+518
-11
No files matched your search
+2
-2
@@ -64,8 +64,6 @@ public:
|
||||
uint32 CurrentNPCID() { return currentnpcid; }
|
||||
void SetCurrentNPCID(uint32 nid) { currentnpcid = nid; }
|
||||
uint32 GetSpawnCondition() { return condition_id; }
|
||||
uint32 spawn2_id;
|
||||
uint32 respawn_;
|
||||
|
||||
bool NPCPointerValid() { return (npcthis!=nullptr); }
|
||||
void SetNPCPointer(NPC* n) { npcthis = n; }
|
||||
@@ -75,6 +73,8 @@ protected:
|
||||
friend class Zone;
|
||||
Timer timer;
|
||||
private:
|
||||
uint32 spawn2_id;
|
||||
uint32 respawn_;
|
||||
uint32 resetTimer();
|
||||
uint32 despawnTimer(uint32 despawn_timer);
|
||||
|
||||
|
||||
Reference in new issue
Block a user