Jump to content
  • 0

Monster Spawn


Nokia

Question


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   5
  • Joined:  12/28/11
  • Last Seen:  

Hi, i just wanna ask an easy way to make the monster spawn via npc 2x / 3x etc, the spawn should be turn back normal after a hour or something, example:

menu "start double spawn" / "end double spawn"

maybe for regions, like start double spawn in morroc region etc. is this possible? if yes, how?

bump

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  117
  • Reputation:   8
  • Joined:  05/07/12
  • Last Seen:  

// Rate of monsters on a map, 200 would be twice as many as normal. (Note 2)

mob_count_rate: 100

thats in monster.conf, not sure if you can change it via scripts.. maybe you can do it with:

http://rathena.org/wiki/Setbattleflag

like: SetBattleFlag "mob_count_rate", 200; for double spawns

Edited by Docubo
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   5
  • Joined:  12/28/11
  • Last Seen:  

tried that, but not working at all.. i think it does not work without reloading scripts..

prontera,155,178,4 script Double Monster 727,{
mes "[Monster Spawn]";
mes "Hello! What would you like to do?";
switch(select("Start the Event:Stop Event:")){
case 1:
initnpctimer;
announce "Monster Spawn has been increased to 200% for 1 hour!",bc_all,"0x70dbdb";
setbattleflag "mob_count_rate",200;
atcommand "@reloadbattleconf";
close;
case 2:
goto L_STOP;
OnTimer3600000: // After 1 hour
L_STOP:
stopnpctimer;
setbattleflag "mob_count_rate",100;
announce "Double Monster Spawn Event has ended.",bc_all,"0x70dbdb";
atcommand "@reloadbattleconf";
close;
OnInit:
stopnpctimer;
setbattleflag "mob_count_rate",100;
end;
}
}

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...