백동 버그 수정
This commit is contained in:
@@ -72,8 +72,8 @@ class che_백성동원 extends Command\NationCommand{
|
|||||||
$this->fullConditionConstraints=[
|
$this->fullConditionConstraints=[
|
||||||
ConstraintHelper::OccupiedCity(),
|
ConstraintHelper::OccupiedCity(),
|
||||||
ConstraintHelper::BeChief(),
|
ConstraintHelper::BeChief(),
|
||||||
ConstraintHelper::AllowDiplomacyStatus($this->generalObj->getNationID(), [
|
ConstraintHelper::DisallowDiplomacyStatus($this->generalObj->getNationID(), [
|
||||||
0
|
2, 7
|
||||||
], '전쟁중이 아닙니다.'),
|
], '전쟁중이 아닙니다.'),
|
||||||
ConstraintHelper::OccupiedDestCity(),
|
ConstraintHelper::OccupiedDestCity(),
|
||||||
ConstraintHelper::AvailableStrategicCommand()
|
ConstraintHelper::AvailableStrategicCommand()
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ class AllowDiplomacyStatus extends Constraint{
|
|||||||
$db = DB::db();
|
$db = DB::db();
|
||||||
|
|
||||||
$state = $db->queryFirstField(
|
$state = $db->queryFirstField(
|
||||||
'SELECT state FROM diplomacy WHERE me = %i AND `state` NOT IN %li LIMIT 1',
|
'SELECT state FROM diplomacy WHERE me = %i AND `state` IN %li LIMIT 1',
|
||||||
$this->nationID,
|
$this->nationID,
|
||||||
$this->allowStatus
|
$this->allowStatus
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user