Eros Posted November 30, 2014 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 202 Reputation: 2 Joined: 07/09/12 Last Seen: June 7, 2023 Share Posted November 30, 2014 lhz_dun03,0,0,0 script mvp_lhz_dun03 -1,{ OnTimer1000: // delay1 = 6000000 ms (100 min) stopnpctimer; sleep rand(0,1)*1000; // 0 to 1 minutes OnInit: // Select Coordinates to summon a random MVP on switch(rand(1,6)) { case 1: set .@x,140; set .@y,232; break; case 2: set .@x,75; set .@y,138; break; case 3: set .@x,140; set .@y,87; break; case 4: set .@x,205; set .@y,140; break; case 5: set .@x,123; set .@y,137; break; case 6: set .@x,175; set .@y,137; break; } set .@mob,rand(1646,1651); monster "lhz_dun03",.@x,.@y,strmobinfo(1,.@mob),.@mob,1,strnpcinfo(3)+"::OnMyMVPDead"; // Select Coordinates to summon a random 99 on switch(rand(1,6)) { case 1: set .@x2,183; set .@y2,97; break; case 2: set .@x2,97; set .@y2,96; break; case 3: set .@x2,47; set .@y2,139; break; case 4: set .@x2,231; set .@y2,140; break; case 5: set .@x2,139; set .@y2,211; break; case 6: set .@x2,139; set .@y2,259; break; } set .@mob2,rand(1640,1645); monster "lhz_dun03",.@x2,.@y2,strmobinfo(1,.@mob2),.@mob2,1,strnpcinfo(3)+"::OnMy99Dead"; end; OnMyMVPDead: killmonster "lhz_dun03",strnpcinfo(3)+"::OnMy99Dead"; initnpctimer; OnMy99Dead: end; } What i want is i want that lhz monster will respawn automatically when the monster die Quote Link to comment Share on other sites More sharing options...
Eros Posted December 1, 2014 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 202 Reputation: 2 Joined: 07/09/12 Last Seen: June 7, 2023 Author Share Posted December 1, 2014 Help. Quote Link to comment Share on other sites More sharing options...
Nerfwood Posted December 1, 2014 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 104 Reputation: 27 Joined: 12/05/13 Last Seen: August 26, 2015 Share Posted December 1, 2014 Are you sure the script isn't working? A random MVP spawns at random locations, so you should use @mobsearch or @mapmoblist (if you have it). Quote Link to comment Share on other sites More sharing options...
Eros Posted December 2, 2014 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 202 Reputation: 2 Joined: 07/09/12 Last Seen: June 7, 2023 Author Share Posted December 2, 2014 Yeah it's not working. Quote Link to comment Share on other sites More sharing options...
Nerfwood Posted December 2, 2014 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 104 Reputation: 27 Joined: 12/05/13 Last Seen: August 26, 2015 Share Posted December 2, 2014 (edited) It's working fine.. just tested it.Take note that there can only be one MVP spawned within a certain time (in this script), so use @mobsearch 1646 ~ 1651 after you killed one MVP. http://rathena.org/board/pastebin/1mo7c9hh5kv27/ Edited December 2, 2014 by Nerfwood Quote Link to comment Share on other sites More sharing options...
Question
Eros
What i want is i want that lhz monster will respawn automatically when the monster die
Link to comment
Share on other sites
4 answers 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.