summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)