Jump to content
  • 0

Help with ticket refiner


Giant Whisper

Question


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  190
  • Reputation:   3
  • Joined:  04/11/12
  • Last Seen:  

Hi guys, I'm using the Euphy script "Ticket Refiner". Is it possible to change it so that to get +5 = I need a +4 weapon and a (guaranteed refinement ticket +5). and if I want +6 my weapon +5 I would need a refined ticket +6.

At this time, the script simply refines the ticket number. means that I have a +4 weapon and a +9 = +9 ticket instantly

I want it to be +4 -> + 5 -> + 6 -> + 7 -> + 8 -> + 9

Thank you very much

ticket_refiner.txt

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

only some hints, you can do the rest

setarray .tickets[0],5,6235,
                6,6234,
                7,6233,
                8,6232;

.@pos = EQI_HEAD_TOP;
.@ref = getequiprefinerycnt(.@pos);

disable_items();
//add some var to store equip data for F_IsEquipRefineHack

for (.@i = 0; .@i < getarraysize(.tickets); .@i+=2) {
    if (.@ref == .tickets[.@i] && countitem(.tickets[.@i+1]) > 0) {
        callsub(OnRefine,.@pos,.tickets[.@i+1]);
        break;
    }
}
end;

OnRefine:
    // callfunc F_IsEquipRefineHack, ....
    delitem(getarg(1),1);
    successrefitem(getarg(0),1);
end;
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  190
  • Reputation:   3
  • Joined:  04/11/12
  • Last Seen:  

Thanks Cydh

 

consult now how you could do so that refining is not 100% successful

 

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