pueblodefairy Posted April 28, 2019 Group: Members Topic Count: 19 Topics Per Day: 0.01 Content Count: 74 Reputation: 0 Joined: 01/24/15 Last Seen: December 10, 2024 Share 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 Link to comment Share on other sites More sharing options...
0 Start_ Posted April 29, 2019 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 938 Reputation: 173 Joined: 04/05/13 Last Seen: 12 hours ago Share Posted April 29, 2019 Find all with skill name in src folder. Then find effect function and add it more. Quote Link to comment Share on other sites More sharing options...
0 pueblodefairy Posted April 29, 2019 Group: Members Topic Count: 19 Topics Per Day: 0.01 Content Count: 74 Reputation: 0 Joined: 01/24/15 Last Seen: December 10, 2024 Author Share 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 Link to comment Share on other sites More sharing options...
0 OscarScorp Posted April 29, 2019 Group: Members Topic Count: 62 Topics Per Day: 0.02 Content Count: 217 Reputation: 16 Joined: 01/28/15 Last Seen: February 25, 2022 Share 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 Link to comment Share on other sites More sharing options...
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 pueblodefairyLink to comment
Share on other sites
3 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.