은퇴 연령 값을 GameConst로 이동

This commit is contained in:
Hide_D committed 2019-03-09 17:08:11 +09:00
1 parent 0abd026f78
commit bfae547240
4 files changed
+8 -7

No files matched your search

+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년