feat: 소모 군량 보정을 위한 trigger 추가
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user