forked from devsam/core
일부 설정값 수정
This commit is contained in:
@@ -979,6 +979,8 @@ function updateNationState() {
|
||||
999, sprintf('부대장%4d',$lastAssemblerID), null, $nation['nation'], null,
|
||||
10, 10, 10, 1, $admin['year'] - 15, $admin['year'] + 15, '은둔', '척사'
|
||||
);
|
||||
$npcObj->gold=0;
|
||||
$npcObj->rice=0;
|
||||
$npcObj->npc = 5;
|
||||
$npcObj->build($admin);
|
||||
$npcID = $npcObj->generalID;
|
||||
|
||||
@@ -3521,14 +3521,9 @@ class GeneralAI
|
||||
|
||||
$outcome = getOutcome(100, $dedicationList);
|
||||
|
||||
$bill = intval($income / $outcome * 80); // 수입의 80% 만 지급
|
||||
$bill = intval($income / $outcome * 90); // 수입의 80% 만 지급
|
||||
|
||||
if ($bill < 20) {
|
||||
$bill = 20;
|
||||
}
|
||||
if ($bill > 200) {
|
||||
$bill = 200;
|
||||
}
|
||||
$bill = Util::valueFit($bill, 20, 200);
|
||||
|
||||
$db->update('nation', [
|
||||
'bill' => $bill,
|
||||
@@ -3563,7 +3558,7 @@ class GeneralAI
|
||||
|
||||
$outcome = getOutcome(100, $dedicationList);
|
||||
|
||||
$bill = intval($income / $outcome * 80); // 수입의 80% 만 지급
|
||||
$bill = intval($income / $outcome * 90); // 수입의 80% 만 지급
|
||||
|
||||
if ($bill < 20) {
|
||||
$bill = 20;
|
||||
|
||||
@@ -41,8 +41,8 @@ class NPC{
|
||||
9 => 'ⓞ', //오랑캐?
|
||||
];
|
||||
|
||||
protected $gold;
|
||||
protected $rice;
|
||||
public $gold;
|
||||
public $rice;
|
||||
|
||||
protected $specAge = null;
|
||||
protected $specAge2 = null;
|
||||
|
||||
Reference in New Issue
Block a user