feat: NPC 세금 처리 로직 및 관련 핸들러 추가, 대형 테스트 맵 수정
This commit is contained in:
@@ -61,6 +61,15 @@ export class ActionDefinition<
|
||||
nationName = '㉥' + nationName;
|
||||
}
|
||||
|
||||
const npcNationPolicy =
|
||||
general.npcState >= 2
|
||||
? {
|
||||
values: {
|
||||
minNPCRecruitCityPopulation: 0,
|
||||
},
|
||||
}
|
||||
: undefined;
|
||||
|
||||
const newNation: Nation = {
|
||||
id: newNationId,
|
||||
name: nationName,
|
||||
@@ -79,6 +88,7 @@ export class ActionDefinition<
|
||||
surlimit: 72,
|
||||
secretlimit: 3,
|
||||
gennum: 1,
|
||||
...(npcNationPolicy ? { npc_nation_policy: npcNationPolicy } : {}),
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user