fix: processing $destNation 구분 버그
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user