Jump to content
  • 0

R> Custom Invasion


Yonko

Question


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

hi there, i want to request a custom invasion here's the script scenario

every 7pm there's an invasion in a random town then it consist of 50 mobs and after killing 50 mobs 1 boss will spawn and after the boss killed the named of player killed will be announce thanks ! more power rathena

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

-    script    Invasion    -1,{
OnHour19:
   setarray .@Towns$[0],"prontera","alberta","payon","geffen"; // Random town list
   set .map$, .@Towns$[rand(getarraysize(.@Towns$))];
   set .@mob, 1002; // Mob ID
   set .count, 50; // Mob count
   monster .map$,0,0,strmobinfo(1,.@mob),.@mob,.count,strnpcinfo(0)+"::OnMobDead";
   end;
OnMobDead:
   set .count, .count-1;
   if (!.count) {
       set .@mob, 1090; // Boss ID
       monster .map$,0,0,strmobinfo(1,.@mob),.@mob,1,strnpcinfo(0)+"::OnMobDead2";
   }
   end;
OnMobDead2:
   announce strcharinfo(0)+" has killed the boss!",0;
   end;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

thank you i just have one question regards that how can i change the size of the mobs like @monsterbig <mob> and so forth in the script?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...