tutorrockall Posted August 27, 2024 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 1 Reputation: 0 Joined: 08/27/24 Last Seen: August 29, 2024 Share Posted August 27, 2024 (edited) Hi everyone, Can someone guide me on the exact steps to add a custom skill to rAthena? I’m a bit confused about the process and would appreciate a clear explanation or reference to a tutorial. Thanks! level devil Edited August 29, 2024 by tutorrockall Quote Link to comment Share on other sites More sharing options...
0 Poring King Posted August 27, 2024 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted August 27, 2024 5 hours ago, tutorrockall said: Hi everyone, Can someone guide me on the exact steps to add a custom skill to rAthena? I’m a bit confused about the process and would appreciate a clear explanation or reference to a tutorial. Thanks! rAthena Wiki is your friend Quote Link to comment Share on other sites More sharing options...
0 Faust Posted September 3, 2024 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 16 Reputation: 0 Joined: 10/24/21 Last Seen: September 18, 2024 Share Posted September 3, 2024 (edited) On 8/27/2024 at 3:58 AM, tutorrockall said: Hi everyone, Can someone guide me on the exact steps to add a custom skill to rAthena? I’m a bit confused about the process and would appreciate a clear explanation or reference to a tutorial. Thanks! level devil You need to find the write file to edit to add your code snippet to give the desired effect, but here the various files i had to modify to make the skill, implement it, and see it in the right skill tab. The effects that i wanted to apply are based on a skill detection, if it has been learned then the character can wear equipment and weapons based on his level, just not the specialized weapons such as gun/bow/whip,etc, which I had to put in pc.cpp. //SUPERNOVICE LINK GIVES PASSIVE ATTRIBUTES // Put before SC_STRIPWEAPON if (pc_checkskill(sd, SN_MASTERY) > 0) { //Spirit of Super Novice equip bonuses. [Skotlex] if (item && (item->equip & (EQP_HELM | EQP_ARMOR | EQP_SHIELD | EQP_GARMENT | EQP_SHOES | EQP_ACC | EQP_ARMS))) { return ITEM_EQUIP_ACK_OK; } if (item->equip & EQP_ARMS && item->type == IT_WEAPON) switch (item->subtype) { //In weapons, the look determines type of weapon. case W_DAGGER: //All level 4 - Daggers case W_1HSWORD: //All level 4 - 1H Swords case W_1HAXE: //All level 4 - 1H Axes case W_MACE: //All level 4 - 1H Maces case W_STAFF: //All level 4 - 1H Staves case W_2HSTAFF: //All level 4 - 2H Staves return ITEM_EQUIP_ACK_OK; } } Edited September 3, 2024 by Faust Quote Link to comment Share on other sites More sharing options...
Question
tutorrockall
Hi everyone,
Can someone guide me on the exact steps to add a custom skill to rAthena? I’m a bit confused about the process and would appreciate a clear explanation or reference to a tutorial.
Thanks!
Edited by tutorrockalllevel devil
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.