as what the title ask, im trying to modify some AoE skills that damages specific race only in the area. saw this method -> status_get_status_data(bl) but im unable to use it in this specific line of code since it directly targets to to BC_ENEMY already
map_foreachinallarea(skill_area_sub,
src->m, x - i, y - i, x + i, y + i, BL_CHAR,
src, skill_id, skill_lv, tick, flag | BCT_ENEMY | 1,
skill_castend_damage_id);
im trying to modify skills in skill.cpp under below method which doesn't pass the information of bl.
int skill_castend_pos2(struct block_list* src, int x, int y, uint16 skill_id, uint16 skill_lv, t_tick tick, int flag)
Question
laonglaing
as what the title ask, im trying to modify some AoE skills that damages specific race only in the area. saw this method -> status_get_status_data(bl) but im unable to use it in this specific line of code since it directly targets to to BC_ENEMY already
map_foreachinallarea(skill_area_sub,
src->m, x - i, y - i, x + i, y + i, BL_CHAR,
src, skill_id, skill_lv, tick, flag | BCT_ENEMY | 1,
skill_castend_damage_id);
im trying to modify skills in skill.cpp under below method which doesn't pass the information of bl.
int skill_castend_pos2(struct block_list* src, int x, int y, uint16 skill_id, uint16 skill_lv, t_tick tick, int flag)
any idea or suggestion for this?
Edited by laonglaing1 answer 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.