변환 스크립트 동작 변경, 환상향 시나리오 적용
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user