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

This commit is contained in:
Hide_D committed 2021-12-26 20:06:39 +09:00
1 parent 8c36e9444a
commit 77a2e2b2d5
2 files changed
+2

No files matched your search

+1
View File
@@ -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);