Jump to content
  • 0

Refine Ticket


Brynner

Question


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

i just want this +6 Armor Refine Ticket will be usable. if you use it. it will ask you which item you want to safe refine. after you choose it will refine it to +6 without failed. it will consume the +6 Armor Refine Ticket if it was successfully refine. thanks in advance.

Item ID# 6235 (Guarantee_Armor_6Up)

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  163
  • Reputation:   7
  • Joined:  01/07/12
  • Last Seen:  

Maybe like this

function    script    refinesix    {

switch(select("Upper Headgear:Armor:Garment:Foot Gear")) {
    case 1:
    set .@refsel1,1;
    set .@refsel2,256;
    break;
    case 2:
    set .@refsel1,2;
    set .@refsel2,16;
    break;
    case 3:
    set .@refsel1,5;
    set .@refsel2,4;
    break;
    case 4:
    set .@refse1l,6;
    set .@refsel2,64;
    break;
    }
    if (getequiprefinerycnt(.@refsel1) < 1){
    atcommand "@refine "+.@refsel2+" 6";
    }
    
    end;
}

and at item_db

{ callfunc "refinesix"; }

tested and worked

Edited by nobukadnezar
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...