general_pool 에서 장수 선택 기능 추가

This commit is contained in:
2020-12-31 07:43:56 +09:00
parent 187db3d011
commit 3e35dec9fa
66 changed files with 5597 additions and 1319 deletions
+13 -14
View File
@@ -20,22 +20,21 @@ class RegNeutralNPC extends \sammo\Event\Action{
$char = '',
$text = ''
){
$this->npc = new \sammo\Scenario\NPC(
$affinity,
return (new \sammo\Scenario\GeneralBuilder(
$name,
0,
$picturePath,
$nationID,
$locatedCity,
$leadership,
$strength,
$intel,
$birth,
$death,
$ego,
$char,
$text?:''
);
$this->npc = 6;
$nationID
))
->setCity($locatedCity)
->setStat($leadership, $strength, $intel)
->setEgo($ego)
->setSpecialSingle($char)
->setNPCText($text?:'')
->setAffinity($affinity)
->setLifeSpan($birth, $death)
->setNPCType(6)
->fillRemainSpecAsZero();
}
public function run($env=null){