AI 구현중
This commit is contained in:
@@ -48,10 +48,14 @@ class che_NPC능동 extends Command\GeneralCommand{
|
||||
$this->setNation();
|
||||
|
||||
|
||||
$this->runnableConstraints=[
|
||||
$this->reservableConstraints=[
|
||||
ConstraintHelper::MustBeNPC()
|
||||
];
|
||||
|
||||
$this->runnableConstraints=[
|
||||
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
public function getCost():array{
|
||||
|
||||
@@ -104,7 +104,7 @@ class che_징병 extends Command\GeneralCommand{
|
||||
$this->runnableConstraints=[
|
||||
ConstraintHelper::NotBeNeutral(),
|
||||
ConstraintHelper::OccupiedCity(),
|
||||
ConstraintHelper::ReqCityCapacity('pop', '주민', 30000 + $reqCrew),
|
||||
ConstraintHelper::ReqCityCapacity('pop', '주민', GameConst::$minAvailableRecruitPop + $reqCrew),
|
||||
ConstraintHelper::ReqCityTrust(20),
|
||||
ConstraintHelper::ReqGeneralGold($reqGold),
|
||||
ConstraintHelper::ReqGeneralRice($reqRice),
|
||||
|
||||
Reference in New Issue
Block a user