fix: processing $destNation 구분 버그

This commit is contained in:
2021-12-26 04:19:26 +09:00
parent 7b21b60c11
commit 410f6b261e
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ class che_임관 extends Command\GeneralCommand
if (!$testCommand->hasFullConditionMet()) {
$nationTarget['notAvailable'] = true;
}
if ($destNation['id'] == $nationID) {
if ($destNation['nation'] == $nationID) {
$nationTarget['notAvailable'] = true;
}
+1 -1
View File
@@ -214,7 +214,7 @@ class che_급습 extends Command\NationCommand
if (!$testCommand->hasFullConditionMet()) {
$nationTarget['notAvailable'] = true;
}
if ($destNation['id'] == $nationID) {
if ($destNation['nation'] == $nationID) {
$nationTarget['notAvailable'] = true;
}
@@ -248,7 +248,7 @@ class che_불가침제의 extends Command\NationCommand
if (!$testCommand->hasFullConditionMet()) {
$nationTarget['notAvailable'] = true;
}
if ($destNation['id'] == $nationID) {
if ($destNation['nation'] == $nationID) {
$nationTarget['notAvailable'] = true;
}
@@ -193,7 +193,7 @@ class che_불가침파기제의 extends Command\NationCommand{
if($diplomacyStatus[$destNation['nation']]['state'] != 7){
$nationTarget['notAvailable'] = true;
}
if ($destNation['id'] == $nationID) {
if ($destNation['nation'] == $nationID) {
$nationTarget['notAvailable'] = true;
}
@@ -212,7 +212,7 @@ class che_선전포고 extends Command\NationCommand
if (!$testCommand->hasFullConditionMet()) {
$nationTarget['notAvailable'] = true;
}
if ($destNation['id'] == $nationID) {
if ($destNation['nation'] == $nationID) {
$nationTarget['notAvailable'] = true;
}
@@ -217,7 +217,7 @@ class che_이호경식 extends Command\NationCommand
if (!$testCommand->hasFullConditionMet()) {
$nationTarget['notAvailable'] = true;
}
if ($destNation['id'] == $nationID) {
if ($destNation['nation'] == $nationID) {
$nationTarget['notAvailable'] = true;
}
@@ -186,7 +186,7 @@ class che_종전제의 extends Command\NationCommand{
if (!$testCommand->hasFullConditionMet()) {
$nationTarget['notAvailable'] = true;
}
if ($destNation['id'] == $nationID) {
if ($destNation['nation'] == $nationID) {
$nationTarget['notAvailable'] = true;
}
@@ -255,7 +255,7 @@ class che_피장파장 extends Command\NationCommand
if (!$testCommand->hasFullConditionMet()) {
$nationTarget['notAvailable'] = true;
}
if ($destNation['id'] == $nationID) {
if ($destNation['nation'] == $nationID) {
$nationTarget['notAvailable'] = true;
}