From 47e6b91b822bedd4cb1cedfd44cd23c870014715 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Thu, 9 Jun 2022 01:25:41 +0900 Subject: [PATCH] =?UTF-8?q?game:=20=EC=8B=9C=EB=82=98=EB=A6=AC=EC=98=A4=20?= =?UTF-8?q?=EC=B4=88=EA=B8=B0=20=EC=83=9D=EC=84=B1=20m=EC=9E=A5=EC=9D=98?= =?UTF-8?q?=20=EC=88=98=EB=AA=85=20=EC=A6=9D=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Event/Action/CreateManyNPC.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/sammo/Event/Action/CreateManyNPC.php b/hwe/sammo/Event/Action/CreateManyNPC.php index c7292165..76ab0b03 100644 --- a/hwe/sammo/Event/Action/CreateManyNPC.php +++ b/hwe/sammo/Event/Action/CreateManyNPC.php @@ -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) {