NPC 사망시 사망 년도를 <에서 <= 로 수정
This commit is contained in:
@@ -75,7 +75,7 @@ class NPC{
|
||||
$age = $year - $this->birth;
|
||||
$name = $this->name;
|
||||
|
||||
if($this->death < $year){
|
||||
if($this->death <= $year){
|
||||
return true; //죽었으니 넘어간다.
|
||||
}
|
||||
if($age < \sammo\GameConst::$adultAge){
|
||||
|
||||
Reference in New Issue
Block a user