feat: 소모 군량 보정을 위한 trigger 추가

This commit is contained in:
2021-12-26 20:06:39 +09:00
parent 1bbeb4f50d
commit c9f28e27d2
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -150,6 +150,7 @@ class che_징병 extends Command\GeneralCommand
$reqGold = $this->generalObj->onCalcDomestic('징병', 'cost', $reqGold, ['armType' => $this->reqCrewType->armType]);
$reqGold *= static::$costOffset;
$reqRice = $this->maxCrew / 100;
$reqRice = $this->generalObj->onCalcDomestic('징병', 'rice', $reqRice, ['armType' => $this->reqCrewType->armType]);
$reqGold = Util::round($reqGold);
$reqRice = Util::round($reqRice);