Jump to content
  • 0

another request


Question

Posted

How to check the refine on item..

example

mes "Hello do you want to warp?";

next;

switch(select("Yes:No")){

case 1:

Check the item + example when the item is +7 and up goto warp. but when the item is +7 below goto sorry..

anyone can make this?

2 answers to this question

Recommended Posts

Posted
*getequiprefinerycnt(<equipment slot>)

Returns the current number of pluses for the item in the specified equipment
slot. For a list of equipment slots see 'getequipid'.

Can be used to check if you have reached a maximum refine value, default for
this is +10:

    if(getequiprefinerycnt(EQI_HEAD_TOP) < 10) goto L_Refine_HeadGear;
    mes "Sorry, it's not possible to refine hats better than +10";
    close;
   L_Refine_HeadGear:
    mes "I will now upgrade your "+getequipname(EQI_HEAD_TOP);

Posted

XkAcy- there is a document called trunk/doc/script_comands.txt that breaks down all the script commands for you! If you just search the for whatever you need it should help out. In your case just search for refine and you will see all the commands that relate to refining.

Peopleperson49

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