Jump to content
  • 0

request script


cadz

Question


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

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

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

change this

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

to this

	if( BaseLevel >= 50) {
		set .@ResetStat,5000;	// Zeny for stat reset
		set .@ResetSkill,5000;	// Zeny for skill reset
		set .@ResetBoth,9000;	// Zeny for resetting both together
	}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

try this (not tested)

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

	if( BaseLevel >= 50) {
		set .@ResetStat,1000000;	// Zeny for stat reset
		set .@ResetSkill,1000000;	// Zeny for skill reset
		set .@ResetBoth,1500000;	// Zeny for resetting both together
		set .@ResetHate,5000000;	// Zeny for resettign harted
	}


	mes "[Reset Girl]";
	mes "I am a Reset Girl.";
	mes "Reset Stats: "+(.@ResetStat)?""+callfunc("F_InsertComma",.@ResetStat)+"z":"Free")+"";
	mes "Reset Skills: "+(.@ResetSkill)?""+callfunc("F_InsertComma",.@ResetSkill)+"z":"Free")+"";
	mes "Hatred & Feeling Reset: "+(.@ResetHate)?""+callfunc("F_InsertComma",.@ResetHate)+"z":"Free")+"";
	mes "Reset Both: "+(.@ResetBoth)?""+callfunc("F_InsertComma",.@ResetBoth)+"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 < .@ResetStat) {
				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-.@ResetStat;
			ResetSkill;
			close;
		case 2:
			mes "[Reset Girl]";
			if (Zeny < .@ResetSkill) {
				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-.@ResetSkill;
			ResetStatus;
			close;
		case 3:
			mes "[Reset Girl]";
			if (Zeny < .@ResetBoth) {
				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-.@ResetBoth;
			ResetSkill;
			ResetStatus;
			close;
		case 4:
			mes "[Reset Girl]";
			if (Zeny < .@ResetHate) {
				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,zeny-.@ResetHate;
			mes "Done";
			close;
		case 5:
			close;
	}
}
Edited by Stolao
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...