변환 스크립트 동작 변경, 환상향 시나리오 적용

This commit is contained in:
2018-05-29 01:28:03 +09:00
parent d9f6f7956e
commit c337ff2f67
9 changed files with 1066 additions and 693 deletions
+7 -2
View File
@@ -143,11 +143,16 @@ class NPC{
$name = 'ⓝ'.$this->name;
$picturePath = $this->picturePath;
if($env['show_img_level'] < 3){
if($env['show_img_level'] < 3 || $picturePath === null){
$picturePath = 'default.jpg';
}
else if(is_numeric($picturePath)){
$picturePath = "{$picturePath}.jpg";
if($picturePath < 0){
$picturePath = 'default.jpg';
}
else{
$picturePath = "{$picturePath}.jpg";
}
}
$city = $this->locatedCity;