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