fix,misc: 숙련 등급 입력시 음수인 경우에도 0으로 정상 처리
This commit is contained in:
@@ -666,7 +666,7 @@ function getDexCall(int $dex) : string {
|
|||||||
|
|
||||||
function getDexLevel(int $dex) : int {
|
function getDexLevel(int $dex) : int {
|
||||||
if($dex < 0){
|
if($dex < 0){
|
||||||
throw new \InvalidArgumentException();
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$retVal = 0;
|
$retVal = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user