인재탐색 연령버그 수정
This commit is contained in:
@@ -263,7 +263,9 @@ class che_인재탐색 extends Command\GeneralCommand{
|
|||||||
], 'nation=%i', $nationID);
|
], 'nation=%i', $nationID);
|
||||||
}
|
}
|
||||||
|
|
||||||
$age = $env['year'] - 20;
|
$age = Util::randRangeInt(20, 25);
|
||||||
|
$birthYear = $env['year'] - $age;
|
||||||
|
$deathYear = $env['year'] + Util::randRangeInt(10, 50);
|
||||||
|
|
||||||
$newNPC = new \sammo\Scenario\NPC(
|
$newNPC = new \sammo\Scenario\NPC(
|
||||||
Util::randRangeInt(1, 150),
|
Util::randRangeInt(1, 150),
|
||||||
@@ -275,8 +277,8 @@ class che_인재탐색 extends Command\GeneralCommand{
|
|||||||
$strength,
|
$strength,
|
||||||
$intel,
|
$intel,
|
||||||
$scoutLevel,
|
$scoutLevel,
|
||||||
$age,
|
$birthYear,
|
||||||
$env['year'] + Util::randRangeInt(10, 50),
|
$deathYear,
|
||||||
null,
|
null,
|
||||||
null
|
null
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user