瀏覽代碼

Follow up r15704, special thanks to Vali!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15721 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind 13 年之前
父節點
當前提交
b2914108cf
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      src/map/battle.c

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