fix: 최대 임관년도 수 계산 버그
This commit is contained in:
@@ -184,7 +184,7 @@ class che_등용수락 extends Command\GeneralCommand{
|
||||
InheritanceKey::max_belong->value,
|
||||
max(
|
||||
$general->getVar('belong'),
|
||||
$general->getInheritancePoint(InheritanceKey::max_belong) ?? 0
|
||||
($general->getInheritancePoint(InheritanceKey::max_belong) ?? 0) / 10
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -118,7 +118,7 @@ class che_하야 extends Command\GeneralCommand{
|
||||
InheritanceKey::max_belong->value,
|
||||
max(
|
||||
$general->getVar('belong'),
|
||||
$general->getInheritancePoint(InheritanceKey::max_belong) ?? 0
|
||||
($general->getInheritancePoint(InheritanceKey::max_belong) ?? 0) / 10
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user