Jump to content
  • 0

Wandering Poring


EL Dragon

Question


  • Group:  Members
  • Topic Count:  86
  • Topics Per Day:  0.02
  • Content Count:  591
  • Reputation:   146
  • Joined:  06/19/12
  • Last Seen:  

I have a script found

-    script    poringbind    -1,{
OnInit:
    unbindatcmd "poring";
    bindatcmd("poring","poringbind::OnAtcommand",20,90);
    end;
    
OnAtcommand:
if(getgroupid() < 20) { end; }
set @map$,.@atcmd_parameters$[0];
 
 
if(@map$ == "") {
dispbottom "Syntax: @poring <mapname>";
dispbottom "Five Porings will spawn on the map you choose. Recommended usage for this event is 3-5 times per day.";
dispbottom "NOTE: Do NOT use capitals in the map name otherwise no Poring will spawn!";
end;
}
 
monster @map$,0,0,"Wandering Poring",1002,5,"poringbind::OnKill";
announce "[Wandering Poring] : 5x Wandering Porings have been sighted on the map: "+@map$+". The first person to find and kill each will receive an award!",0;
end;
 
OnKill:
// Update Here!
set .@prize,rand(1,5);
announce "[Wandering Poring] : "+strcharinfo(0)+" has captured a Wandering Poring on the map "+strcharinfo(3)+"!",0;
// Syntax: Item ID / Quantity
if(.@prize == 1) { getitem 501,1; }
if(.@prize == 2) { getitem 502,1; }
if(.@prize == 3) { getitem 503,1; }
if(.@prize == 4) { getitem 504,1; }
if(.@prize == 5) { getitem 505,1; }
// 25 Poring Coins Base Prize
getitem 7539,25;
end;
 
}

the problem is it does not go with Rathena

 

hope you can help me...

 

original post:  http://hercules.ws/board/topic/1734-wandering-poring-v10/

 

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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