NPC능동 추가
This commit is contained in:
@@ -8,7 +8,8 @@ use \sammo\{
|
||||
getGeneralLeadership,getGeneralPower,getGeneralIntel,
|
||||
getDomesticExpLevelBonus,
|
||||
CriticalRatioDomestic, CriticalScore,
|
||||
uniqueItemEx
|
||||
uniqueItemEx,
|
||||
LastTurn
|
||||
};
|
||||
|
||||
use \sammo\Command;
|
||||
@@ -48,6 +49,7 @@ class che_상업투자 extends Command\GeneralCommand{
|
||||
}
|
||||
|
||||
protected function argTest():bool{
|
||||
$this->arg = null;
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -166,7 +168,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