Jump to content
  • 0

Miner Script


SlashGeeGee

Question


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

Hello rAthena :)

I would like to request you to modify this script by goddameit

Modification :

Set Time Limit per day

Make an NPC to Warp in the Mining Field before warp get item 6010,5009

Warps back to Prontera and get the items for mining if the time limit is done.

Change Items to ID : 6223 , 6224 , 6225 , 6226 with a chance of 10%

here's the script :

function script Minner {
if(getarg(0)==2){
undisguise;
if(strcharinfo(3)=="ordeal_1-1"){warp "SavePoint",0,0;}
end;
}
if(getarg(0)==1&&strcharinfo(3)=="ordeal_1-1"){
if(getequipid(4)!=6010||getequipid(1)!=5009){end;}
set .@r,rand(1,1000);
if(.@r<700){
getitem 1002,1;
}
if(.@=700&&.@r<990){
getitem 757,1;
}
if(.@=990){
getitem 756,1;
}
specialeffect2 154;
end;
}
bonus bAspd,-30;
bonus bCritical,100;
bonus bAtkRate,-100;
if(getequipid(1)==5009)
disguise 1169;
else{
undisguise;
}
return;
}
- script Minnerx -1,{
OnDo:
callfunc "Minner",1;
end;

OnLill:
set .@t,1;

OnInit:
if(!.@t)set .@t,100;
monster	 "ordeal_1-1",0,0,"--ja--",1907,.@t,"Minnerx::OnLill";
end;
}

here's the item_db for pickaxe :

6010,Pickaxe,Pickaxe,4,10,,10,10,,1,0,0xFFFFFFFF,7,0,34,0,0,0,0,{ callfunc "Minner",0; set @i$,"Minnerx::OnDo"; autobonus "{ doevent @i$; }",10000,1,BF_WEAPON; },{},{callfunc "Minner",2;}

i tried to change the map to ordeal_1-1 but it gives me errors :

EDIT : the default map supposed to be in manuk /no1

16h5iqx.jpg

Thanks for Helping :D

SlasGeeGee

BUMP ! Anyone ?

Anyone there willing to help ? ;)

BUMP !

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  9
  • Reputation:   0
  • Joined:  05/11/12
  • Last Seen:  

that is also my problem

damp that script

haha!

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