몰수 기준 완화

This commit is contained in:
2020-06-26 00:16:56 +09:00
parent 5cb39eba8b
commit 5f672d5bd1
+2 -2
View File
@@ -1546,11 +1546,11 @@ class GeneralAI
}); });
foreach($npcCivilGenerals as $idx=>$targetNPCGeneral){ foreach($npcCivilGenerals as $idx=>$targetNPCGeneral){
if($targetNPCGeneral->getVar($resName) <= $reqNPCMinDevelRes + 100){ if($targetNPCGeneral->getVar($resName) <= $reqNPCMinDevelRes * 1.5){
break; break;
} }
$takeAmount = $targetNPCGeneral->getVar($resName) - $reqNPCMinDevelRes; $takeAmount = $targetNPCGeneral->getVar($resName) - $reqNPCMinDevelRes * 1.2;
$takeAmount = Util::valueFit($takeAmount, 100, $this->maxResourceActionAmount); $takeAmount = Util::valueFit($takeAmount, 100, $this->maxResourceActionAmount);
if($takeAmount < $this->nationPolicy->minimumResourceActionAmount){ if($takeAmount < $this->nationPolicy->minimumResourceActionAmount){
break; break;