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
+7 -7
View File
@@ -20,7 +20,7 @@ class NPC{
public $nationID;
public $locatedCity;
public $leadership;
public $power;
public $strength;
public $intel;
public $level;
public $birth;
@@ -63,7 +63,7 @@ class NPC{
int $nationID,
$locatedCity,
int $leadership,
int $power,
int $strength,
int $intel,
int $level = 0,
int $birth = 160,
@@ -78,7 +78,7 @@ class NPC{
$this->nationID = $nationID;
$this->locatedCity = $locatedCity;
$this->leadership = $leadership;
$this->power = $power;
$this->strength = $strength;
$this->intel = $intel;
$this->level = $level;
$this->birth = $birth;
@@ -90,8 +90,8 @@ class NPC{
$this->rice = GameConst::$defaultRice;
$general = [
'leader'=>$leadership,
'power'=>$power,
'leadership'=>$leadership,
'strength'=>$strength,
'intel'=>$intel
];
@@ -307,8 +307,8 @@ class NPC{
'picture'=>$picturePath,
'nation'=>$nationID,
'city'=>$city,
'leader'=>$this->leadership,
'power'=>$this->power,
'leadership'=>$this->leadership,
'strength'=>$this->strength,
'intel'=>$this->intel,
'experience'=>$experience,
'dedication'=>$dedication,