이민족 난이도 기본 수치 변경
This commit is contained in:
@@ -33,9 +33,9 @@ class RaiseInvader extends \sammo\Event\Action
|
|||||||
private $dex;
|
private $dex;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
$npcEachCount = -2,
|
$npcEachCount = -3,
|
||||||
int $specAvg = -1,
|
$specAvg = -1.2,
|
||||||
int $tech = -1,
|
$tech = -1.2,
|
||||||
$dex = -1
|
$dex = -1
|
||||||
) {
|
) {
|
||||||
$this->npcEachCount = $npcEachCount;
|
$this->npcEachCount = $npcEachCount;
|
||||||
@@ -219,11 +219,11 @@ class RaiseInvader extends \sammo\Event\Action
|
|||||||
'term' => 480,
|
'term' => 480,
|
||||||
], '(me IN %li AND you IN %li)', $invaderNationIDList, $invaderNationIDList);
|
], '(me IN %li AND you IN %li)', $invaderNationIDList, $invaderNationIDList);
|
||||||
|
|
||||||
$cityMaxPop = $specAvg * $npcEachCount * 100 * 2;
|
$cityMaxPop = $specAvg * $npcEachCount * 100 * 4;
|
||||||
$db->update('city', [
|
$db->update('city', [
|
||||||
'pop_max' => $cityMaxPop,
|
'pop_max' => $cityMaxPop,
|
||||||
'def_max' => 10000,
|
'def_max' => 100000,
|
||||||
'wall_max' => 1000,
|
'wall_max' => 10000,
|
||||||
], 'nation IN %li', $invaderNationIDList);
|
], 'nation IN %li', $invaderNationIDList);
|
||||||
|
|
||||||
$db->update('city', [
|
$db->update('city', [
|
||||||
|
|||||||
Reference in New Issue
Block a user