game: NPC 요양 기준 설정 가능

This commit is contained in:
2022-07-11 20:23:55 +09:00
parent d9beabbbbc
commit 88fcc64537
4 changed files with 17 additions and 1 deletions
+11
View File
@@ -163,6 +163,17 @@
훈련/사기진작 기준치입니다. 이보다 같거나 높으면 출병합니다.
</NumberInputWithInfo>
</div>
<div class="col">
<NumberInputWithInfo
v-model="nationPolicy.cureThreshold"
:step="5"
:min="10"
:max="100"
title="요양 기준"
>
요양 기준 %입니다. 이보다 많이 부상을 입으면 요양합니다.
</NumberInputWithInfo>
</div>
<!--allowNpcAttackCity는 현재 게임 비활성-->
</div>
<div style="padding: 0 8pt">
+1
View File
@@ -158,6 +158,7 @@ export type NationPolicy = {
minNPCRecruitCityPopulation: number,
safeRecruitCityPopulationRatio: number,
properWarTrainAtmos: number,
cureThreshold: number,
}
export type ItemTypeKey = 'horse' | 'weapon' | 'book' | 'item';