내정장 포상금 설정
This commit is contained in:
@@ -127,7 +127,7 @@ class AutorunNationPolicy {
|
||||
public $reqHumanDevelRice = 10000;
|
||||
public $reqNPCWarGold = 0;
|
||||
public $reqNPCWarRice = 0;
|
||||
public $reqNPCDevelGold = 1000;
|
||||
public $reqNPCDevelGold = 0;
|
||||
public $reqNPCDevelRice = 500;
|
||||
|
||||
public $minimumResourceActionAmount = 1000;
|
||||
@@ -141,7 +141,7 @@ class AutorunNationPolicy {
|
||||
public $properWarTrainAtmos = 90;
|
||||
|
||||
|
||||
function __construct(General $general, array $nationPolicy, array $serverPolicy, array $nation)
|
||||
function __construct(General $general, array $nationPolicy, array $serverPolicy, array $nation, array $env)
|
||||
{
|
||||
foreach($serverPolicy as $policy=>$value){
|
||||
if(!property_exists($this, $policy)){
|
||||
@@ -162,6 +162,10 @@ class AutorunNationPolicy {
|
||||
}
|
||||
|
||||
|
||||
if($this->reqNPCDevelGold === 0){
|
||||
$this->reqNPCDevelGold = $env['develcost'] * 30;
|
||||
}
|
||||
|
||||
|
||||
if($this->reqNPCWarGold === 0 || $this->reqNPCWarRice === 0){
|
||||
$defaultCrewType = GameUnitConst::byID(GameUnitConst::DEFAULT_CREWTYPE);
|
||||
|
||||
Reference in New Issue
Block a user