보상 기준 변경, 버그 수정

This commit is contained in:
2020-05-10 04:50:10 +09:00
parent 14e267b4b0
commit fd4d10e6e7
4 changed files with 12 additions and 10 deletions
@@ -89,9 +89,7 @@ class che_상업투자 extends Command\GeneralCommand{
public function getCompensationStyle():?int{
$develCost = $this->env['develcost'];
$reqGold = $this->getCost()[0];
return $develCost <=>$reqGold;
return $this->generalObj->onCalcDomestic(static::$actionKey, 'score', 100)<=>100;
}
public function getPreReqTurn():int{
@@ -87,9 +87,7 @@ class che_정착장려 extends Command\GeneralCommand{
}
public function getCompensationStyle():?int{
$develCost = $this->env['develcost'] * 2;
$reqGold = $this->getCost()[1];
return $develCost <=>$reqGold;
return 100<=>$this->generalObj->onCalcDomestic(static::$actionKey, 'score', 100);
}
public function getPreReqTurn():int{
@@ -87,9 +87,7 @@ class che_주민선정 extends Command\GeneralCommand{
}
public function getCompensationStyle():?int{
$develCost = $this->env['develcost'] * 2;
$reqGold = $this->getCost()[1];
return $develCost <=>$reqGold;
return 100<=>$this->generalObj->onCalcDomestic(static::$actionKey, 'score', 100);
}
public function getPreReqTurn():int{