Jump to content
  • 0

can you chang script


Question

Posted

This script develops tools +20  I want him to do the +10 development only  I want to develop the tool +1+2+3+4+5+6+7+8+9+10

I don't want him to do the 10+ upgrade at once. Can anyone help me to edit this text?

refiner10.txt

1 answer to this question

Recommended Posts

  • 0
Posted
prontera,164,173,3	script	Refiner	826,{
	mes "^3355FF[%100 Refiner]^000000";
	mes "This Lets you refine your item to the max";
	mes " You Need "+.amount+"x "+getitemname(.item_id)+" to use my Service";
	next;
	mes "Choose the item to refine";
	mes "Choose Wisely";
	mes "Dont Ask For refine";
	mes "On GameMasters";
	mes "Think Before you refine an item";
	next;
	for (.@i = 0; .@i < .eqi_size; .@i++) {
		if (getequipid(.eqi[.@i]) != -1) 
			.@menu$ = .@menu$ + F_getpositionname(.eqi[.@i]) + " - " +getitemname(getequipid(.eqi[.@i]));
		.@menu$ += ":";
	}
	.@i = select(.@menu$) - 1;
	.@refine = getequiprefinerycnt(.eqi[.@i]);
	if (countitem(.item_id) < .amount) {
		mes "You didnt have enough "+.amount+"x "+getitemname(.item_id);
	}
	else if (.@refine >= 20) {
		mes "Your item already reached max refine.";
	}
	else {
		delitem .item_id, .amount;
		if (.@refine < 10) {
			successrefitem .eqi[.@i], (10 - .@refine);
		}
		else {
			successrefitem .eqi[.@i];
		}
		announce "["+strcharinfo(0)+"], Thanks for using my great service :)).", bc_self;
	}
	close;

OnInit:
	.item_id = 7179;
	.amount = 10;
	
	setarray .eqi,
		EQI_HEAD_TOP,
		EQI_HEAD_MID,
		EQI_HEAD_LOW,
		EQI_ARMOR,
		EQI_HAND_L,
		EQI_HAND_R,
		EQI_GARMENT,
		EQI_SHOES,
		EQI_ACC_L,
		EQI_ACC_R;
	.eqi_size = getarraysize(.eqi);
	end;
}

 

  • Upvote 1

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