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

This commit is contained in:
Hide_D committed 2018-05-29 01:28:03 +09:00
1 parent d9f6f7956e
commit c337ff2f67
9 files changed
+1066 -693

No files matched your search

+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;