summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakrus <akrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-04-24 12:58:35 +0000
committerakrus <akrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-04-24 12:58:35 +0000
commited8a48f2f265d0c669601b725185229cfc21f185 (patch)
tree8de402de9e318ab51c72b848218cee1c1e7bd52d
parent75e90443fb9402967c1675131e15eb8d147ab2e8 (diff)
downloadhercules-ed8a48f2f265d0c669601b725185229cfc21f185.tar.gz
hercules-ed8a48f2f265d0c669601b725185229cfc21f185.tar.bz2
hercules-ed8a48f2f265d0c669601b725185229cfc21f185.tar.xz
hercules-ed8a48f2f265d0c669601b725185229cfc21f185.zip
* Lil fix for my last commit. Sorry :)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13696 54d463be-8e91-2dee-dedb-b68131a5f0ec
-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)))