징병 모병 추가, iAction 구조 일부 변경
This commit is contained in:
@@ -33,7 +33,7 @@ class TriggerGeneralLevel implements iAction{
|
||||
}
|
||||
}
|
||||
|
||||
public function onCalcDomestic(string $turnType, string $varType, float $value):float{
|
||||
public function onCalcDomestic(string $turnType, string $varType, float $value, $aux=null):float{
|
||||
if($turnType == '농업' || $turnType == '상업'){
|
||||
if(in_array($this->generalLevel, [12, 11, 9, 7, 5, 3])){
|
||||
return $value * 1.05;
|
||||
|
||||
Reference in New Issue
Block a user