Jump to content
  • 0

Help! Adding skill Visual effects on Existing Support Skills


pueblodefairy

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  74
  • Reputation:   0
  • Joined:  01/24/15
  • Last Seen:  

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
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   166
  • Joined:  04/05/13
  • Last Seen:  

Find all with skill name in src folder.

Then find effect function and add it more.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  74
  • Reputation:   0
  • Joined:  01/24/15
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  217
  • Reputation:   16
  • Joined:  01/28/15
  • Last Seen:  

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!

Link to comment
Share on other sites

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.

×
×
  • Create New...