kamoteka Posted December 3, 2012 Posted December 3, 2012 How can i add delay on LHZ respawn? when i refresh my server, it will automatically spawn after 2hours. Quote
Brian Posted December 3, 2012 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
Question
kamoteka
How can i add delay on LHZ respawn? when i refresh my server, it will automatically spawn after 2hours.
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.