leader->leadership, power->strength

This commit is contained in:
2019-10-04 18:07:42 +09:00
parent 2ff74a2b68
commit 4c3cc8547c
101 changed files with 770 additions and 769 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ class RaiseInvader extends \sammo\Event\Action{
$specAvg = $this->specAvg;
if($specAvg < 0){
$specAvg = $db->queryFirstField('SELECT avg(sum(`leader` + `power` + `intel`)) from general where npc < 9');
$specAvg = $db->queryFirstField('SELECT avg(sum(`leadership` + `strength` + `intel`)) from general where npc < 9');
$specAvg /= -1 * $this->specAvg;
}
+2 -2
View File
@@ -13,7 +13,7 @@ class RegNPC extends \sammo\Event\Action{
int $nationID,
$locatedCity,
int $leadership,
int $power,
int $strength,
int $intel,
int $birth = 160,
int $death = 300,
@@ -28,7 +28,7 @@ class RegNPC extends \sammo\Event\Action{
$nationID,
$locatedCity,
$leadership,
$power,
$strength,
$intel,
$birth,
$death,
+2 -2
View File
@@ -12,7 +12,7 @@ class RegNeutralNPC extends \sammo\Event\Action{
int $nationID,
$locatedCity,
int $leadership,
int $power,
int $strength,
int $intel,
int $birth = 160,
int $death = 300,
@@ -27,7 +27,7 @@ class RegNeutralNPC extends \sammo\Event\Action{
$nationID,
$locatedCity,
$leadership,
$power,
$strength,
$intel,
$birth,
$death,