Jump to content
  • 0

Question

Posted

Hi guys. I just wanted to know, how can I make the regular heal to be an aoe heal by 3x3?

For example if I use a skill to my party member or guild member the heal and the effect will be spread by 3x3 cell from the target member of the guild or party. and if someone uses the heal to a non member of the party or guild the effect of the heal will be the same as the normal heal...

I know this is something that needs to be modified in src/map/skill.cpp and I really dont know how to make it aoe.

I tried to use this code and its not working. 

map_foreachinrange(skill_area_sub, bl, skill_get_splash(skill_id, skill_lv) * 3, BL_CHAR, src, skill_id, skill_lv, tick, flag | BCT_PARTY | BCT_SAMEGUILD | 1, skill_castend_nodamage_id);

the compilation is successful but when I tried it the server is shutting down without giving me any error.

I hope someone can help me.

thank in advance.

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

Is there a way to modify it directly at src map/skill.cpp. because this 3x3 cell will only trigger if there the player is wearing a special item and if the player is not wearing this item the heal effect will work as the original.

Edited by neXus
  • 0
Posted

I think no one knows how to make it but I was able to figure out the right codes and its working exactly the way I wanted it to be. thanks. please close this topic

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...