Deity Posted October 18, 2013 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 93 Reputation: 0 Joined: 03/04/12 Last Seen: October 23, 2016 Share Posted October 18, 2013 how do i add a custom skill requirement on a certain skill? ex. to get level2 comet they need to finish a quest Quote Link to comment Share on other sites More sharing options...
Kichi Posted October 18, 2013 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 509 Reputation: 80 Joined: 11/20/11 Last Seen: October 3, 2020 Share Posted October 18, 2013 how do i add a custom skill requirement on a certain skill? ex. to get level2 comet they need to finish a quest you don't need source modif just edit your comet max skill level to 1 db/pre-re/skill_db.txt db/re/skill_db.txt 2213,11,8,2,0,0x2,15,5,-20,yes,0,0,0,magic,2, WL_COMET,Comet to 2213,11,8,2,0,0x2,15,1,-20,yes,0,0,0,magic,2, WL_COMET,Comet and than you need build the NPC quest. After bla bla finish the quest, this code will increase the comet to level 2 skill 2213,2,0; // Make the char get level 2 comet that is only the main idea, you need some conditions check, to make your script nice Quote Link to comment Share on other sites More sharing options...
Deity Posted October 19, 2013 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 93 Reputation: 0 Joined: 03/04/12 Last Seen: October 23, 2016 Author Share Posted October 19, 2013 i did that, even changed the skill into a quest skill but it didn't work once player have extra skill points they will be able to increase its level anytime Quote Link to comment Share on other sites More sharing options...
Kichi Posted October 19, 2013 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 509 Reputation: 80 Joined: 11/20/11 Last Seen: October 3, 2020 Share Posted October 19, 2013 client side skillinfolist.lub [SKID.WL_COMET] = { "WL_COMET"; SkillName = "Comet", MaxLv = 1, SpAmount = { 480}, bSeperateLv = true, AttackRange = { 11}, _NeedSkillList = { { SKID.WL_HELLINFERNO,3 } } }, Quote Link to comment Share on other sites More sharing options...
jigsam Posted October 19, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 28 Reputation: 0 Joined: 09/21/13 Last Seen: January 3, 2020 Share Posted October 19, 2013 (edited) I think it's client side limitation. I saw this http://rathena.org/wiki/Adding_new_skills and there's a sentence says: To support the skill in the actual client, assuming you're using XRay (required to add new IDs for skills) I'm messing around with skillinfolist.lua, skilldescript.lua, skillinfolist.lua and no luck. Edited October 19, 2013 by jigsam Quote Link to comment Share on other sites More sharing options...
Kreustoo Posted October 19, 2013 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 216 Reputation: 45 Joined: 05/03/13 Last Seen: March 9 Share Posted October 19, 2013 If we only change on the client, any player can change the files and be able to get the level 2, no ? Quote Link to comment Share on other sites More sharing options...
jigsam Posted October 19, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 28 Reputation: 0 Joined: 09/21/13 Last Seen: January 3, 2020 Share Posted October 19, 2013 If we only change on the client, any player can change the files and be able to get the level 2, no ? but he's already giving this: 2213,11,8,2,0,0x2,15,1,-20,yes,0,0,0,magic,2, WL_COMET,Comet max lvl 1. Quote Link to comment Share on other sites More sharing options...
Kichi Posted October 20, 2013 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 509 Reputation: 80 Joined: 11/20/11 Last Seen: October 3, 2020 Share Posted October 20, 2013 and yes, player could by pass it by editing lub. make the lub encrypted to make ur player more harder to find. tried to make client side crimson rock to level 10, and i able to increase crimson to level 10, but when you click spend skill, only 5 will only the max. i think its because the client. Or if you want more complex source snippet, you need contact me in PM Quote Link to comment Share on other sites More sharing options...
Question
Deity
how do i add a custom skill requirement on a certain skill?
ex.
to get level2 comet they need to finish a quest
Link to comment
Share on other sites
7 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.