Jump to content
  • 0

Stats Reset with item


Question

4 answers to this question

Recommended Posts

  • 0
Posted

prontera,137,232,6    script    Mesmerizer    125,{
    mes "[Mesmerizer]";
    mes "Greetings, adventurer.";
    mes "I'm a member of the Mesmerizer";
    mes "Academy sent here to Prontera";
    mes "to provide Stats Reset services";
    next;
    switch(select("Stats Reset?:I want a Stats Reset:Nothing")) {
    
    case 1:
        mes "[Mesmerizer]";
        mes "Stats Resets allow adventuers";
        mes "to redistribute their Stats";
        mes "Points if they are unhappy";
        mes "but require a ^FF0000Premium Reset Stone^000000.";
        close;
    
    case 2:
        mes "[Mesmerizer]";
        mes "Are you sure that you";
        mes "want to proceed with";
        mes "my ^FF0000Stats Reset^000000 service?";
        next;
        if (select("Yes:Cancel") == 1) {
            
            if (countitem(6320) >= 1) {
            delitem 6320,1;
            ResetStatus;
                mes "[Mesmerizer]";
                mes "Thank you for using";
                mes "my Stats Redistribution";
                mes "services. Oh, and best";
                mes "of luck to you on your";
                mes "travels, adventurer.";
                close;    
            }
            mes "[Mesmerizer]";
            mes "I'm sorry, but you need";
            mes "a ^FF0000Premium Reset Stone^000000";
            mes "for this service.";
            close;                
            
        }
        mes "[Mesmerizer]";
        mes "Thank you, and good";
        mes "luck on your adventures.";
        mes "Please travel in safety~";
        close;

    case 3:
        mes "[Mesmerizer]";
        mes "Thank you, and good";
        mes "luck on your adventures.";
        mes "Please travel in safety~";
        close;

}    
    
}

  • 0
Posted
prontera,137,232,6    script    Mesmerizer    125,{
    mes "[Mesmerizer]";
    mes "Greetings, adventurer.";
    mes "I'm a member of the Mesmerizer";
    mes "Academy sent here to Prontera";
    mes "to provide Stats Reset services";
    next;
    switch(select("Stats Reset?:I want a Stats Reset:Nothing")) {
    
    case 1:
        mes "[Mesmerizer]";
        mes "Stats Resets allow adventuers";
        mes "to redistribute their Stats";
        mes "Points if they are unhappy";
        mes "but require a ^FF0000Premium Reset Stone^000000.";
        close;
    
    case 2:
        mes "[Mesmerizer]";
        mes "Are you sure that you";
        mes "want to proceed with";
        mes "my ^FF0000Stats Reset^000000 service?";
        next;
        if (select("Yes:Cancel") == 1) {
            
            if (countitem(6320) >= 1) {
            delitem 6320,1;
            ResetStatus;
                mes "[Mesmerizer]";
                mes "Thank you for using";
                mes "my Stats Redistribution";
                mes "services. Oh, and best";
                mes "of luck to you on your";
                mes "travels, adventurer.";
                close;    
            }
            mes "[Mesmerizer]";
            mes "I'm sorry, but you need";
            mes "a ^FF0000Premium Reset Stone^000000";
            mes "for this service.";
            close;                
            
        }
        mes "[Mesmerizer]";
        mes "Thank you, and good";
        mes "luck on your adventures.";
        mes "Please travel in safety~";
        close;

    case 3:
        mes "[Mesmerizer]";
        mes "Thank you, and good";
        mes "luck on your adventures.";
        mes "Please travel in safety~";
        close;

}    
    
}

this work for me!

Posted


prontera,150,150,0 script Sample 100,{

if ( select( "Stat Reset:Skill Reset" ) - 1 ) {

if ( !countitem( 512 ) ) end;

delitem 512, 1;

resetskill;

} else {

if ( !countitem( 909 ) ) end;

delitem 909, 1;

resetstatus;

}

end;

}

Posted (edited)
prontera,150,150,0	script	Sample	100,{
	if ( select( "Stat Reset:Skill Reset" ) - 1 ) {
		if ( !countitem( 512 ) ) end;
		delitem 512, 1;
		resetskill;
	} else {
		if ( !countitem( 909 ) ) end;
		delitem 909, 1;
		resetstatus;
	}
	end;
}

 

Posibble

 

for this 

 

script 

 

to be used for items, at the moment its zeny

 

Edited by cmsm94

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