summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 0c7d7d109..31a20082f 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -2758,7 +2758,7 @@ struct Damage battle_calc_misc_attack(struct block_list *src,struct block_list *
cardfix=cardfix*(100-tsd->long_attack_def_rate)/100;
if (cardfix != 10000)
- md.damage=md.damage*(cardfix/10000);
+ md.damage=md.damage*((double)cardfix/10000);
}
if (sd && (i = pc_skillatk_bonus(sd, skill_num)))