VAL2를 VAL_max로 변경
This commit is contained in:
@@ -175,7 +175,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'));
|
||||
@@ -183,7 +183,7 @@ class che_정착장려 extends Command\GeneralCommand{
|
||||
$general->increaseVarWithLimit('rice', -$this->reqRice, 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);
|
||||
|
||||
Reference in New Issue
Block a user