성인 연령(14세??)를 GameConst로 정의
This commit is contained in:
@@ -316,7 +316,7 @@ class Scenario{
|
||||
$remainGenerals = $this->buildGenerals($env);
|
||||
|
||||
foreach($remainGenerals as $birth=>$actions){
|
||||
$targetYear = $birth + 14;//FIXME: 14가 어디서 튀어나왔나?
|
||||
$targetYear = $birth + \sammo\GameConst::$adultAge;
|
||||
|
||||
$actions[] = ['DeleteEvent'];
|
||||
$this->events[] = [
|
||||
|
||||
Reference in New Issue
Block a user