I'm a big newb in source modification, I'm trying to implement a new mapflag called "instakill." as the name suggests, if the mapflag is turned on, 1 normal attack would output maximum damage to the target.
I've already figured out how to create my own mapflag, the only thing left to do is the damage modification that this mapflag would inflict. I was looking at
Question
Ninja
Hi rA,
I'm a big newb in source modification, I'm trying to implement a new mapflag called "instakill." as the name suggests, if the mapflag is turned on, 1 normal attack would output maximum damage to the target.
I've already figured out how to create my own mapflag, the only thing left to do is the damage modification that this mapflag would inflict. I was looking at
int64 battle_calc_damage(struct block_list *src,struct block_list *bl,struct Damage *d,int64 damage,uint16 skill_id,uint16 skill_lv)
but I'm not sure if it is the right one. Can someone please point me to the right direction?
Thanks in advance.
Link to comment
Share on other sites
7 answers 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.