skymia Posted October 8, 2018 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 02/19/17 Last Seen: May 26, 2024 Share Posted October 8, 2018 How to make this item to be usable? so that i will not use any npc to reset my skills and stats...TIA 6320,Premium_Reset_Stone,Premium Reset Stone,3,20,,0,,,,,,,,,,,,,{},{},{} Quote Link to comment Share on other sites More sharing options...
0 Katakuri Posted October 9, 2018 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 110 Reputation: 57 Joined: 05/29/18 Last Seen: 1 hour ago Share Posted October 9, 2018 try 6320,Premium_Reset_Stone,Premium Reset Stone,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ atcommand "@streset"; atcommand "@resetskill"; } Quote Link to comment Share on other sites More sharing options...
1 Bringer Posted October 8, 2018 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Friday at 09:17 AM Share Posted October 8, 2018 1 hour ago, skymia said: How to make this item to be usable? so that i will not use any npc to reset my skills and stats...TIA 6320,Premium_Reset_Stone,Premium Reset Stone,3,20,,0,,,,,,,,,,,,,{},{},{} // Neuralizer //============================================================ // - Reset players skills. Weight must be 0, options must be off. // - No arguments. function script F_CashReset { if (Class != Job_Novice && Weight == 0 && !checkriding() && !checkfalcon() && !checkcart() && !ismounting() && !checkdragon()) { resetskill; sc_end SC_ALL; if (countitem(12213)) delitem 12213,1; } return; } Neuralizer Item ID# 12213 (Neuralizer) look up sprite name Type Delayed-Consumable Class n/a Buy 2z Sell 1z Weight 0 Description Pressing the button on this stick will flash blinding light that seems to cause memory loss. Resets the Skill Tree and gives the corresponding number of Skill Points. This item can only be used in town, and the character must carry 0 weight, and can not be equipped with a Pushcart, Falcon, or PecoPeco. Can not be used by Novice Class. Item Script { callfunc "F_CashReset"; },{},{} make a new function for resetstats Quote Link to comment Share on other sites More sharing options...
0 skymia Posted October 9, 2018 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 02/19/17 Last Seen: May 26, 2024 Author Share Posted October 9, 2018 10 hours ago, Bringer said: // Neuralizer //============================================================ // - Reset players skills. Weight must be 0, options must be off. // - No arguments. function script F_CashReset { if (Class != Job_Novice && Weight == 0 && !checkriding() && !checkfalcon() && !checkcart() && !ismounting() && !checkdragon()) { resetskill; sc_end SC_ALL; if (countitem(12213)) delitem 12213,1; } return; } Neuralizer Item ID# 12213 (Neuralizer) look up sprite name Type Delayed-Consumable Class n/a Buy 2z Sell 1z Weight 0 Description Pressing the button on this stick will flash blinding light that seems to cause memory loss. Resets the Skill Tree and gives the corresponding number of Skill Points. This item can only be used in town, and the character must carry 0 weight, and can not be equipped with a Pushcart, Falcon, or PecoPeco. Can not be used by Novice Class. Item Script { callfunc "F_CashReset"; },{},{} make a new function for resetstats i mean is if i double click the item my skill or stat will reset Quote Link to comment Share on other sites More sharing options...
0 Bringer Posted October 9, 2018 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Friday at 09:17 AM Share Posted October 9, 2018 Type: Purpose of the item. 0 = Usable : healing 2 = Usable : other 3 = Misc 4 = Armor 5 = Weapon 6 = Card 7 = Pet Egg 8 = Pet Equipment 10 = Arrow/Ammunition 11 = Usable with delayed consumption (intended for 'itemskill'). Items using the 'itemskill' script command are consumed after selecting a target. Any other command will NOT consume the item. 12 = Shadow Equipment 18 = Another delayed consume that requires user confirmation before using item. for more info https://github.com/rathena/rathena/wiki/Custom-Items Quote Link to comment Share on other sites More sharing options...
0 skymia Posted October 9, 2018 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 02/19/17 Last Seen: May 26, 2024 Author Share Posted October 9, 2018 3 hours ago, Katakuri said: try 6320,Premium_Reset_Stone,Premium Reset Stone,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ atcommand "@streset"; atcommand "@resetskill"; } ok sir i will check it later Quote Link to comment Share on other sites More sharing options...
Question
skymia
How to make this item to be usable?
so that i will not use any npc to reset my skills and stats...TIA
6320,Premium_Reset_Stone,Premium Reset Stone,3,20,,0,,,,,,,,,,,,,{},{},{}
Link to comment
Share on other sites
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.