몰수 기준 완화
This commit is contained in:
1 parent
cd9a4887fd
commit
392c627925
1 file changed
+2
-2
@@ -1546,11 +1546,11 @@ class GeneralAI
|
||||
});
|
||||
|
||||
foreach($npcCivilGenerals as $idx=>$targetNPCGeneral){
|
||||
if($targetNPCGeneral->getVar($resName) <= $reqNPCMinDevelRes + 100){
|
||||
if($targetNPCGeneral->getVar($resName) <= $reqNPCMinDevelRes * 1.5){
|
||||
break;
|
||||
}
|
||||
|
||||
$takeAmount = $targetNPCGeneral->getVar($resName) - $reqNPCMinDevelRes;
|
||||
$takeAmount = $targetNPCGeneral->getVar($resName) - $reqNPCMinDevelRes * 1.2;
|
||||
$takeAmount = Util::valueFit($takeAmount, 100, $this->maxResourceActionAmount);
|
||||
if($takeAmount < $this->nationPolicy->minimumResourceActionAmount){
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user