턴 커맨드에 getPreReqTurn, getPostReqTurn 추가

This commit is contained in:
2018-10-03 17:45:47 +09:00
parent 1d0bcd857e
commit a33a7317cc
6 changed files with 70 additions and 10 deletions
@@ -30,14 +30,15 @@ class che_기술연구 extends che_상업투자{
$this->setCity();
$this->setNation();
$develCost = $this->env['develcost'];
$reqGold = $general->onCalcDomestic(static::$actionKey, 'cost', $reqGold);
[$reqGold, $reqRice] = $this->getCost();
$this->runnableConstraints=[
['NoNeutral'],
['NoWanderingNation'],
['OccupiedCity'],
['SuppliedCity'],
['ReqGeneralGold', $reqGold],
['ReqGeneralRice', $reqRice],
['ReqGeneralGold', $reqGold]
];