Jump to content
  • 0

+1 refiner


cadz

Question


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

hi i would like to request a refine that you need premium ticket for addtional +1 refine like example i have +7 weapon i got prem ticket then i talk to the refiner he will +1 my weapon 100% nothing more. thanks and more power to the scripters!

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

trunk/npc/re/merchants/ticket_refiner.txt

(disabled by default; you have to enable it manually)

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

	set .@ticket, ITEM_ID;

if (!countitem(.@ticket)) {

mes "[Premium Refiner]";

mes "You need a Premium Ticket to continue.";

close;

}

mes "[Premium Refiner]";

mes "Is there anything you want to refine?";

next;

// Create equip menu.

setarray .@position$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3";

set .@menu$,"";

for(set .@i,1; .@i<=10; set .@i,.@i+1) {

if (getequipisequiped(.@i))

set .@menu$, .@menu$+.@position$[.@i]+" ~ "+getequipname(.@i);

set .@menu$, .@menu$+":";

}

set .@part, select(.@menu$);

// Check if the item is refinable (delete this section if you don't need it).

if (!getequipisenableref(.@part)) {

mes "[Premium Refiner]";

mes "This item is not refinable.";

close;

}

// Check if the item is over the max refine (+20).

if (getequiprefinerycnt(.@part) > 20) {

mes "[Premium Refiner]";

mes "I can't refine this item any higher!";

close;

}

mes "[Premium Refiner]";

mes "Are you sure you want to refine "+getequipname(.@part)+"?";

next;

if(select("Yes, go on.:Wait a second...") == 2)

close;

mes "[Premium Refiner]";

mes "All done! Enjoy!";

delitem .@ticket,1;

successrefitem .@part;

close;

It's pretty basic; refer to the documentation (trunk/doc/script_commands.txt) if you have questions about any of the commands.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

thanks euphy /no1



euphy i for got how to add the refine deeds? like if
+11 +10 + 9 armor refined deeds and armor?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  390
  • Reputation:   27
  • Joined:  07/12/12
  • Last Seen:  

Thanks!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

thanks

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