Jump to content
  • 0

Refine NPC


Question

Posted

Hye, may I ask help for this script?

quiz_02,346,80,3	script	Perfect Refiner	63,{
mes "[Perfect Refiner]";
mes "Hi,I can Refine your";
mes "Equipment to +10";
next;
switch(select("I want a Refine:Nothing")) {
case 1:
mes "[Perfect Refiner]";
mes "Okay I'm going";
mes "to refine your Equipment";
mes "to +10,Thanks for using my Service!";
next;
for(set @part,1;@part<11;set @part,@part+1)
if(getequipisequiped(@part))
while(getequiprefinerycnt(@part) < 10)
successrefitem @part;
mes "[Perfect Refiner]";
mes "Congrats Enjoy it!";
close;
end;
case 2:
mes "[ Perfect Refiner ]";
mes "Okay,come back when you need me.";
close;
}
}

Help me to add some more funcion..

- Above script will refine all equipments. But I need the script ask a player which part need to refine and only these parts can be refined :

Head, Head 2, Head 3, Body, Left hand, Right hand, Robe & Shoes

- Player can select if they want to refine straight to +10 or +1 at a time.

2 answers to this question

Recommended Posts

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...