성인 연령(14세??)를 GameConst로 정의

This commit is contained in:
2018-03-29 00:57:10 +09:00
parent 9392d6f043
commit 79d74b1ed1
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -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[] = [