보병 상대 회피율 변경

This commit is contained in:
2018-08-21 11:54:01 +09:00
parent b9e31e39e2
commit 6efaec6642
+4 -4
View File
@@ -135,10 +135,6 @@ class WarUnitGeneral extends WarUnit{
$avoidRatio = $this->getCrewType()->avoid / 100;
$avoidRatio *= $this->getComputedTrain() / 100;
if($this->getOppose()->getCrewType()->armType == GameUnitConst::T_FOOTMAN){
$avoidRatio -= 0.05;
}
//특기보정 : 궁병
if($specialWar == 51){
$avoidRatio += 0.2;
@@ -149,6 +145,10 @@ class WarUnitGeneral extends WarUnit{
$avoidRatio += 0.2;
}
if($this->getOppose()->getCrewType()->armType == GameUnitConst::T_FOOTMAN){
$avoidRatio *= 0.75;
}
return $avoidRatio;
}