game: 시나리오 초기 생성 m장의 수명 증가

This commit is contained in:
2022-06-09 01:25:41 +09:00
parent dd38344319
commit 47e6b91b82
+1 -1
View File
@@ -35,7 +35,7 @@ class CreateManyNPC extends \sammo\Event\Action
)));
$age = $rng->nextRangeInt(20, 25);
$birthYear = $env['year'] - $age;
$deathYear = $env['year'] + $rng->nextRangeInt(10, 50);
$deathYear = $env['year'] + $rng->nextRangeInt(10, 60);
$result = [];
foreach (pickGeneralFromPool(DB::db(), $rng, 0, $cnt) as $pickedNPC) {