From 0165cfb3ac9528632a48d31ac2a5c2802dc28e02 Mon Sep 17 00:00:00 2001 From: letrhee Date: Fri, 19 Mar 2021 17:36:13 +0900 Subject: [PATCH] =?UTF-8?q?RegNPC=20=EB=B2=84=EA=B7=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Event/Action/RegNPC.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hwe/sammo/Event/Action/RegNPC.php b/hwe/sammo/Event/Action/RegNPC.php index ba5a826e..9d8c71a1 100644 --- a/hwe/sammo/Event/Action/RegNPC.php +++ b/hwe/sammo/Event/Action/RegNPC.php @@ -14,6 +14,7 @@ class RegNPC extends \sammo\Event\Action{ int $leadership, int $strength, int $intel, + int $officerLevel, int $birth = 160, int $death = 300, $ego = null, @@ -29,6 +30,7 @@ class RegNPC extends \sammo\Event\Action{ )) ->setCity($locatedCity) ->setStat($leadership, $strength, $intel) + ->setOfficerLevel($officerLevel) ->setEgo($ego) ->setSpecialSingle($char) ->setNPCText($text?:'')