Jump to content
  • 0

another request


XkAcY-

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  103
  • Reputation:   0
  • Joined:  11/13/11
  • Last Seen:  

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?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  292
  • Reputation:   17
  • Joined:  12/12/11
  • Last Seen:  

*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);

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

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

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