전특 초기화에서 '쿨'을 감안함
This commit is contained in:
@@ -38,7 +38,7 @@ class che_전투특기초기화 extends Command\GeneralCommand{
|
||||
$yearMonth = Util::joinYearMonth($env['year'], $env['month']);
|
||||
$auxYearMonth = $general->getAuxVar('used_'.$this->getName())??-999;
|
||||
|
||||
if($yearMonth < $auxYearMonth + 60){
|
||||
if($yearMonth < $auxYearMonth + 60 - $this->getPreReqTurn()){
|
||||
$this->minConditionConstraints=[
|
||||
ConstraintHelper::AlwaysFail('초기화한 지 5년이 지나야합니다')
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user