Eross Posted July 14, 2021 Posted July 14, 2021 Hi ! Is it possible to pick just 1 skill only to reset and refund skillpoints at the same time ??? instead of resetting all my skills .. Thanks Quote
0 Ronald Posted July 14, 2021 Posted July 14, 2021 8 hours ago, Origami said: Hi ! Is it possible to pick just 1 skill only to reset and refund skillpoints at the same time ??? instead of resetting all my skills .. Thanks I think that in order to do this you'll have to mess up with SQL skill id and level of charid. Basically what's your purpose on doing this? Just wondering Quote
0 Emistry Posted October 17, 2021 Posted October 17, 2021 getskilllist(); for (.@i = 0; .@i < @skilllist_count; .@i++) { if (@skilllist_lv[.@i] > 0 && (@skilllist_flag[] == SKILL_PERM || @skilllist_flag[] == SKILL_PERM_GRANT) .@menu$ = .@menu$ + "skill_id ["+@skilllist_id[.@i]+"] lv = "+ @skilllist_lv[.@i]; .@menu$ = .@menu$ + ":"; } .@i = select(.@menu$) - 1; addtoskill @skilllist_id[.@i], -@skilllist_lv[.@i]; SkillPoint += @skilllist_lv[.@i]; however, this is not advised to use at server that doesn't allow to bypass skill tree if you want to display the skill name, either create a src mod to retrieve the skill name from db/skill_db (or search forum) or store it in an array and retrieve it. Quote
Question
Eross
Hi ! Is it possible to pick just 1 skill only to reset and refund skillpoints at the same time ??? instead of resetting all my skills .. Thanks
2 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.