fix: 커맨드의 aux값값
This commit is contained in:
@@ -183,7 +183,7 @@ class che_건국 extends Command\GeneralCommand
|
|||||||
$general->addExperience($exp);
|
$general->addExperience($exp);
|
||||||
$general->addDedication($ded);
|
$general->addDedication($ded);
|
||||||
|
|
||||||
$aux = Json::decode($this->nation['aux']) ?? [];
|
$aux = $this->nation['aux'];
|
||||||
$aux['can_국기변경'] = 1;
|
$aux['can_국기변경'] = 1;
|
||||||
|
|
||||||
$db->update('city', [
|
$db->update('city', [
|
||||||
|
|||||||
@@ -194,7 +194,7 @@ class che_무작위건국 extends Command\GeneralCommand
|
|||||||
$general->addExperience($exp);
|
$general->addExperience($exp);
|
||||||
$general->addDedication($ded);
|
$general->addDedication($ded);
|
||||||
|
|
||||||
$aux = Json::decode($this->nation['aux']) ?? [];
|
$aux = $this->nation['aux'];
|
||||||
$aux['can_국기변경'] = 1;
|
$aux['can_국기변경'] = 1;
|
||||||
$aux['can_무작위수도이전'] = 1;
|
$aux['can_무작위수도이전'] = 1;
|
||||||
|
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ class cr_건국 extends Command\GeneralCommand
|
|||||||
$general->addExperience($exp);
|
$general->addExperience($exp);
|
||||||
$general->addDedication($ded);
|
$general->addDedication($ded);
|
||||||
|
|
||||||
$aux = Json::decode($this->nation['aux']) ?? [];
|
$aux = $this->nation['aux'];
|
||||||
$aux['can_국기변경'] = 1;
|
$aux['can_국기변경'] = 1;
|
||||||
|
|
||||||
$db->update('city', [
|
$db->update('city', [
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ class che_국기변경 extends Command\NationCommand
|
|||||||
$josaYi = JosaUtil::pick($generalName, '이');
|
$josaYi = JosaUtil::pick($generalName, '이');
|
||||||
$josaYiNation = JosaUtil::pick($nationName, '이');
|
$josaYiNation = JosaUtil::pick($nationName, '이');
|
||||||
|
|
||||||
$aux = Json::decode($this->nation['aux']);
|
$aux = $this->nation['aux'];
|
||||||
$aux["can_{$actionName}"] = 0;
|
$aux["can_{$actionName}"] = 0;
|
||||||
|
|
||||||
$db->update('nation', [
|
$db->update('nation', [
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ class che_국호변경 extends Command\NationCommand
|
|||||||
$josaYi = JosaUtil::pick($generalName, '이');
|
$josaYi = JosaUtil::pick($generalName, '이');
|
||||||
$josaYiNation = JosaUtil::pick($nationName, '이');
|
$josaYiNation = JosaUtil::pick($nationName, '이');
|
||||||
|
|
||||||
$aux = Json::decode($this->nation['aux']);
|
$aux = $this->nation['aux'];
|
||||||
$aux["can_{$actionName}"] = 0;
|
$aux["can_{$actionName}"] = 0;
|
||||||
|
|
||||||
$db->update('nation', [
|
$db->update('nation', [
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ class che_무작위수도이전 extends Command\NationCommand
|
|||||||
$josaYi = JosaUtil::pick($generalName, '이');
|
$josaYi = JosaUtil::pick($generalName, '이');
|
||||||
$josaYiNation = JosaUtil::pick($nationName, '이');
|
$josaYiNation = JosaUtil::pick($nationName, '이');
|
||||||
|
|
||||||
$aux = Json::decode($this->nation['aux']);
|
$aux = $this->nation['aux'];
|
||||||
$aux["can_무작위수도이전"] -= 1;
|
$aux["can_무작위수도이전"] -= 1;
|
||||||
|
|
||||||
$db->update('city', [
|
$db->update('city', [
|
||||||
|
|||||||
Reference in New Issue
Block a user