Jhosef Posted June 5, 2012 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 299 Reputation: 5 Joined: 04/05/12 Last Seen: September 9, 2012 Share Posted June 5, 2012 I just want to to request a Hourly MOnster invasion Event Quote Link to comment Share on other sites More sharing options...
0 RCharles Posted June 5, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 154 Reputation: 10 Joined: 05/31/12 Last Seen: May 15, 2014 Share Posted June 5, 2012 Have you tried using search? http://rathena.org/board/topic/56903-customisable-monster-invasion-event/ However you could do your own following this simple script. -<TAB>script<TAB>Invasion<TAB>-1,{ OnInvasionStart: set .t, rand(getarraysize(.@map$)); set .cnt, 1; set .killed, .quan; announce "Monsters are invading town "+.map$[.t],0; announce "Wave #"+(.cnt)+" starts!",0; monster .map$[.t],0,0,"Invasion Monster",.mob[rand(getarraysize(.mob))],.quan,strnpcinfo(0)+"::OnInvasionKilled"; end; OnInvasionKilled: set .killed, .killed - 1; switch( .killed ) { case 0: break; default: mapannounce .map$[.t],"Monster left on map: "+.killed,0; end; } set .cnt, .cnt + 1; set .killed, .quan; if( .cnt > .wave ) { announce "The Invasion Boss shows himself!",0; monster .map$[.t],0,0,"Invasion Boss",.boss[rand(getarraysize(.boss))],1,strnpcinfo(0)+"::OnBossKilled"; end; } announce "Wave #"+(.cnt)+" starts!",0; monster .map$[.t],0,0,"Invasion Monster",.mob[rand(getarraysize(.mob))],.quan,strnpcinfo(0)+"::OnInvasionKilled"; end; OnBossKilled: announce strcharinfo(0)+" has ended the invasion in "+.map$[.t],0; getitem <item id>,<quantity>; end; OnInit: set .wave, 2; // Number of waves BEFORE the boss set .quan, 100; // Number of mobs spawned for each non-MVP wave setarray .boss[0],<mob id>,<mob id>; // Add all MVP IDs that you want to summon at random setarray .mob[0],<mob id>,<mob id>; // Add all the mob IDs that you want to summon at random setarray .map$[0],"prontera","morocc","aldebaran"; // Add all the map warps you want your invasion to take place at random } Quote Link to comment Share on other sites More sharing options...
0 ReSp Posted October 8, 2017 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 47 Reputation: 0 Joined: 10/23/15 Last Seen: Yesterday at 12:10 PM Share Posted October 8, 2017 On 05.06.2012 at 11:41 AM, RCharles said: Have you tried using search? http://rathena.org/board/topic/56903-customisable-monster-invasion-event/ However you could do your own following this simple script. -<TAB>script<TAB>Invasion<TAB>-1,{ OnInvasionStart: set .t, rand(getarraysize(.@map$)); set .cnt, 1; set .killed, .quan; announce "Monsters are invading town "+.map$[.t],0; announce "Wave #"+(.cnt)+" starts!",0; monster .map$[.t],0,0,"Invasion Monster",.mob[rand(getarraysize(.mob))],.quan,strnpcinfo(0)+"::OnInvasionKilled"; end; OnInvasionKilled: set .killed, .killed - 1; switch( .killed ) { case 0: break; default: mapannounce .map$[.t],"Monster left on map: "+.killed,0; end; } set .cnt, .cnt + 1; set .killed, .quan; if( .cnt > .wave ) { announce "The Invasion Boss shows himself!",0; monster .map$[.t],0,0,"Invasion Boss",.boss[rand(getarraysize(.boss))],1,strnpcinfo(0)+"::OnBossKilled"; end; } announce "Wave #"+(.cnt)+" starts!",0; monster .map$[.t],0,0,"Invasion Monster",.mob[rand(getarraysize(.mob))],.quan,strnpcinfo(0)+"::OnInvasionKilled"; end; OnBossKilled: announce strcharinfo(0)+" has ended the invasion in "+.map$[.t],0; getitem <item id>,<quantity>; end; OnInit: set .wave, 2; // Number of waves BEFORE the boss set .quan, 100; // Number of mobs spawned for each non-MVP wave setarray .boss[0],<mob id>,<mob id>; // Add all MVP IDs that you want to summon at random setarray .mob[0],<mob id>,<mob id>; // Add all the mob IDs that you want to summon at random setarray .map$[0],"prontera","morocc","aldebaran"; // Add all the map warps you want your invasion to take place at random } It dont write what nubmer wave and who killed boss and dont give him reward. Can you edit it please? Quote Link to comment Share on other sites More sharing options...
Question
Jhosef
I just want to to request a Hourly MOnster invasion Event
Link to comment
Share on other sites
2 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.