Sfoglia il codice sorgente

Fixed bugreport:5304 flee calculation on renewal, thanks to Angezerus and Vali!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15704 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind 13 anni fa
parent
commit
e226823124
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 5 1
      src/map/battle.c

+ 5 - 1
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)