defulatGold, defaultRice 개념 지정

This commit is contained in:
2018-11-11 19:38:43 +09:00
parent 68a471b859
commit 88f97ecb4e
14 changed files with 232 additions and 128 deletions
+5 -2
View File
@@ -41,8 +41,8 @@ class NPC{
9 => 'ⓞ', //오랑캐?
];
protected $gold = 1000;
protected $rice = 1000;
protected $gold;
protected $rice;
protected $specAge = null;
protected $specAge2 = null;
@@ -86,6 +86,9 @@ class NPC{
$this->ego = $ego;
$this->text = $text;
$this->gold = GameConst::$defaultGold;
$this->rice = GameConst::$defaultRice;
$general = [
'leader'=>$leadership,
'power'=>$power,