Kudo Posted March 25, 2024 Posted March 25, 2024 1st reset = free 2nd time reset you need to pay 1m 3rd reset 2m zeny and so on.. either zeny or credit payment Thank you in advanced. Quote
0 Racaae Posted March 26, 2024 Posted March 26, 2024 Hi //===== rAthena Script ======================================= //= Reset NPC //===== 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] //= 1.4 Compressed Script, Added limit use option [Stolao] //= Changed set -> setarray, Improved text with F_InsertPlural //= 1.5 Added sc_end_class to reset related status changes [sader1992] //============================================================ prontera,150,193,4 script Custom Reset Girl 124,{ // Skills, Stats, Both, Limit setarray .@Reset, 1000000, 1000000, 1000000, 0; mes "[Reset Girl]"; if(.@Reset[3] && reset_limit > .@Reset[3]) { mes "Sorry you can only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+" in your life."; close; } mes "I am the Reset Girl."; mes "Each time you reset the price of the next reset will increase by " + F_InsertComma(.@Reset[2]) + "z."; if (reset_limit) { .@Reset[0] *= reset_limit; .@Reset[1] *= reset_limit; .@Reset[2] *= reset_limit; mes "Reset Stats: "+ callfunc("F_InsertComma",.@Reset[1]) +"z"; mes "Reset Skills: "+ callfunc("F_InsertComma",.@Reset[0]) +"z"; mes "Reset Both: "+ callfunc("F_InsertComma",.@Reset[2]) +"z"; } else mes "Since it's your 1st time, the reset is free!"; if (.@Reset[3]) mes "You may only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+", so use "+((.@Reset[3]>1)?"them":"it")+" wisely."; mes "Please select the service you want:"; next; set .@i,(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel")); if(.@i > 3) close; if (!reset_limit) .@Reset[.@i-1] = 0; mes "[Reset Girl]"; if (Zeny < .@Reset[.@i-1]) { mes "Sorry, you don't have enough Zeny."; close; } if(.@Reset[3]){ mes "You can only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+" in your life, are you sure?"; if(select("Let me think:That's fine") == 1) close; } set Zeny, Zeny-.@Reset[.@i-1]; if(.@i&1){ sc_end_class; ResetSkill; } if(.@i&2) ResetStatus; mes "There you go!"; reset_limit++; close; } Quote
0 Kudo Posted March 26, 2024 Author Posted March 26, 2024 2 hours ago, Racaae said: Hi //===== rAthena Script ======================================= //= Reset NPC //===== 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] //= 1.4 Compressed Script, Added limit use option [Stolao] //= Changed set -> setarray, Improved text with F_InsertPlural //= 1.5 Added sc_end_class to reset related status changes [sader1992] //============================================================ prontera,150,193,4 script Custom Reset Girl 124,{ // Skills, Stats, Both, Limit setarray .@Reset, 1000000, 1000000, 1000000, 0; mes "[Reset Girl]"; if(.@Reset[3] && reset_limit > .@Reset[3]) { mes "Sorry you can only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+" in your life."; close; } mes "I am the Reset Girl."; mes "Each time you reset the price of the next reset will increase by " + F_InsertComma(.@Reset[2]) + "z."; if (reset_limit) { .@Reset[0] *= reset_limit; .@Reset[1] *= reset_limit; .@Reset[2] *= reset_limit; mes "Reset Stats: "+ callfunc("F_InsertComma",.@Reset[1]) +"z"; mes "Reset Skills: "+ callfunc("F_InsertComma",.@Reset[0]) +"z"; mes "Reset Both: "+ callfunc("F_InsertComma",.@Reset[2]) +"z"; } else mes "Since it's your 1st time, the reset is free!"; if (.@Reset[3]) mes "You may only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+", so use "+((.@Reset[3]>1)?"them":"it")+" wisely."; mes "Please select the service you want:"; next; set .@i,(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel")); if(.@i > 3) close; if (!reset_limit) .@Reset[.@i-1] = 0; mes "[Reset Girl]"; if (Zeny < .@Reset[.@i-1]) { mes "Sorry, you don't have enough Zeny."; close; } if(.@Reset[3]){ mes "You can only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+" in your life, are you sure?"; if(select("Let me think:That's fine") == 1) close; } set Zeny, Zeny-.@Reset[.@i-1]; if(.@i&1){ sc_end_class; ResetSkill; } if(.@i&2) ResetStatus; mes "There you go!"; reset_limit++; close; } hi sir thank you for this script highly appreciated.. Quote
0 Kudo Posted March 26, 2024 Author Posted March 26, 2024 10 hours ago, Racaae said: Hi //===== rAthena Script ======================================= //= Reset NPC //===== 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] //= 1.4 Compressed Script, Added limit use option [Stolao] //= Changed set -> setarray, Improved text with F_InsertPlural //= 1.5 Added sc_end_class to reset related status changes [sader1992] //============================================================ prontera,150,193,4 script Custom Reset Girl 124,{ // Skills, Stats, Both, Limit setarray .@Reset, 1000000, 1000000, 1000000, 0; mes "[Reset Girl]"; if(.@Reset[3] && reset_limit > .@Reset[3]) { mes "Sorry you can only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+" in your life."; close; } mes "I am the Reset Girl."; mes "Each time you reset the price of the next reset will increase by " + F_InsertComma(.@Reset[2]) + "z."; if (reset_limit) { .@Reset[0] *= reset_limit; .@Reset[1] *= reset_limit; .@Reset[2] *= reset_limit; mes "Reset Stats: "+ callfunc("F_InsertComma",.@Reset[1]) +"z"; mes "Reset Skills: "+ callfunc("F_InsertComma",.@Reset[0]) +"z"; mes "Reset Both: "+ callfunc("F_InsertComma",.@Reset[2]) +"z"; } else mes "Since it's your 1st time, the reset is free!"; if (.@Reset[3]) mes "You may only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+", so use "+((.@Reset[3]>1)?"them":"it")+" wisely."; mes "Please select the service you want:"; next; set .@i,(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel")); if(.@i > 3) close; if (!reset_limit) .@Reset[.@i-1] = 0; mes "[Reset Girl]"; if (Zeny < .@Reset[.@i-1]) { mes "Sorry, you don't have enough Zeny."; close; } if(.@Reset[3]){ mes "You can only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+" in your life, are you sure?"; if(select("Let me think:That's fine") == 1) close; } set Zeny, Zeny-.@Reset[.@i-1]; if(.@i&1){ sc_end_class; ResetSkill; } if(.@i&2) ResetStatus; mes "There you go!"; reset_limit++; close; } sir can you modify this script in 1st time reset free 2nd time 3m and then 3rd time 5m and for the next reset will stop increase and it will stack on 5m ever reset. Quote
0 Racaae Posted March 28, 2024 Posted March 28, 2024 On 3/26/2024 at 1:44 PM, Kudo said: sir can you modify this script in 1st time reset free 2nd time 3m and then 3rd time 5m and for the next reset will stop increase and it will stack on 5m ever reset. //===== rAthena Script ======================================= //= Reset NPC //===== 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] //= 1.4 Compressed Script, Added limit use option [Stolao] //= Changed set -> setarray, Improved text with F_InsertPlural //= 1.5 Added sc_end_class to reset related status changes [sader1992] //============================================================ // https://rathena.org/board/topic/141328-requesting-for-custom-reset-girl/ //============================================================ prontera,150,193,4 script Custom Reset Girl 124,{ // 1st, 2nd, 3rd, Limit setarray .@Reset, 0, 3000000, 5000000, 0; mes "[Reset Girl]"; if(.@Reset[3] && reset_limit > .@Reset[3]) { mes "Sorry you can only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+" in your life."; close; } mes "I am the Reset Girl."; mes "Please select the service you want:"; if (.@Reset[3]) mes "You may only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+", so use "+((.@Reset[3]>1)?"them":"it")+" wisely."; mes " "; mes "1st reset: " + (.@Reset[0]?F_InsertComma(.@Reset[0])+"z":"free"); mes "2nd reset: " + F_InsertComma(.@Reset[1]) +"z"; mes "3rd onwards: " + F_InsertComma(.@Reset[2]) +"z"; next; set .@i,(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel")); if(.@i > 3) close; .@z = .@Reset[(reset_limit>2?2:reset_limit)]; mes "[Reset Girl]"; if (Zeny < .@z) { mes "Sorry, you don't have enough Zeny."; close; } if(.@Reset[3]){ mes "You can only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+" in your life, are you sure?"; if(select("Let me think:That's fine") == 1) close; } Zeny -= .@z; if(.@i&1){ sc_end_class; ResetSkill; } if(.@i&2) ResetStatus; mes "There you go!"; reset_limit++; close; } Quote
0 Kudo Posted March 30, 2024 Author Posted March 30, 2024 On 3/28/2024 at 2:20 PM, Racaae said: //===== rAthena Script ======================================= //= Reset NPC //===== 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] //= 1.4 Compressed Script, Added limit use option [Stolao] //= Changed set -> setarray, Improved text with F_InsertPlural //= 1.5 Added sc_end_class to reset related status changes [sader1992] //============================================================ // https://rathena.org/board/topic/141328-requesting-for-custom-reset-girl/ //============================================================ prontera,150,193,4 script Custom Reset Girl 124,{ // 1st, 2nd, 3rd, Limit setarray .@Reset, 0, 3000000, 5000000, 0; mes "[Reset Girl]"; if(.@Reset[3] && reset_limit > .@Reset[3]) { mes "Sorry you can only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+" in your life."; close; } mes "I am the Reset Girl."; mes "Please select the service you want:"; if (.@Reset[3]) mes "You may only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+", so use "+((.@Reset[3]>1)?"them":"it")+" wisely."; mes " "; mes "1st reset: " + (.@Reset[0]?F_InsertComma(.@Reset[0])+"z":"free"); mes "2nd reset: " + F_InsertComma(.@Reset[1]) +"z"; mes "3rd onwards: " + F_InsertComma(.@Reset[2]) +"z"; next; set .@i,(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel")); if(.@i > 3) close; .@z = .@Reset[(reset_limit>2?2:reset_limit)]; mes "[Reset Girl]"; if (Zeny < .@z) { mes "Sorry, you don't have enough Zeny."; close; } if(.@Reset[3]){ mes "You can only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+" in your life, are you sure?"; if(select("Let me think:That's fine") == 1) close; } Zeny -= .@z; if(.@i&1){ sc_end_class; ResetSkill; } if(.@i&2) ResetStatus; mes "There you go!"; reset_limit++; close; } than you for this sir. already worked. Quote
Question
Kudo
1st reset = free
2nd time reset you need to pay 1m
3rd reset 2m zeny and so on..
either zeny or credit payment
Thank you in advanced.
5 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.