pueblodefairy Posted April 28, 2019 Posted April 28, 2019 (edited) Hello, i am looking to add skill visual effect to existing supportive skills to change a little my server. Thanks a lot for guide me in this process. Edited April 28, 2019 by pueblodefairy Quote
0 Start_ Posted April 29, 2019 Posted April 29, 2019 Find all with skill name in src folder. Then find effect function and add it more. Quote
0 pueblodefairy Posted April 29, 2019 Author Posted April 29, 2019 can u give me an example? please, It sounds easy but i am not sure where to add skill name, for instance, i would like to add to my Homunculus S Dieter a visual effect for Magma Flow. how can i do that? Thanks for your help Quote
0 OscarScorp Posted April 29, 2019 Posted April 29, 2019 In src/map/skill.cpp, search (ctrl+f) for "MH_MAGMA_FLOW", at this part: case MH_MAGMA_FLOW: case MH_PAIN_KILLER: sc_start(src,bl, type, 100, skill_lv, skill_get_time(skill_id, skill_lv)); if (hd) skill_blockhomun_start(hd, skill_id, skill_get_cooldown(skill_id, skill_lv)); break; Add the following line below case "MH_MAGMA_FLOW:" clif_specialeffect(bl,1,AREA); //bl = target. or src = player. | 1 = effect ID or name | AREA = seen by everyone, can be changed to Player only if I remember correctly. You can find the effect list here or here. Hope it works for you! Quote
Question
pueblodefairy
Hello, i am looking to add skill visual effect to existing supportive skills to change a little my server. Thanks a lot for guide me in this process.
Edited by pueblodefairy3 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.