Jump to content

2Wire

Members
  • Posts

    3
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by 2Wire

  1. After:

    getitem 675, 3, .@partymemberaid[ rand( .@c ) ];

    add:

    if (rand(1,10) == 5) { getitem item_id, item_qty, .@partymemberaid[ rand( .@c ) ]; }

     

    After:

    getitem 675, 3;

    add:

    if (rand(1,10) == 5) { getitem item_id, item_qty; }

     

    So you'll have 1/10 (10%) chance to get that item.

    • Upvote 2
  2. You need to modify this line:

    monster .eventmap$,0,0, "--ja--", .mvpid[.round], 1, strnpcinfo(0)+"::OnMvpDead";

    to

    monster .eventmap$,0,0, "--ja--", .mvpid[.round], <your qty>, strnpcinfo(0)+"::OnMvpDead";

    where <your qty> is the amount of MVP that you want to spawn.

     

    Also change this:

    OnMvpDead:
    	getpartymember .party_id, 1;
    	getpartymember .party_id, 2;

    to

     

    OnMvpDead:
            if (mobcount(.eventMap$,strnpcinfo(0)+"::OnMvpDead") > 0) { end; }
    	getpartymember .party_id, 1;
    	getpartymember .party_id, 2;

    so you only finish the round when all the spawned monsters are dead.

    • Upvote 1
  3. Hello everyone, i need some help. My problems are:

     

    1) I'm using 2013-08-07 ragexe and every time i log in my server, the pin code window starts to move randomly.

     

    2) When i log in the server with an account with all char slots used (12 in my server), it takes a looooooong time to pass the char selection window. But if i log in with an account with 2 or 3 chars, this problem don't happen.

     

    Thanks in advance. /oops

×
×
  • Create New...