전략 DetailTitle/ isReservable 완화

This commit is contained in:
2020-03-22 03:17:05 +09:00
parent a9435f8f32
commit 6c185ffd09
7 changed files with 327 additions and 6 deletions
+6 -4
View File
@@ -319,14 +319,14 @@ function setGeneralCommand(int $generalID, array $rawTurnList, string $command,
];
}
if(!$commandObj->isReservable()){
/*if(!$commandObj->isReservable()){
return [
'result'=>false,
'reason'=>'예약 불가능한 커맨드 :'.$commandObj->testReservable(),
'test'=>'isReservable',
'target'=>'command'
];
}
}*/
$brief = $commandObj->getBrief();
@@ -401,14 +401,16 @@ function setNationCommand(int $generalID, array $turnList, string $command, ?arr
];
}
if(!$commandObj->isReservable()){
/*if(!$commandObj->isReservable()){
return [
'result'=>false,
'reason'=>'예약 불가능한 커맨드 :'.$commandObj->testReservable(),
'test'=>'isReservable',
'target'=>'command'
];
}
}*/
//TODO: Reservable은 '정말로 입력 불가'이고, '입력은 가능하지만 실행은 안될 것 같은' 군을 하나더 추가해야함
// Runnable은 Arg를 모두 받아서 처리해야 하는 것이고, Arg를 받지 않아도 안될 것 같지만 입력 자체는 가능할 것 같은 커맨드.
$brief = $commandObj->getBrief();