선전포고 추가, DisallowDiplomacyStatus 구현 변경

This commit is contained in:
2018-11-22 02:13:23 +09:00
parent 58eb6d4210
commit 36093eccaf
8 changed files with 271 additions and 27 deletions
+8 -1
View File
@@ -44,7 +44,14 @@ class che_방랑 extends Command\GeneralCommand{
ConstraintHelper::BeLord(),
ConstraintHelper::NotWanderingNation(),
ConstraintHelper::NotOpeningPart($relYear),
ConstraintHelper::DisallowDiplomacyStatus([0, 1, 3, 4, 5, 6], '방랑할 수 없는 외교상태입니다.'),
ConstraintHelper::DisallowDiplomacyStatus($this->generalObj->getNationID(), [
0 => '방랑할 수 없는 외교상태입니다.',
1 => '방랑할 수 없는 외교상태입니다.',
3 => '방랑할 수 없는 외교상태입니다.',
4 => '방랑할 수 없는 외교상태입니다.',
5 => '방랑할 수 없는 외교상태입니다.',
6 => '방랑할 수 없는 외교상태입니다.'
]),
//TODO:diplomacy status 상수화
];
}