diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-17 21:53:35 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-17 21:53:35 +0000 |
commit | 5dd30dfcb7740efc53d840a2bf6b5380338404a2 (patch) | |
tree | edb94d7051cde3ec6ee44106e4f01b2258f1c577 | |
parent | 012234bf93680d53c1f62cb14306fe26e5975957 (diff) | |
download | hercules-5dd30dfcb7740efc53d840a2bf6b5380338404a2.tar.gz hercules-5dd30dfcb7740efc53d840a2bf6b5380338404a2.tar.bz2 hercules-5dd30dfcb7740efc53d840a2bf6b5380338404a2.tar.xz hercules-5dd30dfcb7740efc53d840a2bf6b5380338404a2.zip |
Fixed bugreport:5304 flee calculation on renewal, thanks to Angezerus and Vali!
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15704 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | src/map/battle.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 012877418..7e2911392 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3644,7 +3644,11 @@ struct Damage battle_calc_misc_attack(struct block_list *src,struct block_list * else { 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) |