fix: 커맨드의 aux값값

This commit is contained in:
2025-01-22 18:16:37 +00:00
parent 913028dd6c
commit 91188c555d
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ class che_건국 extends Command\GeneralCommand
$general->addExperience($exp);
$general->addDedication($ded);
$aux = Json::decode($this->nation['aux']) ?? [];
$aux = $this->nation['aux'];
$aux['can_국기변경'] = 1;
$db->update('city', [
@@ -194,7 +194,7 @@ class che_무작위건국 extends Command\GeneralCommand
$general->addExperience($exp);
$general->addDedication($ded);
$aux = Json::decode($this->nation['aux']) ?? [];
$aux = $this->nation['aux'];
$aux['can_국기변경'] = 1;
$aux['can_무작위수도이전'] = 1;
+1 -1
View File
@@ -180,7 +180,7 @@ class cr_건국 extends Command\GeneralCommand
$general->addExperience($exp);
$general->addDedication($ded);
$aux = Json::decode($this->nation['aux']) ?? [];
$aux = $this->nation['aux'];
$aux['can_국기변경'] = 1;
$db->update('city', [
@@ -122,7 +122,7 @@ class che_국기변경 extends Command\NationCommand
$josaYi = JosaUtil::pick($generalName, '이');
$josaYiNation = JosaUtil::pick($nationName, '이');
$aux = Json::decode($this->nation['aux']);
$aux = $this->nation['aux'];
$aux["can_{$actionName}"] = 0;
$db->update('nation', [
@@ -140,7 +140,7 @@ class che_국호변경 extends Command\NationCommand
$josaYi = JosaUtil::pick($generalName, '이');
$josaYiNation = JosaUtil::pick($nationName, '이');
$aux = Json::decode($this->nation['aux']);
$aux = $this->nation['aux'];
$aux["can_{$actionName}"] = 0;
$db->update('nation', [
@@ -119,7 +119,7 @@ class che_무작위수도이전 extends Command\NationCommand
$josaYi = JosaUtil::pick($generalName, '이');
$josaYiNation = JosaUtil::pick($nationName, '이');
$aux = Json::decode($this->nation['aux']);
$aux = $this->nation['aux'];
$aux["can_무작위수도이전"] -= 1;
$db->update('city', [