VAL2를 VAL_max로 변경

This commit is contained in:
2020-03-28 19:43:40 +09:00
parent 9fa2225283
commit d922993eaf
46 changed files with 175 additions and 175 deletions
@@ -190,7 +190,7 @@ class che_상업투자 extends Command\GeneralCommand{
static::$cityKey => Util::valueFit(
$this->city[static::$cityKey] + $score,
0,
$this->city[static::$cityKey.'2']
$this->city[static::$cityKey.'_max']
)
];
$db->update('city', $cityUpdated, 'city=%i', $general->getVar('city'));
@@ -198,7 +198,7 @@ class che_상업투자 extends Command\GeneralCommand{
$general->increaseVarWithLimit('gold', -$this->reqGold, 0);
$general->increaseVar('experience', $exp);
$general->increaseVar('dedication', $ded);
$general->increaseVar(static::$statKey.'2', 1);
$general->increaseVar(static::$statKey.'_max', 1);
$general->setResultTurn(new LastTurn(static::getName(), $this->arg));
$general->checkStatChange();
tryUniqueItemLottery($general);