병종이 행동에 전투에 event로 개입 가능하도록 수정 중

This commit is contained in:
2019-04-29 01:01:47 +09:00
parent bbfe5c2ab0
commit afeaf01fdb
8 changed files with 141 additions and 24 deletions
+1
View File
@@ -95,6 +95,7 @@ class WarUnitGeneral extends WarUnit{
}
function getComputedAvoidRatio():float{
$general = $this->general;
$avoidRatio = $this->getCrewType()->avoid / 100;
$avoidRatio *= $this->getComputedTrain() / 100;