kamoteka Posted December 3, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 31 Reputation: 0 Joined: 08/29/12 Last Seen: February 20, 2023 Share Posted December 3, 2012 How can i add delay on LHZ respawn? when i refresh my server, it will automatically spawn after 2hours. Quote Link to comment Share on other sites More sharing options...
Brian Posted December 3, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted December 3, 2012 trunk/npc/re/mobs/dungeons/lhz_dun.txt (if you're not using Renewal, then edit the file in /npc/pre-re/) Move the OnInit labels like so: Index: npc/re/mobs/dungeons/lhz_dun.txt =================================================================== --- npc/re/mobs/dungeons/lhz_dun.txt (revision 16991) +++ npc/re/mobs/dungeons/lhz_dun.txt (working copy) @@ -72,7 +72,6 @@ OnTimer6000000: // delay1 = 6000000 ms (100 min) stopnpctimer; sleep rand(0,30)*60000; // 0 to 30 minutes -OnInit: // Select Coordinates to summon a random MVP on switch(rand(1,6)) { case 1: set .@x,140; set .@y,232; break; @@ -100,6 +99,7 @@ OnMyMVPDead: killmonster "lhz_dun03",strnpcinfo(3)+"::OnMy99Dead"; +OnInit: initnpctimer; OnMy99Dead: end; @@ -127,7 +127,6 @@ OnTimer6000000: // delay1 = 6000000 ms (100 min) stopnpctimer; sleep rand(0,30)*60000; // 0 to 30 minutes -OnInit: // Select Coordinates to summon a random MVP on switch(rand(1,7)) { case 1: set .@x,77; set .@y,251; break; @@ -157,6 +156,7 @@ OnMyMVPDead: killmonster "lhz_dun04",strnpcinfo(3)+"::OnMy99Dead"; +OnInit: initnpctimer; OnMy99Dead: end; Quote Link to comment Share on other sites More sharing options...
Question
kamoteka
How can i add delay on LHZ respawn? when i refresh my server, it will automatically spawn after 2hours.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.