Jump to content
  • 0

Help! Adding skill Visual effects on Existing Support Skills


Question

Posted (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 by pueblodefairy

3 answers to this question

Recommended Posts

  • 0
Posted

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

  • 0
Posted

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!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...