diff options
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 85f6c6382..28fa8f0ce 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -2627,8 +2627,8 @@ int skill_castend_damage_id( struct block_list* src, struct block_list *bl,int s rate = rate<=5?5:rate; if (sc_data && sc_data[SC_FREEZE].timer != -1) { skill_attack(BF_MAGIC,src,src,bl,skillid,skilllv,tick,flag); - } else if (sd) { - clif_skill_fail(sd,skillid,0,0); + if (sd) + clif_skill_fail(sd,skillid,0,0); break; } damage = skill_attack(BF_MAGIC,src,src,bl,skillid,skilllv,tick,flag); @@ -10024,7 +10024,7 @@ int skill_status_change_start(struct block_list *bl, int type, int val1, int val if(val1>5) //レベルが5以上の場合は25?に制限(1?目はすでに打ってるので-1) val3=5*5-1; else - val3= (val1|1)*(val1|1)-1; + val3= (val1|1)*(val1|1)-1; break; /* スキルじゃない/時間に?係しない */ |