보병 상대 회피율 변경
This commit is contained in:
@@ -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