mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 14:36:37 +00:00
[Feature] Add optional is_forced parameter to Zone::Repop (#4046)
* [Feature] Add optional `is_force` parameter to Zone::Repop # Perl - Add `quest::repopzone(is_force)`. # Lua - Add `eq.repop_zone(is_force)`. # Commands - Cleanup `#repop` to use new parameter in `Zone::Repop`. # Notes - Allows operators to forcefully repop a zone without using a second method to clear the respawn timers. * is_forced * Update repop.cpp * Update repop.cpp
This commit is contained in:
+1
-1
@@ -105,7 +105,7 @@ public:
|
||||
void depop_withtimer(int npc_type = 0); // depop NPC and start spawn timer
|
||||
void depopall(int npc_type = 0);
|
||||
void depopzone(bool StartSpawnTimer = true);
|
||||
void repopzone();
|
||||
void repopzone(bool is_forced = false);
|
||||
void processmobswhilezoneempty(bool quest_override_on);
|
||||
void settarget(const char *type, int target_id);
|
||||
void follow(int entity_id, int distance);
|
||||
|
||||
Reference in New Issue
Block a user