Jump to content
  • 0
Bisuke

Stat Reset with Dynamic Price

Question

Can I request for a stat reset script that changes the price according to level?

 

1-45 - 10,000 (9,000 for both)

46-75 - 50,000 (45,000 for both)

76-85 - 75,000 (70,000 for both)

86-99 - 100,000 (95,000 for both)

 

Thanks in advance!

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 1

Can I request for a stat reset script that changes the price according to level?

 

1-45 - 10,000 (9,000 for both)

46-75 - 50,000 (45,000 for both)

76-85 - 75,000 (70,000 for both)

86-99 - 100,000 (95,000 for both)

 

Thanks in advance!

//===== rAthena Script =======================================
//= Reset NPC
//===== By: ==================================================
//= rAthena Dev Team
//===== Current Version: =====================================
//= 1.06
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= Resets skills, stats, or both.
//= https://rathena.org/board/topic/102190-stat-reset-with-dynamic-price/
//===== Additional Comments: =================================
//= 1.00 First Version
//= 1.01 Optimized for the greater good. [Kisuka]
//= 1.02 Cleaning [Euphy]
//= 1.03 All statuses removed upon skill reset. [Euphy]
//= 1.04 Compressed Script [Stolao]
//= 1.05 Added limit use option [Stolao]
//= 1.06 Added Dynamic Pricing For Bisuke on Rathena [Stolao]
//============================================================

prontera,150,193,4	script	Reset Girl	124,{

	//	 					Skills,	Stats,	Both,	Limit
	if(BaseLevel > 85){		set [email protected],	100000,	100000,	90000,	0;
	else if(BaseLevel > 75){	set [email protected],	75000,	75000,	70000,	0;
	else if(BaseLevel > 45){	set [email protected],	50000,	50000,	50000,	0;
	else { 				set [email protected],	10000,	10000,	9000,	0;	}
	mes "[Reset Girl]";
	if([email protected][3] && reset_limit > [email protected][3]) {
		mes "Sorry you can only reset "[email protected][3]+" time in your life.";
		close;
	}
	mes "I am the Reset Girl.";
	mes "Reset Stats: "+ callfunc("F_InsertComma",[email protected][1]) +"z";
	mes "Reset Skills: "+ callfunc("F_InsertComma",[email protected][0]) +"z";
	mes "Reset Both: "+ callfunc("F_InsertComma",[email protected][2]) +"z";
	mes "Please select the service you want:";
	next;
	set [email protected],(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel"));
	if([email protected] > 3) close;
	mes "[Reset Girl]";
	if (Zeny < [email protected][[email protected]]) {
		mes "Sorry, you don't have enough Zeny.";
		close;
	}
	if([email protected][3]){
		mes "You can only reset "[email protected][3]+" time in your life, are you sure?";
		if(select("Let me think:Thats fine") == 1) close;
	}
	set Zeny, [email protected][[email protected]];
	if([email protected]&1){
		sc_end SC_ALL;
		ResetSkill;
	}
	if([email protected]&2) ResetStatus;
	mes "There you go!";
	if([email protected][3]) set reset_limit,reset_limit + 1;
	close;
}

here you are although an easier option would be to make it x cost per level

eg:

	set [email protected],	BaseLevel * BaseLevel * 10,	JobLevel * JobLevel * 15,	BaseLevel * JobLevel * 9,	0;
  • Upvote 1
Link to comment
Share on other sites

 

Can I request for a stat reset script that changes the price according to level?

 

1-45 - 10,000 (9,000 for both)

46-75 - 50,000 (45,000 for both)

76-85 - 75,000 (70,000 for both)

86-99 - 100,000 (95,000 for both)

 

Thanks in advance!

//===== rAthena Script =======================================
//= Reset NPC
//===== By: ==================================================
//= rAthena Dev Team
//===== Current Version: =====================================
//= 1.06
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= Resets skills, stats, or both.
//= https://rathena.org/board/topic/102190-stat-reset-with-dynamic-price/
//===== Additional Comments: =================================
//= 1.00 First Version
//= 1.01 Optimized for the greater good. [Kisuka]
//= 1.02 Cleaning [Euphy]
//= 1.03 All statuses removed upon skill reset. [Euphy]
//= 1.04 Compressed Script [Stolao]
//= 1.05 Added limit use option [Stolao]
//= 1.06 Added Dynamic Pricing For Bisuke on Rathena [Stolao]
//============================================================

prontera,150,193,4	script	Reset Girl	124,{

	//	 					Skills,	Stats,	Both,	Limit
	if(BaseLevel > 85){		set [email protected],	100000,	100000,	90000,	0;
	else if(BaseLevel > 75){	set [email protected],	75000,	75000,	70000,	0;
	else if(BaseLevel > 45){	set [email protected],	50000,	50000,	50000,	0;
	else { 				set [email protected],	10000,	10000,	9000,	0;	}
	mes "[Reset Girl]";
	if([email protected][3] && reset_limit > [email protected][3]) {
		mes "Sorry you can only reset "[email protected][3]+" time in your life.";
		close;
	}
	mes "I am the Reset Girl.";
	mes "Reset Stats: "+ callfunc("F_InsertComma",[email protected][1]) +"z";
	mes "Reset Skills: "+ callfunc("F_InsertComma",[email protected][0]) +"z";
	mes "Reset Both: "+ callfunc("F_InsertComma",[email protected][2]) +"z";
	mes "Please select the service you want:";
	next;
	set [email protected],(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel"));
	if([email protected] > 3) close;
	mes "[Reset Girl]";
	if (Zeny < [email protected][[email protected]]) {
		mes "Sorry, you don't have enough Zeny.";
		close;
	}
	if([email protected][3]){
		mes "You can only reset "[email protected][3]+" time in your life, are you sure?";
		if(select("Let me think:Thats fine") == 1) close;
	}
	set Zeny, [email protected][[email protected]];
	if([email protected]&1){
		sc_end SC_ALL;
		ResetSkill;
	}
	if([email protected]&2) ResetStatus;
	mes "There you go!";
	if([email protected][3]) set reset_limit,reset_limit + 1;
	close;
}

here you are although an easier option would be to make it x cost per level

eg:

	set [email protected],	BaseLevel * BaseLevel * 10,	JobLevel * JobLevel * 15,	BaseLevel * JobLevel * 9,	0;

 

hmm?  set ?? or setarray ??  /hmm

Link to comment
Share on other sites

 

 

Can I request for a stat reset script that changes the price according to level?

 

1-45 - 10,000 (9,000 for both)

46-75 - 50,000 (45,000 for both)

76-85 - 75,000 (70,000 for both)

86-99 - 100,000 (95,000 for both)

 

Thanks in advance!

//===== rAthena Script =======================================
//= Reset NPC
//===== By: ==================================================
//= rAthena Dev Team
//===== Current Version: =====================================
//= 1.06
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= Resets skills, stats, or both.
//= https://rathena.org/board/topic/102190-stat-reset-with-dynamic-price/
//===== Additional Comments: =================================
//= 1.00 First Version
//= 1.01 Optimized for the greater good. [Kisuka]
//= 1.02 Cleaning [Euphy]
//= 1.03 All statuses removed upon skill reset. [Euphy]
//= 1.04 Compressed Script [Stolao]
//= 1.05 Added limit use option [Stolao]
//= 1.06 Added Dynamic Pricing For Bisuke on Rathena [Stolao]
//============================================================

prontera,150,193,4	script	Reset Girl	124,{

	//	 					Skills,	Stats,	Both,	Limit
	if(BaseLevel > 85){		set [email protected],	100000,	100000,	90000,	0;
	else if(BaseLevel > 75){	set [email protected],	75000,	75000,	70000,	0;
	else if(BaseLevel > 45){	set [email protected],	50000,	50000,	50000,	0;
	else { 				set [email protected],	10000,	10000,	9000,	0;	}
	mes "[Reset Girl]";
	if([email protected][3] && reset_limit > [email protected][3]) {
		mes "Sorry you can only reset "[email protected][3]+" time in your life.";
		close;
	}
	mes "I am the Reset Girl.";
	mes "Reset Stats: "+ callfunc("F_InsertComma",[email protected][1]) +"z";
	mes "Reset Skills: "+ callfunc("F_InsertComma",[email protected][0]) +"z";
	mes "Reset Both: "+ callfunc("F_InsertComma",[email protected][2]) +"z";
	mes "Please select the service you want:";
	next;
	set [email protected],(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel"));
	if([email protected] > 3) close;
	mes "[Reset Girl]";
	if (Zeny < [email protected][[email protected]]) {
		mes "Sorry, you don't have enough Zeny.";
		close;
	}
	if([email protected][3]){
		mes "You can only reset "[email protected][3]+" time in your life, are you sure?";
		if(select("Let me think:Thats fine") == 1) close;
	}
	set Zeny, [email protected][[email protected]];
	if([email protected]&1){
		sc_end SC_ALL;
		ResetSkill;
	}
	if([email protected]&2) ResetStatus;
	mes "There you go!";
	if([email protected][3]) set reset_limit,reset_limit + 1;
	close;
}

here you are although an easier option would be to make it x cost per level

eg:

	set [email protected],	BaseLevel * BaseLevel * 10,	JobLevel * JobLevel * 15,	BaseLevel * JobLevel * 9,	0;

 

hmm?  set ?? or setarray ??  /hmm

 

 

>.>

<.<

Link to comment
Share on other sites

I finally get to try this on my test server, however there's an error that says, missing 3 curly. I tried adding the closing curlies to the first 3 conditional statement:

if(BaseLevel > 85){		set [email protected],	100000,	100000,	90000,	0; }
	else if(BaseLevel > 75){	set [email protected],	75000,	75000,	70000,	0;}
	else if(BaseLevel > 45){	set [email protected],	50000,	50000,	50000,	0;}

However, A new error occured, unexpected ";".

Edited by Bisuke
Link to comment
Share on other sites

I finally get to try this on my test server, however there's an error that says, missing 3 curly. I tried adding the closing curlies to the first 3 conditional statement:

if(BaseLevel > 85){		set [email protected],	100000,	100000,	90000,	0; }
	else if(BaseLevel > 75){	set [email protected],	75000,	75000,	70000,	0;}
	else if(BaseLevel > 45){	set [email protected],	50000,	50000,	50000,	0;}

However, A new error occured, unexpected ";".

 

set should be setarray as Emistry mentioned

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

Important Information

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