iAmNo7 Posted June 19, 2017 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 06/19/17 Last Seen: October 24, 2018 Share Posted June 19, 2017 Hye guys, can i request script for reset NPC like below : - For below level 80, free reset stat, skill or both - For 81 and above, need to pay 300k zeny for stat n skill or 550k for both - User also can choose either they wan to reset skill, stat or both Really need your help guys. Thanks so much. :-) Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted June 19, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted June 19, 2017 geffen,124,68,4 script Reset Girl 124,{ if ( BaseLevel > 80 ) { .@ResetStat = 300000; // Zeny for stat reset .@ResetSkill = 300000; // Zeny for skill reset .@ResetBoth = 550000; // Zeny for resetting both together } .@ResetStat = 0; // Zeny for stat reset .@ResetSkill = 0; // Zeny for skill reset .@ResetBoth = 0; // Zeny for resetting both together //please use these to reset the lowbie if possible //.@ResetLowbieStat = 0; //Zeny for stat reset - lowbie //.@ResetLowbieSkill = 0; //Zeny for stat reset - lowbie //if( i don't know how to get the player's level here, i want to give the free reset to anyone below 80) 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 (Zeny < .@ResetSkill) { mes "Sorry, you don't have enough Zeny."; close; } Zeny -= .@ResetSkill; sc_end SC_ALL; resetskill; mes "There you go!"; close; case 2: mes "[Reset Girl]"; if (Zeny < .@ResetStat) { mes "Sorry, you don't have enough Zeny."; close; } Zeny -= .@ResetStat; resetstatus; mes "There you go!"; close; case 3: mes "[Reset Girl]"; if (Zeny < .@ResetBoth) { mes "Sorry, you don't have enough Zeny."; close; } Zeny -= .@ResetBoth; sc_end SC_ALL; resetskill; resetstatus; mes "There you go!"; close; case 4: close; } } Quote Link to comment Share on other sites More sharing options...
0 iAmNo7 Posted June 20, 2017 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 06/19/17 Last Seen: October 24, 2018 Author Share Posted June 20, 2017 Hye Bro, I already try your script but not deduct zeny if reset for level81 above Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted June 20, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted June 20, 2017 3 hours ago, iAmNo7 said: Hye Bro, I already try your script but not deduct zeny if reset for level81 above any console errors? geffen,124,68,4 script Reset Girl 124,{ if ( BaseLevel < 80 ) { .@ResetStat = 1; // Zeny for stat reset .@ResetSkill = 1; // Zeny for skill reset .@ResetBoth = 1; // Zeny for resetting both together } .@ResetStat = 300000; // Zeny for stat reset .@ResetSkill = 300000; // Zeny for skill reset .@ResetBoth = 550000; // Zeny for resetting both together //please use these to reset the lowbie if possible //.@ResetLowbieStat = 0; //Zeny for stat reset - lowbie //.@ResetLowbieSkill = 0; //Zeny for stat reset - lowbie //if( i don't know how to get the player's level here, i want to give the free reset to anyone below 80) 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 (Zeny < .@ResetSkill) { mes "Sorry, you don't have enough Zeny."; close; } Zeny -= .@ResetSkill; sc_end SC_ALL; resetskill; mes "There you go!"; close; case 2: mes "[Reset Girl]"; if (Zeny < .@ResetStat) { mes "Sorry, you don't have enough Zeny."; close; } Zeny -= .@ResetStat; resetstatus; mes "There you go!"; close; case 3: mes "[Reset Girl]"; if (Zeny < .@ResetBoth) { mes "Sorry, you don't have enough Zeny."; close; } Zeny -= .@ResetBoth; sc_end SC_ALL; resetskill; resetstatus; mes "There you go!"; close; case 4: close; } } Quote Link to comment Share on other sites More sharing options...
0 iAmNo7 Posted June 21, 2017 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 06/19/17 Last Seen: October 24, 2018 Author Share Posted June 21, 2017 Thanx bro its done, thanx so much ! Quote Link to comment Share on other sites More sharing options...
Question
iAmNo7
Hye guys, can i request script for reset NPC like below :
- For below level 80, free reset stat, skill or both
- For 81 and above, need to pay 300k zeny for stat n skill or 550k for both
- User also can choose either they wan to reset skill, stat or both
Really need your help guys. Thanks so much. :-)
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.