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