I managed to make tetravortex skill work on mob skill such as Fenrir's but the problem is the skill hits 2 times instead of 4 times. How do I increase the hit count on magic attack?
here is the code i implemented in skill.cpp
case WL_TETRAVORTEX:
skill_addtimerskill(src,tick,bl->id,0,0,skill_id,skill_lv,BF_MAGIC,flag);
case WL_TETRAVORTEX:
if (src->type == BL_MOB){
clif_skill_nodamage(src,target,skl->skill_id,skl->skill_lv,1);
skill_attack(BF_MAGIC,src,src,target,skl->skill_id,skl->skill_lv,tick,skl->flag|SD_ANIMATION);
}
Question
Slyx
Hello
I managed to make tetravortex skill work on mob skill such as Fenrir's but the problem is the skill hits 2 times instead of 4 times. How do I increase the hit count on magic attack?
here is the code i implemented in skill.cpp
case WL_TETRAVORTEX: skill_addtimerskill(src,tick,bl->id,0,0,skill_id,skill_lv,BF_MAGIC,flag); case WL_TETRAVORTEX: if (src->type == BL_MOB){ clif_skill_nodamage(src,target,skl->skill_id,skl->skill_lv,1); skill_attack(BF_MAGIC,src,src,target,skl->skill_id,skl->skill_lv,tick,skl->flag|SD_ANIMATION); }
Link to comment
Share on other sites
2 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.