AI 구현중

This commit is contained in:
Hide_D committed 2020-04-12 02:46:51 +09:00
1 parent 33014dbd7d
commit 84efd5bfdf
4 files changed
+227 -10

No files matched your search

+5 -1
View File
@@ -48,10 +48,14 @@ class che_NPC능동 extends Command\GeneralCommand{
$this->setNation();
$this->runnableConstraints=[
$this->reservableConstraints=[
ConstraintHelper::MustBeNPC()
];
$this->runnableConstraints=[
];
}
public function getCost():array{
+1 -1
View File
@@ -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),