1. With this modification, you can set a time interval for respawning.
2. After disappearing/killing, the new respawn event will start.
3. The new spawn time will be set after the CHARACTER::Destroy() function.
On every level, the files boss.txt, npc.txt ... etc. must be supplemented with an interval column immediately after the respawn time.
You can also use 's', 'm', 'h' after the given value.
Example of a .txt file:
-Old:
m 804 830 1 1 0 0 10s 100 1 591
-New:
m 804 830 1 1 0 0 10s 10s 100 1 591
So if monster 591 is killed, it will respawn sometime between 10-20 seconds.
(Time does not run from direct killing, but from CHARACTER::Destroy() (CHARACTER::Destroy() == when something disappears (in the case of a killed monster, its corpse)))
Advanced_regen-main.zip