회피 잘못 적용되는 버그 수정

This commit is contained in:
2018-04-18 10:13:32 +09:00
parent 190fcabbac
commit 49f40d56b0
+1 -1
View File
@@ -1159,7 +1159,7 @@ function processWar($general, $city) {
}
//회피
$ratio = rand() % 100; // 0 ~ 99
$ratio2 = GameUnitConst::byID($oppose['crewtype'])->defence; //회피율
$ratio2 = GameUnitConst::byID($oppose['crewtype'])->avoid; //회피율
$ratio2 = Util::round($ratio2 * $oppose['train'] / 100); //훈련 반영
// 특기보정 : 돌격, 궁병
if($general['special2'] == 60) { $ratio2 -= 100; }