nesotomayor Posted July 7, 2014 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 122 Reputation: 0 Joined: 06/08/14 Last Seen: October 2, 2014 Share Posted July 7, 2014 Hi All, Seeking for your assistance on how to change the requirements on this script into 100tcg. because the requirements on this script is zeny. //===== rAthena Script ======================================= //= Reset NPC //===== By: ================================================== //= rAthena Dev Team //===== Current Version: ===================================== //= 1.3 //===== Compatible With: ===================================== //= rAthena SVN //===== 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,141,177,4 script Reset Girl 123,{ set .@ResetStat,5000; // Zeny for stat reset set .@ResetSkill,5000; // Zeny for skill reset set .@ResetBoth,9000; // Zeny for resetting both together mes "[Reset Girl]"; mes "I am the Reset Girl."; mes "Reset Stats: "+ .@ResetStat +"z"; mes "Reset Skills: "+ .@ResetSkill +"z"; mes "Reset Both: "+ .@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; } set Zeny, 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; } set Zeny, 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; } set Zeny, Zeny-.@ResetBoth; sc_end SC_ALL; ResetSkill; ResetStatus; mes "There you go!"; close; case 4: close; } } Please advise, Thanks, Quote Link to comment Share on other sites More sharing options...
Question
nesotomayor
Hi All,
Seeking for your assistance on how to change the requirements on this script into 100tcg. because the requirements on this script is zeny.
Link to comment
Share on other sites
0 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.