summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-01-29 18:20:13 -0200
committershennetsind <ind@henn.et>2013-01-29 18:20:13 -0200
commit87a965fa2950ccd5b4653311800a13437564ef0e (patch)
treea3288667734e0fc1178d8685c3a1040dfa1b5a0a
parente15fe6131c970f8f7574d38f3a3cc62e1873a072 (diff)
downloadhercules-87a965fa2950ccd5b4653311800a13437564ef0e.tar.gz
hercules-87a965fa2950ccd5b4653311800a13437564ef0e.tar.bz2
hercules-87a965fa2950ccd5b4653311800a13437564ef0e.tar.xz
hercules-87a965fa2950ccd5b4653311800a13437564ef0e.zip
Fixed battle_calc_cardfix typo, Thanks to MaminhA's hawk eyes
Signed-off-by: shennetsind <ind@henn.et>
-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 24aa335af..2198b25ec 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -623,7 +623,7 @@ int battle_calc_cardfix(int attack_type, struct block_list *src, struct block_li
}
#endif
if( (left&1) && cardfix_ != 1000 )
- damage = damage * cardfix / 1000;
+ damage = damage * cardfix_ / 1000;
else if( cardfix != 1000 )
damage = damage * cardfix / 1000;