summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-18 14:40:34 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-18 14:40:34 +0000
commit3bc53e4c8cac112141f97edee72935408bdf0c4a (patch)
tree625941b07616cf6297867578554a4018eed398bb /src/map
parent054b1c4b7a64db933f141f035e21aa98e567755e (diff)
downloadhercules-3bc53e4c8cac112141f97edee72935408bdf0c4a.tar.gz
hercules-3bc53e4c8cac112141f97edee72935408bdf0c4a.tar.bz2
hercules-3bc53e4c8cac112141f97edee72935408bdf0c4a.tar.xz
hercules-3bc53e4c8cac112141f97edee72935408bdf0c4a.zip
Follow up r15704, special thanks to Vali!
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15721 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/battle.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 08fcceeb5..d9ef2b325 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1406,7 +1406,11 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
{ //Hit/Flee calculation
short
flee = tstatus->flee,
- hitrate=80; //Default hitrate
+#if REMODE
+ hitrate = 0; //Default hitrate
+#else
+ hitrate = 80; //Default hitrate
+#endif
if(battle_config.agi_penalty_type &&
battle_config.agi_penalty_target&target->type)