• 0
Sign in to follow this  
cadz

request script

Question

hi is there anyone can help me how to add script in default stats resetter

 

if your level 50 below free stats and skill reset thanks in advance

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

change this

	set [email protected],5000;	// Zeny for stat reset
	set [email protected],5000;	// Zeny for skill reset
	set [email protected],9000;	// Zeny for resetting both together

to this

	if( BaseLevel >= 50) {
		set [email protected],5000;	// Zeny for stat reset
		set [email protected],5000;	// Zeny for skill reset
		set [email protected],9000;	// Zeny for resetting both together
	}

Share this post


Link to post
Share on other sites

hi im using eamod here is the script

 

 

Crystilia,56,88,6 script Reset Girl 408,{
mes "[Reset Girl]";
mes "I am a Reset Girl.";
mes "Reset Stats: 1,000,000z";
mes "Reset Skills: 1,000,000z";
mes "Hatred & Feeling Reset: 5,000,000z";
mes "Reset Both: 1,500,000z";
mes "Please select the service you want:";
next;
switch(select("Reset Skills:Reset Stats:Reset Both:Hatred & Feeling Reset:Quit")) {
case 1:
mes "[Reset Girl]";
if (Zeny < 1000000) {
mes "Sorry, you don't have enough Zeny.";
close;
}
mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
set Zeny,zeny-1000000;
ResetSkill;
close;
case 2:
mes "[Reset Girl]";
if (Zeny < 1000000) {
mes "Sorry, you don't have enough Zeny.";
close;
}
mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
set Zeny,zeny-1000000;
ResetStatus;
close;
case 3:
mes "[Reset Girl]";
if (Zeny < 1500000) {
mes "Sorry, you don't have enough Zeny.";
close;
}
mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
set Zeny,zeny-1500000;
ResetSkill;
ResetStatus;
close;
case 4:
mes "[Reset Girl]";
if (Zeny < 5000000) { dispbottom "Sorry you dont have enough zeny to reset."; 
close; 
}
if( BaseClass == Job_Star_Gladiator ) { dispbottom "You are not a Gladiator Job."; 
close; 
}
atcommand "@feelreset";
atcommand "@hatredreset";
set Zeny,zeny-5000000;
mes "Done";
close;


case 5:
close;
}
}

i just want to add free reset for level 50 below

Edited by Patskie
Code

Share this post


Link to post
Share on other sites

try this (not tested)

Crystilia,56,88,6 script Reset Girl 408,{

	if( BaseLevel >= 50) {
		set [email protected],1000000;	// Zeny for stat reset
		set [email protected],1000000;	// Zeny for skill reset
		set [email protected],1500000;	// Zeny for resetting both together
		set [email protected],5000000;	// Zeny for resettign harted
	}


	mes "[Reset Girl]";
	mes "I am a Reset Girl.";
	mes "Reset Stats: "+([email protected])?""+callfunc("F_InsertComma",[email protected])+"z":"Free")+"";
	mes "Reset Skills: "+([email protected])?""+callfunc("F_InsertComma",[email protected])+"z":"Free")+"";
	mes "Hatred & Feeling Reset: "+([email protected])?""+callfunc("F_InsertComma",[email protected])+"z":"Free")+"";
	mes "Reset Both: "+([email protected])?""+callfunc("F_InsertComma",[email protected])+"z":"Free")+"";
	mes "Please select the service you want:";
	next;
	switch(select("Reset Skills:Reset Stats:Reset Both:Hatred & Feeling Reset:Quit")) {
		case 1:
			mes "[Reset Girl]";
			if (Zeny < [email protected]) {
				mes "Sorry, you don't have enough Zeny.";
				close;
			}
			mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
			set Zeny,[email protected];
			ResetSkill;
			close;
		case 2:
			mes "[Reset Girl]";
			if (Zeny < [email protected]) {
				mes "Sorry, you don't have enough Zeny.";
				close;
			}
			mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
			set Zeny,[email protected];
			ResetStatus;
			close;
		case 3:
			mes "[Reset Girl]";
			if (Zeny < [email protected]) {
				mes "Sorry, you don't have enough Zeny.";
				close;
			}
			mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
			set Zeny,[email protected];
			ResetSkill;
			ResetStatus;
			close;
		case 4:
			mes "[Reset Girl]";
			if (Zeny < [email protected]) {
				mes "Sorry you dont have enough zeny to reset."; 
				close; 
			}
			if( BaseClass == Job_Star_Gladiator ){
				mes "You are not a Gladiator Job."; 
				close; 
			}
			atcommand "@feelreset";
			atcommand "@hatredreset";
			set Zeny,[email protected];
			mes "Done";
			close;
		case 5:
			close;
	}
}
Edited by Stolao

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.

Sign in to follow this