Jump to content
  • 0
jmsngls

Req>Sure +10 on Weap +7 on armors with 5 pods

Question

Can someone please give me a script like Refiner that you have to pay for 5 PODs to make one of your Armor/Weap sure upgrade

5PODs

sure +10 on Weapons

sure +7 on Armors (no midgear, lower gear, accessory)

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

edit this.

prontera,144,164,4	script	TCG Refiner 1~7	707,{

mes "What item do you want to be refined?";
next;
set @refine,.equip_part[select(getequipname(.equip_part[0]),
				getequipname(.equip_part[1]),
				getequipname(.equip_part[2]),
				getequipname(.equip_part[3]),
				getequipname(.equip_part[4]),
				getequipname(.equip_part[5]),
//				getequipname(.equip_part[6]),
//				getequipname(.equip_part[7]),
//				getequipname(.equip_part[8]),
				getequipname(.equip_part[9]))-1];

if(countitem(7227) < 2) {
mes "You are missing:";
mes ""+((countitem(7227) < 2)?"2 TCG Cards":"")+"";
close;
}
if(getequiprefinerycnt(@refine) >= 7) {
mes "+7 Item cannot be refined anymore.";
close;
}
else {
delitem 7227,2;
successrefitem @refine;
mes "Clang Clang! Success!";
close;
}

OnInit:
	setarray .equip_part[0],1,2,3,4,5;
}

 

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, HappyMan said:

edit this.

prontera,144,164,4	script	TCG Refiner 1~7	707,{

mes "What item do you want to be refined?";
next;
set @refine,.equip_part[select(getequipname(.equip_part[0]),
				getequipname(.equip_part[1]),
				getequipname(.equip_part[2]),
				getequipname(.equip_part[3]),
				getequipname(.equip_part[4]),
				getequipname(.equip_part[5]),
//				getequipname(.equip_part[6]),
//				getequipname(.equip_part[7]),
//				getequipname(.equip_part[8]),
				getequipname(.equip_part[9]))-1];

if(countitem(7227) < 2) {
mes "You are missing:";
mes ""+((countitem(7227) < 2)?"2 TCG Cards":"")+"";
close;
}
if(getequiprefinerycnt(@refine) >= 7) {
mes "+7 Item cannot be refined anymore.";
close;
}
else {
delitem 7227,2;
successrefitem @refine;
mes "Clang Clang! Success!";
close;
}

OnInit:
	setarray .equip_part[0],1,2,3,4,5;
}

 

It's upgrading even mid gear and lower gear, accessories.

and was looking for instant upgrade to +7 for armor and +10 for weapons in one payment

Edited by jmsngls

Share this post


Link to post
Share on other sites
  • 0
On 2/20/2017 at 9:25 PM, jmsngls said:

It's upgrading even mid gear and lower gear, accessories.

and was looking for instant upgrade to +7 for armor and +10 for weapons in one payment

here

//===== rAthena Script ======================================= 
//= Ticket Refiner
//===== By: ==================================================
//= Euphy
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= [Official Conversion]
//= Refiner that uses +5~9/+11 refine tickets to refine
//= equipment with no chance of failure.
//= NOTE: This NPC is currently disabled on official servers.
//===== Additional Comments: =================================
//= 1.0 First version. [Euphy]
//= 1.1 Do not refine above ticket level. [Euphy]
//============================================================

// Main NPC :: safety_Ref_NPC
//============================================================
Flaris,127,110,4	script	Refine Master	851,{
	disable_items;
	if (countitem(6238) || countitem(6228) || countitem(6229) || countitem(6230) || countitem(6231) || countitem(6456))
		set [email protected],1;
	if (countitem(6239) || countitem(6232) || countitem(6233) || countitem(6234) || countitem(6235) || countitem(6457))
		set [email protected],1;
	if ([email protected] && [email protected]) {
		mes "[Refine Master]";
		mes "Hello!";
		mes "What's up?";
		mes "I'm a specialist";
		mes "for refining items,";
		mes "but I don't work anymore.";
		next;
		switch(select("I'll go on my way.:Hmm... this makes me curious.")) {
		case 1:
			mes "[Refine Master]";
			mes "Take care, adventurer.";
			close;
		case 2:
			mes "[Refine Master]";
			mes "Actully, I sometimes provide refine services for adventurers with a ^006400Refine Ticket^000000...";
			mes "Bye bye~!";
			close;
		}
	}
	emotion e_gasp;
	mes "[Refine Master]";
	mes "Greetings!";
	mes "I can refine an item up to the ^006400same level as your ticket^000000.";
	mes "You don't have to worry! There's no chance of breaking your item.";
	next;
	if(select("I'll come back later.:Refine item with ticket.") == 1) {
		mes "[Refine Master]";
		mes "Okay.";
		mes "You can come again later.";
		close;
	}
	mes "[Refine Master]";
	mes "Which equipment would you like to refine?";
	next;
	setarray [email protected]$[1],"Head upper","Armor","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head middle","Head lower";
	setarray [email protected][1], EQI_HEAD_TOP, EQI_ARMOR, EQI_HAND_L, EQI_HAND_R, EQI_GARMENT, EQI_SHOES, EQI_ACC_L, EQI_ACC_R, EQI_HEAD_MID, EQI_HEAD_LOW;
	for(set [email protected],1; [email protected]<=10; set [email protected],[email protected]+1)
		set [email protected]$, [email protected]$+((getequipisequiped([email protected][[email protected]]))?getequipname([email protected][[email protected]]):[email protected]$[[email protected]]+"- [Empty]")+":";
	set [email protected], [email protected][ select([email protected]$) ];
	if (!getequipisequiped([email protected])) {
		mes "[Refine Master]";
		mes "You have to equip the item you want to refine.";
		close;
	}
	if (!getequipisenableref([email protected])) {
		emotion e_otl;
		mes "[Refine Master]";
		mes "Oh, I'm sorry.";
		mes "This item is impossible to refine.";
		close;
	}
	switch(getequipweaponlv([email protected])) {
	default:
	case 0:
		setarray [email protected][0],6457,6235,6234,6233,6232,6239;
		setarray [email protected][0],5,6,7,8,9,11;
		set [email protected]$,"Armor";
		set [email protected],[email protected];
		break;
	case 1:
	case 2:
	case 3:
	case 4:
		setarray [email protected][0],6456,6231,6230,6229,6228,6238;
		setarray [email protected][0],5,6,7,8,9,11;
		set [email protected]$,"Weapon";
		set [email protected],[email protected];
		break;
	}
	if ([email protected]) {
		emotion e_dots;
		mes "[Refine Master]";
		mes "If you want to refine this ^006400"[email protected]$+"^000000, please come along with ^006400"[email protected]$+" Refine Ticket^000000.";
		mes "See you later!";
		close;
	}
	mes "[Refine Master]";
	mes "Please choose which ^006400"[email protected]$+" Refine Ticket^000000 you want to use.";
	next;
	set [email protected]$,"";
	for(set [email protected],0; [email protected]<getarraysize([email protected]tickets); set [email protected]i,[email protected]i+1)
		set [email protected]menu$, [email protected]menu$+getitemname([email protected]tickets[[email protected]i])+":";
	set [email protected]select, select([email protected]menu$)-1;
	set [email protected]ticket_lv, [email protected]levels[[email protected]select];
	set [email protected]ticket_id, [email protected]tickets[[email protected]select];
	if (countitem([email protected]ticket_id) == 0) {
		emotion e_what;
		mes "[Refine Master]";
		mes getitemname([email protected]ticket_id)+" is not in your inventory. Did you put it in your storage?";
		mes "Please check again.";
		mes "See you later!";
		close;
	}
	if (getequiprefinerycnt([email protected]part) >= [email protected]_lv) {
		emotion e_swt2;
		mes "[Refine Master]";
		mes "^8B4513This item is already refined as much as your deed.^000000";
		mes "Please come along with an item refined less than your ticket.";
		close;
	}
	mes "[Refine Master]";
	mes "I'm going to refine ^006400"+getequipname([email protected])+"^8B4513 up to the +"[email protected]_lv+" level^000000 with ^006400"+getitemname([email protected]_id)+"^000000.";
	mes "May I proceed?";
	next;
	if(select("No.:Yes.") == 1) {
		emotion e_dots;
		mes "[Refine Master]";
		mes "Oh, you changed your mind.";
		mes "Ok.";
		mes "You can come back later.";
		close;
	}
	mes "[Refine Master]";
	mes "Great.";
	mes "As you wish!";
	mes "I have my own special way to refine...";
	mes ".......ka boom!";
	specialeffect EF_SUI_EXPLOSION;
	if (countitem([email protected]_id))
		delitem [email protected]_id,1;
	else {
		next;
		mes "Error!";
		mes "Please report this.";
		close;
	}
	successrefitem [email protected], [email protected]_lv - getequiprefinerycnt([email protected]);
	next;
	emotion e_ho;
	mes "[Refine Master]";
	mes "Alright, here it is~";
	mes "Well, ^0000FF"+strcharinfo(0)+"^000000!";
	mes "Congratulations on your shining "[email protected]$+".";
	mes "You look GREAT!";
	mes "Farewell~!";
	close;
OnInit:
  waitingroom "REFINE MASTER!",0;
  end;
}

edit it.

Edited by HappyMan

Share this post


Link to post
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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.