Deity Posted October 18, 2013 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
Kichi Posted October 18, 2013 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
Deity Posted October 19, 2013 Author 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
Kichi Posted October 19, 2013 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
jigsam Posted October 19, 2013 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
Kreustoo Posted October 19, 2013 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
jigsam Posted October 19, 2013 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
Kichi Posted October 20, 2013 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
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
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.