보병 상대 회피율 변경
This commit is contained in:
1 parent
65718024e5
commit
7120bf8d3b
1 file changed
+4
-4
@@ -135,10 +135,6 @@ class WarUnitGeneral extends WarUnit{
|
|||||||
$avoidRatio = $this->getCrewType()->avoid / 100;
|
$avoidRatio = $this->getCrewType()->avoid / 100;
|
||||||
$avoidRatio *= $this->getComputedTrain() / 100;
|
$avoidRatio *= $this->getComputedTrain() / 100;
|
||||||
|
|
||||||
if($this->getOppose()->getCrewType()->armType == GameUnitConst::T_FOOTMAN){
|
|
||||||
$avoidRatio -= 0.05;
|
|
||||||
}
|
|
||||||
|
|
||||||
//특기보정 : 궁병
|
//특기보정 : 궁병
|
||||||
if($specialWar == 51){
|
if($specialWar == 51){
|
||||||
$avoidRatio += 0.2;
|
$avoidRatio += 0.2;
|
||||||
@@ -149,6 +145,10 @@ class WarUnitGeneral extends WarUnit{
|
|||||||
$avoidRatio += 0.2;
|
$avoidRatio += 0.2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($this->getOppose()->getCrewType()->armType == GameUnitConst::T_FOOTMAN){
|
||||||
|
$avoidRatio *= 0.75;
|
||||||
|
}
|
||||||
|
|
||||||
return $avoidRatio;
|
return $avoidRatio;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user