Jump to content
  • 0

Reset Npc Help


rayleigh

Question


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

Hello guys. Im using This script Credit to the owner 

prontera,147,166,5	script	Reseter	407,{
set .name$, "[Reseter]";
if (BaseLevel <= 20) {
	mes .name$;
	mes "Reset Stat & Skills will cost you 5,000z, want it to reset?";
	next;
	if (select("Yes:No") == 2) close;
	if (Zeny >= 5000) {
		set Zeny, Zeny - 5000;
		callfunc "Reset1";
	} // End if
} else if (BaseLevel > 20 && BaseLevel <= 40) {
	mes .name$;
	mes "Reset Stat & Skills will cost you 2x Premium Reset Stone and 10,000z, want it to reset?";
	next;
	if (select("Yes:No") == 2) close;
	if (countitem(6320) < 2) goto noitem;
	if (Zeny >= 10000) {
		set Zeny, Zeny - 10000;
		callfunc "Reset1";
	} // End if
} else if (BaseLevel > 40 && BaseLevel <= 80) {
	mes .name$;
	mes "Reset Stat & Skills will cost you 3x Premium Reset Stone and 100,000z, want it to reset?";
	next;
	if (select("Yes:No") == 2) close;
	if (countitem(6320) < 3) goto noitem;
	if (Zeny >= 100000) {
		set Zeny, Zeny - 100000;
		callfunc "Reset1";
	} // End if
} else if (BaseLevel > 80) {
	mes .name$;
	mes "Reset Stat & Skills will cost you 5x Premium Reset Stone and 10,000,000z want it to reset?";
	next;
	if (select("Yes:No") == 2) close;
	if (countitem(6320) < 5) goto noitem;
	if (Zeny >= 10000000) {
		set Zeny, Zeny - 10000000;
		callfunc "Reset1";
	} // End if
	} // End if
close;


noitem:

	mes "[Reseter Manager]";
	mes "You dont have enough [Premium Reset Stone]..";
	close;

} // End script

function script Reset1 {
ResetStatus;
ResetSkill;
return;
} // End function

But I want to change the requirements of reseting I want it to be 1 premium reset stone only. And I want to lower further the zeny required,

And also when I try to load that script Theres an error coming up on saying " unknown syntax on line 54"

And it seems do not have the ability to reset also the skill points.

Can anyone help me where are the line I should edit for this?

 

Thanks Rathena

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  149
  • Reputation:   24
  • Joined:  02/11/16
  • Last Seen:  

//===== rAthena Script =======================================
//= Reset NPC
//===== By: ==================================================
//= rAthena Dev Team
//===== Current Version: =====================================
//= 1.3
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= Resets skills, stats, or both.
//===== Additional Comments: =================================
//= 1.0 First Version
//= 1.1 Optimized for the greater good. [Kisuka]
//= 1.2 Cleaning [Euphy]
//= 1.3 All statuses removed upon skill reset. [Euphy]
//============================================================

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

	.@ResetStat  = 5000;	// Zeny for stat reset
	.@ResetSkill = 5000;	// Zeny for skill reset
	.@ResetBoth  = 9000;	// Zeny for resetting both together

	mes "[Reset Girl]";
	mes "You need premium reset stone each in resetting your skills and Stats";
	mes "Reset Stats: Premium Stone + "  + callfunc("F_InsertComma", .@ResetStat)  + "z";
	mes "Reset Skills: Premium Stone + " + callfunc("F_InsertComma", .@ResetSkill) + "z";
	mes "Reset Both: 2x Premium Stone + "   + callfunc("F_InsertComma", .@ResetBoth)  + "z";
	mes "Please select the service you want:";
	next;
	switch(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel")) {
	case 1:
		mes "[Reset Girl]";
		if (countitem(6320) < 1) goto NoStone;
		if (Zeny < .@ResetSkill) {
			mes "Sorry, you don't have enough Zeny.";
			close;
		}
		Zeny -= .@ResetSkill;
		delitem 6320,1;
		sc_end SC_ALL;
		resetskill;
		mes "There you go!";
		close;
	case 2:
		mes "[Reset Girl]";
		if (countitem(6320) < 1) goto NoStone;
		if (Zeny < .@ResetStat) {
			mes "Sorry, you don't have enough Zeny.";
			close;
		}
		Zeny -= .@ResetStat;
		delitem 6320,1;
		resetstatus;
		mes "There you go!";
		close;
	case 3:
		mes "[Reset Girl]";
		if (countitem(6320) < 2) goto NoStone2;
		if (Zeny < .@ResetBoth) {
			mes "Sorry, you don't have enough Zeny.";
			close;
		}
		Zeny -= .@ResetBoth;
		delitem 6320,2;
		sc_end SC_ALL;
		resetskill;
		resetstatus;
		mes "There you go!";
		close;
	case 4:
		close;
	}
	
	NoStone:
	mes "[Reset Girl]";
	mes "You must have a ^FF3355Premium Reset Stone^000000 to continue.";
	close;

	NoStone2:
	mes "[Reset Girl]";
	mes "You must have 2 ^FF3355Premium Reset Stones^000000 to continue.";
	close;
}

Here you go... Requires 2 stone, changed the welcome message and edited the requirements.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  88
  • Reputation:   10
  • Joined:  01/15/16
  • Last Seen:  

¿How many zeny do you want to ask?


But, try with this (not tested)

prontera,147,166,5	script	Reseter	407,{
set .name$, "[Reseter]";
if (BaseLevel <= 20) {
	mes .name$;
	mes "Reset Stat & Skills will cost you 1,000z, want it to reset?";
	next;
	if (select("Yes:No") == 2) close;
	if (Zeny >= 1000) {
		set Zeny, Zeny - 1000;
		callfunc "Reset1";
	} // End if
} else if (BaseLevel > 20 && BaseLevel <= 40) {
	mes .name$;
	mes "Reset Stat & Skills will cost you 1x Premium Reset Stone and 5,000z, want it to reset?";
	next;
	if (select("Yes:No") == 2) close;
	if (countitem(6320) < 1) goto L_noitem;
	if (Zeny >= 5000) {
		set Zeny, Zeny - 5000;
		callfunc "Reset1";
	} // End if
} else if (BaseLevel > 40 && BaseLevel <= 80) {
	mes .name$;
	mes "Reset Stat & Skills will cost you 1x Premium Reset Stone and 40,000z, want it to reset?";
	next;
	if (select("Yes:No") == 2) close;
	if (countitem(6320) < 1) goto L_noitem;
	if (Zeny >= 40000) {
		set Zeny, Zeny - 40000;
		callfunc "Reset1";
	} // End if
} else if (BaseLevel > 80) {
	mes .name$;
	mes "Reset Stat & Skills will cost you 1x Premium Reset Stone and 1,000,000z want it to reset?";
	next;
	if (select("Yes:No") == 2) close;
	if (countitem(6320) < 1) goto L_noitem;
	if (Zeny >= 1000000) {
		set Zeny, Zeny - 1000000;
		callfunc "Reset1";
	} // End if
	} // End if
close;


L_noitem:

	mes "[Reseter Manager]";
	mes "You dont have enough [Premium Reset Stone].";
	close;

} // End script

function	script	Reset1	{
	ResetStatus;
	ResetSkill;
	return;
} // End function

i lowered the zeny amount and the premium reset stone to 1

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   0
  • Joined:  03/07/16
  • Last Seen:  

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

¿How many zeny do you want to ask?

But, try with this (not tested)

prontera,147,166,5	script	Reseter	407,{
set .name$, "[Reseter]";
if (BaseLevel <= 20) {
	mes .name$;
	mes "Reset Stat & Skills will cost you 1,000z, want it to reset?";
	next;
	if (select("Yes:No") == 2) close;
	if (Zeny >= 1000) {
		set Zeny, Zeny - 1000;
		callfunc "Reset1";
	} // End if
} else if (BaseLevel > 20 && BaseLevel <= 40) {
	mes .name$;
	mes "Reset Stat & Skills will cost you 1x Premium Reset Stone and 5,000z, want it to reset?";
	next;
	if (select("Yes:No") == 2) close;
	if (countitem(6320) < 1) goto L_noitem;
	if (Zeny >= 5000) {
		set Zeny, Zeny - 5000;
		callfunc "Reset1";
	} // End if
} else if (BaseLevel > 40 && BaseLevel <= 80) {
	mes .name$;
	mes "Reset Stat & Skills will cost you 1x Premium Reset Stone and 40,000z, want it to reset?";
	next;
	if (select("Yes:No") == 2) close;
	if (countitem(6320) < 1) goto L_noitem;
	if (Zeny >= 40000) {
		set Zeny, Zeny - 40000;
		callfunc "Reset1";
	} // End if
} else if (BaseLevel > 80) {
	mes .name$;
	mes "Reset Stat & Skills will cost you 1x Premium Reset Stone and 1,000,000z want it to reset?";
	next;
	if (select("Yes:No") == 2) close;
	if (countitem(6320) < 1) goto L_noitem;
	if (Zeny >= 1000000) {
		set Zeny, Zeny - 1000000;
		callfunc "Reset1";
	} // End if
	} // End if
close;


L_noitem:

	mes "[Reseter Manager]";
	mes "You dont have enough [Premium Reset Stone].";
	close;

} // End script

function	script	Reset1	{
	ResetStatus;
	ResetSkill;
	return;
} // End function

i lowered the zeny amount and the premium reset stone to 1

Hi sir. I already test it but the stone do not disappear on my inventory (item id : 6320) and it only adding the zeny.

Is it possible to put an option whether the player like to reset only their skill or stat (one at a time) with the pre-requisite of 1 reset stone each + zeny?

Nweis tnx bro.

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  149
  • Reputation:   24
  • Joined:  02/11/16
  • Last Seen:  

//===== rAthena Script =======================================
//= Reset NPC
//===== By: ==================================================
//= rAthena Dev Team
//===== Current Version: =====================================
//= 1.3
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= Resets skills, stats, or both.
//===== Additional Comments: =================================
//= 1.0 First Version
//= 1.1 Optimized for the greater good. [Kisuka]
//= 1.2 Cleaning [Euphy]
//= 1.3 All statuses removed upon skill reset. [Euphy]
//============================================================

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

	.@ResetStat  = 5000;	// Zeny for stat reset
	.@ResetSkill = 5000;	// Zeny for skill reset
	.@ResetBoth  = 9000;	// Zeny for resetting both together

	mes "[Reset Girl]";
	mes "I am the Reset Girl.";
	mes "Reset Stats: "  + callfunc("F_InsertComma", .@ResetStat)  + "z";
	mes "Reset Skills: " + callfunc("F_InsertComma", .@ResetSkill) + "z";
	mes "Reset Both: "   + callfunc("F_InsertComma", .@ResetBoth)  + "z";
	mes "Please select the service you want:";
	next;
	switch(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel")) {
	case 1:
		mes "[Reset Girl]";
		if (countitem(6320) < 1) goto NoStone;
		if (Zeny < .@ResetSkill) {
			mes "Sorry, you don't have enough Zeny.";
			close;
		}
		Zeny -= .@ResetSkill;
		delitem 6320,1;
		sc_end SC_ALL;
		resetskill;
		mes "There you go!";
		close;
	case 2:
		mes "[Reset Girl]";
		if (countitem(6320) < 1) goto NoStone;
		if (Zeny < .@ResetStat) {
			mes "Sorry, you don't have enough Zeny.";
			close;
		}
		Zeny -= .@ResetStat;
		delitem 6320,1;
		resetstatus;
		mes "There you go!";
		close;
	case 3:
		mes "[Reset Girl]";
		if (countitem(6320) < 1) goto NoStone;
		if (Zeny < .@ResetBoth) {
			mes "Sorry, you don't have enough Zeny.";
			close;
		}
		Zeny -= .@ResetBoth;
		delitem 6320,1;
		sc_end SC_ALL;
		resetskill;
		resetstatus;
		mes "There you go!";
		close;
	case 4:
		close;
	}
	
	NoStone:
	mes "[Reset Girl]";
	mes "You must have a ^FF3355Premium Reset Stone^000000 to continue.";
	close;
}

Here... just edit the prices on the upper part of the script. 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

//===== rAthena Script =======================================
//= Reset NPC
//===== By: ==================================================
//= rAthena Dev Team
//===== Current Version: =====================================
//= 1.3
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= Resets skills, stats, or both.
//===== Additional Comments: =================================
//= 1.0 First Version
//= 1.1 Optimized for the greater good. [Kisuka]
//= 1.2 Cleaning [Euphy]
//= 1.3 All statuses removed upon skill reset. [Euphy]
//============================================================

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

	.@ResetStat  = 5000;	// Zeny for stat reset
	.@ResetSkill = 5000;	// Zeny for skill reset
	.@ResetBoth  = 9000;	// Zeny for resetting both together

	mes "[Reset Girl]";
	mes "I am the Reset Girl.";
	mes "Reset Stats: "  + callfunc("F_InsertComma", .@ResetStat)  + "z";
	mes "Reset Skills: " + callfunc("F_InsertComma", .@ResetSkill) + "z";
	mes "Reset Both: "   + callfunc("F_InsertComma", .@ResetBoth)  + "z";
	mes "Please select the service you want:";
	next;
	switch(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel")) {
	case 1:
		mes "[Reset Girl]";
		if (countitem(6320) < 1) goto NoStone;
		if (Zeny < .@ResetSkill) {
			mes "Sorry, you don't have enough Zeny.";
			close;
		}
		Zeny -= .@ResetSkill;
		delitem 6320,1;
		sc_end SC_ALL;
		resetskill;
		mes "There you go!";
		close;
	case 2:
		mes "[Reset Girl]";
		if (countitem(6320) < 1) goto NoStone;
		if (Zeny < .@ResetStat) {
			mes "Sorry, you don't have enough Zeny.";
			close;
		}
		Zeny -= .@ResetStat;
		delitem 6320,1;
		resetstatus;
		mes "There you go!";
		close;
	case 3:
		mes "[Reset Girl]";
		if (countitem(6320) < 1) goto NoStone;
		if (Zeny < .@ResetBoth) {
			mes "Sorry, you don't have enough Zeny.";
			close;
		}
		Zeny -= .@ResetBoth;
		delitem 6320,1;
		sc_end SC_ALL;
		resetskill;
		resetstatus;
		mes "There you go!";
		close;
	case 4:
		close;
	}
	
	NoStone:
	mes "[Reset Girl]";
	mes "You must have a ^FF3355Premium Reset Stone^000000 to continue.";
	close;
}

Here... just edit the prices on the upper part of the script. 

 

Hi sir

The script is working thank you so much.

But the problem is when resetting both skills and stat, the npc is only getting one reset stone. Can i make it two? how? what part shoud i edit?

 

And on the start message of the npc it only saying

"I am the reset girl/

Reset stat 5000z 

Reset skills 5000z

Reset both 9000z

Please select the service you want"

 

Thats the message of the npc.

I want to add message

 

"you need premium reset stone each in resetting your skills and Stats"

 

Thank you sir for helping me.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

//===== rAthena Script =======================================
//= Reset NPC
//===== By: ==================================================
//= rAthena Dev Team
//===== Current Version: =====================================
//= 1.3
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= Resets skills, stats, or both.
//===== Additional Comments: =================================
//= 1.0 First Version
//= 1.1 Optimized for the greater good. [Kisuka]
//= 1.2 Cleaning [Euphy]
//= 1.3 All statuses removed upon skill reset. [Euphy]
//============================================================

itemmall,21,74,4	script	Reset Girl	124,{

	.@ResetStat  = 30030;	// Item for stat reset
	.@ResetSkillReq = 1;
	.@ResetStatReq = 2;
	.@ResetBothReq = 3;

	mes "[Reset Girl]";
	mes "I am the Reset Girl.";
	mes "Reset Skills: ^0000FF"+getitemname(.@ResetStat)+"^000000 x 1";
	mes "Reset Stats: ^0000FF"+getitemname(.@ResetStat)+"^000000 x 2";
	mes "Reset Both: ^0000FF"+getitemname(.@ResetStat)+"^000000 x 3";
	mes "Please select the service you want:";
	next;
	switch(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel")) {
	case 1:
		mes "[Reset Girl]";
		if (countitem(.@ResetStat) < .@ResetSkillReq) {
			mes "Sorry, you don't have enough "+getitemname(.@ResetStat)+".";
			close;
		}
		delitem .@ResetStat,.@ResetSkillReq;
		sc_end SC_ALL;
		resetskill;
		mes "There you go!";
		close;
	case 2:
		mes "[Reset Girl]";
		if (countitem(.@ResetStat) < .@ResetStatReq) {
			mes "Sorry, you don't have enough "+getitemname(.@ResetStat)+".";
			close;
		}
		delitem .@ResetStat,.@ResetStatReq;
		resetstatus;
		mes "There you go!";
		close;
	case 3:
		mes "[Reset Girl]";
		if (countitem(.@ResetStat) < .@ResetBothReq) {
			mes "Sorry, you don't have enough "+getitemname(.@ResetStat)+".";
			close;
		}
		delitem .@ResetStat,.@ResetBothReq;
		sc_end SC_ALL;
		resetskill;
		resetstatus;
		mes "There you go!";
		close;
	case 4:
		close;
	}
}

sec_in02,161,183,4	duplicate(Reset Girl)	Reset Girl#vip	124

Here you go. Just add zeny amount. I removed the zeny amount.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

//===== rAthena Script =======================================
//= Reset NPC
//===== By: ==================================================
//= rAthena Dev Team
//===== Current Version: =====================================
//= 1.3
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= Resets skills, stats, or both.
//===== Additional Comments: =================================
//= 1.0 First Version
//= 1.1 Optimized for the greater good. [Kisuka]
//= 1.2 Cleaning [Euphy]
//= 1.3 All statuses removed upon skill reset. [Euphy]
//============================================================

itemmall,21,74,4	script	Reset Girl	124,{

	.@ResetStat  = 30030;	// Item for stat reset
	.@ResetSkillReq = 1;
	.@ResetStatReq = 2;
	.@ResetBothReq = 3;

	mes "[Reset Girl]";
	mes "I am the Reset Girl.";
	mes "Reset Skills: ^0000FF"+getitemname(.@ResetStat)+"^000000 x 1";
	mes "Reset Stats: ^0000FF"+getitemname(.@ResetStat)+"^000000 x 2";
	mes "Reset Both: ^0000FF"+getitemname(.@ResetStat)+"^000000 x 3";
	mes "Please select the service you want:";
	next;
	switch(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel")) {
	case 1:
		mes "[Reset Girl]";
		if (countitem(.@ResetStat) < .@ResetSkillReq) {
			mes "Sorry, you don't have enough "+getitemname(.@ResetStat)+".";
			close;
		}
		delitem .@ResetStat,.@ResetSkillReq;
		sc_end SC_ALL;
		resetskill;
		mes "There you go!";
		close;
	case 2:
		mes "[Reset Girl]";
		if (countitem(.@ResetStat) < .@ResetStatReq) {
			mes "Sorry, you don't have enough "+getitemname(.@ResetStat)+".";
			close;
		}
		delitem .@ResetStat,.@ResetStatReq;
		resetstatus;
		mes "There you go!";
		close;
	case 3:
		mes "[Reset Girl]";
		if (countitem(.@ResetStat) < .@ResetBothReq) {
			mes "Sorry, you don't have enough "+getitemname(.@ResetStat)+".";
			close;
		}
		delitem .@ResetStat,.@ResetBothReq;
		sc_end SC_ALL;
		resetskill;
		resetstatus;
		mes "There you go!";
		close;
	case 4:
		close;
	}
}

sec_in02,161,183,4	duplicate(Reset Girl)	Reset Girl#vip	124

Here you go. Just add zeny amount. I removed the zeny amount.

 

Hi panda.... Thanks for the reply.. but I want this script already coz i got used to it already.

If u dont mind can you just teach me where to put the additional message

 

Thats the message of the npc.

I want to add message

 

"you need premium reset stone each in resetting your skills and Stats"

 

and where im going to put 2 reset stone will be taking out if both skills and stat will be resset.

 

 

TY so much panda.. 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

 

 

 

//===== rAthena Script =======================================
//= Reset NPC
//===== By: ==================================================
//= rAthena Dev Team
//===== Current Version: =====================================
//= 1.3
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= Resets skills, stats, or both.
//===== Additional Comments: =================================
//= 1.0 First Version
//= 1.1 Optimized for the greater good. [Kisuka]
//= 1.2 Cleaning [Euphy]
//= 1.3 All statuses removed upon skill reset. [Euphy]
//============================================================

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

	.@ResetStat  = 5000;	// Zeny for stat reset
	.@ResetSkill = 5000;	// Zeny for skill reset
	.@ResetBoth  = 9000;	// Zeny for resetting both together

	mes "[Reset Girl]";
	mes "You need premium reset stone each in resetting your skills and Stats";
	mes "Reset Stats: Premium Stone + "  + callfunc("F_InsertComma", .@ResetStat)  + "z";
	mes "Reset Skills: Premium Stone + " + callfunc("F_InsertComma", .@ResetSkill) + "z";
	mes "Reset Both: 2x Premium Stone + "   + callfunc("F_InsertComma", .@ResetBoth)  + "z";
	mes "Please select the service you want:";
	next;
	switch(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel")) {
	case 1:
		mes "[Reset Girl]";
		if (countitem(6320) < 1) goto NoStone;
		if (Zeny < .@ResetSkill) {
			mes "Sorry, you don't have enough Zeny.";
			close;
		}
		Zeny -= .@ResetSkill;
		delitem 6320,1;
		sc_end SC_ALL;
		resetskill;
		mes "There you go!";
		close;
	case 2:
		mes "[Reset Girl]";
		if (countitem(6320) < 1) goto NoStone;
		if (Zeny < .@ResetStat) {
			mes "Sorry, you don't have enough Zeny.";
			close;
		}
		Zeny -= .@ResetStat;
		delitem 6320,1;
		resetstatus;
		mes "There you go!";
		close;
	case 3:
		mes "[Reset Girl]";
		if (countitem(6320) < 2) goto NoStone2;
		if (Zeny < .@ResetBoth) {
			mes "Sorry, you don't have enough Zeny.";
			close;
		}
		Zeny -= .@ResetBoth;
		delitem 6320,2;
		sc_end SC_ALL;
		resetskill;
		resetstatus;
		mes "There you go!";
		close;
	case 4:
		close;
	}
	
	NoStone:
	mes "[Reset Girl]";
	mes "You must have a ^FF3355Premium Reset Stone^000000 to continue.";
	close;

	NoStone2:
	mes "[Reset Girl]";
	mes "You must have 2 ^FF3355Premium Reset Stones^000000 to continue.";
	close;
}

Here you go... Requires 2 stone, changed the welcome message and edited the requirements.

 

Perfect sir.... Thank you so much... You really help me a lot to get through this..

Thanks Tialin..

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