diff --git a/hwe/sammo/Command/General/che_징병.php b/hwe/sammo/Command/General/che_징병.php index e166d78a..fd271678 100644 --- a/hwe/sammo/Command/General/che_징병.php +++ b/hwe/sammo/Command/General/che_징병.php @@ -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); diff --git a/hwe/sammo/WarUnitGeneral.php b/hwe/sammo/WarUnitGeneral.php index 781fa579..a11455e6 100644 --- a/hwe/sammo/WarUnitGeneral.php +++ b/hwe/sammo/WarUnitGeneral.php @@ -286,6 +286,7 @@ class WarUnitGeneral extends WarUnit $rice *= $this->crewType->rice; $rice *= getTechCost($this->getNationVar('tech')); + $rice = $this->general->onCalcStat($this->general, 'killRice', $rice); $general->increaseVarWithLimit('rice', -$rice, 0);