Jump to content
  • 0

is it possible to make an AoE magic skill to target specific race only?


Question

Posted (edited)

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 laonglaing

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

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