은퇴 연령 값을 GameConst로 이동

This commit is contained in:
2019-03-09 17:08:11 +09:00
parent 16a82a28ae
commit 568ff4b366
4 changed files with 8 additions and 7 deletions
+2 -2
View File
@@ -466,8 +466,8 @@ function process_29(&$general) {
$bornyear = $admin['year'];
$deadyear = $admin['year'] + 3;
$age = 20;
$specage = Util::round((80 - $age)/12) + $age;
$specage2 = Util::round((80 - $age)/3) + $age;
$specage = Util::round((GameConst::$retirementYear - $age)/12) + $age;
$specage2 = Util::round((GameConst::$retirementYear - $age)/3) + $age;
//$specage = $age + 1 + rand() % 3;
//$specage2 = $age + 5 + rand() % 5;
// 20년 ~ 50년