NPC능동 추가
This commit is contained in:
@@ -8,7 +8,8 @@ use \sammo\{
|
||||
getGeneralLeadership,getGeneralPower,getGeneralIntel,
|
||||
getDomesticExpLevelBonus,
|
||||
CriticalRatioDomestic, CriticalScore,
|
||||
uniqueItemEx
|
||||
uniqueItemEx,
|
||||
LastTurn
|
||||
};
|
||||
|
||||
use \sammo\Command;
|
||||
@@ -47,6 +48,7 @@ class che_주민선정 extends Command\GeneralCommand{
|
||||
}
|
||||
|
||||
protected function argTest():bool{
|
||||
$this->arg = null;
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -150,7 +152,7 @@ class che_주민선정 extends Command\GeneralCommand{
|
||||
$general->increaseVar('experience', $exp);
|
||||
$general->increaseVar('dedication', $ded);
|
||||
$general->increaseVar(static::$statKey.'2', 1);
|
||||
$general->updateVar('resturn', 'SUCCESS');
|
||||
$general->setResultTurn(new LastTurn(static::getName(), $this->arg));
|
||||
$general->applyDB($db);
|
||||
|
||||
$this->checkStatChange();
|
||||
|
||||
Reference in New Issue
Block a user