Eross Posted July 14, 2021 Group: Members Topic Count: 155 Topics Per Day: 0.11 Content Count: 349 Reputation: 12 Joined: 04/05/20 Last Seen: April 19, 2023 Share 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 Link to comment Share on other sites More sharing options...
0 Ronald Posted July 14, 2021 Group: Members Topic Count: 22 Topics Per Day: 0.01 Content Count: 241 Reputation: 18 Joined: 06/04/14 Last Seen: June 7, 2023 Share 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 Link to comment Share on other sites More sharing options...
0 Emistry Posted October 17, 2021 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10013 Reputation: 2345 Joined: 10/28/11 Last Seen: Monday at 04:56 PM Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.