Jump to content
  • 0

Help with ticket refiner


Question

Posted

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

2 answers to this question

Recommended Posts

  • 0
Posted

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;

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