Jhosef Posted June 5, 2012 Posted June 5, 2012 I just want to to request a Hourly MOnster invasion Event Quote
0 RCharles Posted June 5, 2012 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
0 ReSp Posted October 8, 2017 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
Question
Jhosef
I just want to to request a Hourly MOnster invasion Event
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.