From cb53eef4a2005126daf0f7d58248c6f4bd0eccf4 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Mon, 21 Mar 2022 21:53:02 +0900 Subject: [PATCH] =?UTF-8?q?game:=20=EC=BB=A4=EB=A7=A8=EB=93=9C=20=EC=88=9C?= =?UTF-8?q?=EC=84=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/GameConstBase.php | 34 +- hwe/scenario/scenario_904.json | 868 +++++++++++++++++++++++++++++---- 2 files changed, 778 insertions(+), 124 deletions(-) diff --git a/hwe/sammo/GameConstBase.php b/hwe/sammo/GameConstBase.php index 7d825c32..9215eb3b 100644 --- a/hwe/sammo/GameConstBase.php +++ b/hwe/sammo/GameConstBase.php @@ -275,9 +275,17 @@ class GameConstBase /** @var array 선택 가능한 커맨드 */ public static $availableGeneralCommand = [ - '' => [ + '개인' => [ '휴식', - 'che_요양' + 'che_요양', + 'che_단련', + 'che_숙련전환', + 'che_견문', + 'che_은퇴', + 'che_장비매매', + 'che_군량매매', + 'che_내정특기초기화', + 'che_전투특기초기화', ], '내정' => [ 'che_농지개간', @@ -291,43 +299,35 @@ class GameConstBase 'che_물자조달', ], '군사' => [ - 'che_소집해제', - 'che_첩보', 'che_징병', 'che_모병', 'che_훈련', 'che_사기진작', 'che_출병', + 'che_집합', + 'che_소집해제', + 'che_첩보', ], '인사' => [ 'che_이동', 'che_강행', 'che_인재탐색', 'che_등용', - 'che_집합', 'che_귀환', 'che_임관', 'che_랜덤임관', 'che_장수대상임관', ], '계략' => [ - 'che_화계', - 'che_파괴', - 'che_탈취', 'che_선동', + 'che_탈취', + 'che_파괴', + 'che_화계', ], - '개인' => [ - 'che_내정특기초기화', - 'che_전투특기초기화', - 'che_단련', - 'che_숙련전환', - 'che_견문', - 'che_장비매매', - 'che_군량매매', + '국가' => [ 'che_증여', 'che_헌납', 'che_하야', - 'che_은퇴', 'che_거병', 'che_건국', 'che_선양', diff --git a/hwe/scenario/scenario_904.json b/hwe/scenario/scenario_904.json index 7febde2a..6668c32f 100644 --- a/hwe/scenario/scenario_904.json +++ b/hwe/scenario/scenario_904.json @@ -1,19 +1,27 @@ { - "title":"【이벤트】 대리전", - "startYear":180, - "map":{ - "mapName":"miniche_b" + "title": "【이벤트】 대리전", + "startYear": 180, + "map": { + "mapName": "miniche_b" }, - "history":[ + "history": [ "●180년 1월:【이벤트】NPC 군주 뒤에 플레이해보는 이벤트 깃수" ], "const": { - "joinRuinedNPCProp":0, - "npcBanMessageProb":1, + "joinRuinedNPCProp": 0, + "npcBanMessageProb": 1, "availableGeneralCommand": { - "": [ + "개인": [ "휴식", - "che_요양" + "che_요양", + "che_단련", + "che_숙련전환", + "che_견문", + "che_은퇴", + "che_장비매매", + "che_군량매매", + "che_내정특기초기화", + "che_전투특기초기화" ], "내정": [ "che_농지개간", @@ -27,36 +35,29 @@ "che_물자조달" ], "군사": [ - "che_소집해제", - "che_첩보", "che_징병", "che_모병", "che_훈련", "che_사기진작", - "che_출병" + "che_출병", + "che_집합", + "che_소집해제", + "che_첩보" ], "인사": [ "che_이동", "che_강행", "che_인재탐색", - "che_집합", "che_귀환", "che_랜덤임관" ], "계략": [ - "che_화계", - "che_파괴", + "che_선동", "che_탈취", - "che_선동" + "che_파괴", + "che_화계" ], - "개인": [ - "che_내정특기초기화", - "che_전투특기초기화", - "che_단련", - "che_숙련전환", - "che_견문", - "che_장비매매", - "che_군량매매", + "국가": [ "che_증여", "che_헌납", "che_하야" @@ -93,102 +94,755 @@ ] } }, - "nation":[ - ["엄백호", "#800080", 10000, 10000, "엄백호", 500, "che_덕가", 1, ["건안"]], - ["맹획", "#A0522D", 10000, 10000, "맹획", 500, "che_덕가", 1, ["월수"]], - ["유표", "#E0FFFF", 10000, 10000, "유표", 500, "che_도가", 1, ["영릉"]], - ["올돌골", "#800000", 10000, 10000, "올돌골", 500, "che_도적", 1, ["남해"]], - ["동탁", "#A9A9A9", 10000, 10000, "동탁", 500, "che_도적", 1, ["안정"]], - ["유비", "#008000", 10000, 10000, "유비", 500, "che_명가", 1, ["평원"]], - ["유기", "#008080", 10000, 10000, "유기", 500, "che_명가", 1, ["강하"]], - ["유장", "#483D8B", 10000, 10000, "유장", 500, "che_묵가", 1, ["덕양"]], - ["조조", "#000080", 10000, 10000, "조조", 500, "che_법가", 1, ["진류"]], - ["원소", "#FF00FF", 10000, 10000, "원소", 500, "che_병가", 1, ["거록"]], - ["공손찬", "#87CEEB", 10000, 10000, "공손찬", 500, "che_병가", 1, ["계"]], - ["신라", "#FFA500", 10000, 10000, "신라", 500, "che_불가", 1, ["계림"]], - ["고구려", "#FF6347", 10000, 10000, "고구려", 500, "che_불가", 1, ["국내"]], - ["장로", "#20B2AA", 10000, 10000, "장로", 500, "che_오두미도", 1, ["상용"]], - ["도겸", "#00FF00", 10000, 10000, "도겸", 500, "che_오두미도", 1, ["하비"]], - ["손권", "#FF0000", 10000, 10000, "손권", 500, "che_유가", 1, ["오"]], - ["헌제", "#BA55D3", 10000, 10000, "헌제", 500, "che_유가", 1, ["홍농"]], - ["원술", "#FFC0CB", 10000, 10000, "원술", 500, "che_음양가", 1, ["여남"]], - ["마등", "#808000", 10000, 10000, "마등", 500, "che_종횡가", 1, ["무도"]], - ["목록대왕", "#7CFC00", 10000, 10000, "목록대왕", 500, "che_종횡가", 1, ["건녕"]], - ["장량", "#FFD700", 10000, 10000, "장량", 500, "che_태평도", 1, ["하내"]] + "nation": [ + [ + "엄백호", + "#800080", + 10000, + 10000, + "엄백호", + 500, + "che_덕가", + 1, + [ + "건안" + ] + ], + [ + "맹획", + "#A0522D", + 10000, + 10000, + "맹획", + 500, + "che_덕가", + 1, + [ + "월수" + ] + ], + [ + "유표", + "#E0FFFF", + 10000, + 10000, + "유표", + 500, + "che_도가", + 1, + [ + "영릉" + ] + ], + [ + "올돌골", + "#800000", + 10000, + 10000, + "올돌골", + 500, + "che_도적", + 1, + [ + "남해" + ] + ], + [ + "동탁", + "#A9A9A9", + 10000, + 10000, + "동탁", + 500, + "che_도적", + 1, + [ + "안정" + ] + ], + [ + "유비", + "#008000", + 10000, + 10000, + "유비", + 500, + "che_명가", + 1, + [ + "평원" + ] + ], + [ + "유기", + "#008080", + 10000, + 10000, + "유기", + 500, + "che_명가", + 1, + [ + "강하" + ] + ], + [ + "유장", + "#483D8B", + 10000, + 10000, + "유장", + 500, + "che_묵가", + 1, + [ + "덕양" + ] + ], + [ + "조조", + "#000080", + 10000, + 10000, + "조조", + 500, + "che_법가", + 1, + [ + "진류" + ] + ], + [ + "원소", + "#FF00FF", + 10000, + 10000, + "원소", + 500, + "che_병가", + 1, + [ + "거록" + ] + ], + [ + "공손찬", + "#87CEEB", + 10000, + 10000, + "공손찬", + 500, + "che_병가", + 1, + [ + "계" + ] + ], + [ + "신라", + "#FFA500", + 10000, + 10000, + "신라", + 500, + "che_불가", + 1, + [ + "계림" + ] + ], + [ + "고구려", + "#FF6347", + 10000, + 10000, + "고구려", + 500, + "che_불가", + 1, + [ + "국내" + ] + ], + [ + "장로", + "#20B2AA", + 10000, + 10000, + "장로", + 500, + "che_오두미도", + 1, + [ + "상용" + ] + ], + [ + "도겸", + "#00FF00", + 10000, + 10000, + "도겸", + 500, + "che_오두미도", + 1, + [ + "하비" + ] + ], + [ + "손권", + "#FF0000", + 10000, + 10000, + "손권", + 500, + "che_유가", + 1, + [ + "오" + ] + ], + [ + "헌제", + "#BA55D3", + 10000, + 10000, + "헌제", + 500, + "che_유가", + 1, + [ + "홍농" + ] + ], + [ + "원술", + "#FFC0CB", + 10000, + 10000, + "원술", + 500, + "che_음양가", + 1, + [ + "여남" + ] + ], + [ + "마등", + "#808000", + 10000, + 10000, + "마등", + 500, + "che_종횡가", + 1, + [ + "무도" + ] + ], + [ + "목록대왕", + "#7CFC00", + 10000, + 10000, + "목록대왕", + 500, + "che_종횡가", + 1, + [ + "건녕" + ] + ], + [ + "장량", + "#FFD700", + 10000, + 10000, + "장량", + 500, + "che_태평도", + 1, + [ + "하내" + ] + ] ], - "general":[ - [999, "엄백호", 1217, 1, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "맹획", 1108, 2, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "유표", 1293, 3, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "올돌골", 1241, 4, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "동탁", 1083, 5, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "유비", 1281, 6, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "유기", 1276, 7, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "유장", 1290, 8, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "조조", 1392, 9, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "원소", 1268, 10, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "공손찬", 1033, 11, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "석벌휴", null, 12, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "고남무", null, 13, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "장로", 1319, 14, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "도겸", 1074, 15, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "손권", 1169, 16, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "헌제", 1002, 17, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "원술", 1269, 18, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "마등", 1094, 19, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "목록대왕", 1110, 20, null, 85, 85, 85, 12, 150, 250, null, null], - [999, "장량", 1318, 21, null, 85, 85, 85, 12, 150, 250, null, null] + "general": [ + [ + 999, + "엄백호", + 1217, + 1, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "맹획", + 1108, + 2, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "유표", + 1293, + 3, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "올돌골", + 1241, + 4, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "동탁", + 1083, + 5, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "유비", + 1281, + 6, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "유기", + 1276, + 7, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "유장", + 1290, + 8, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "조조", + 1392, + 9, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "원소", + 1268, + 10, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "공손찬", + 1033, + 11, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "석벌휴", + null, + 12, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "고남무", + null, + 13, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "장로", + 1319, + 14, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "도겸", + 1074, + 15, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "손권", + 1169, + 16, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "헌제", + 1002, + 17, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "원술", + 1269, + 18, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "마등", + 1094, + 19, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "목록대왕", + 1110, + 20, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ], + [ + 999, + "장량", + 1318, + 21, + null, + 85, + 85, + 85, + 12, + 150, + 250, + null, + null + ] ], - "events":[ + "events": [ [ - "month", 1000, - ["or", ["Date", "==", null, 12], ["Date", "==", null, 6]], - ["CreateManyNPC", 10, 10], - ["DeleteEvent"] - ], - [ - "month", 1000, - ["Date", "==", 181, 1], - ["OpenNationBetting", 4, 1000], - ["OpenNationBetting", 1, 1000], - ["DeleteEvent"] - ], - [ - "month", 1000, - ["and", - ["Date", ">=", 183, 1], - ["RemainNation", "<=", 16] + "month", + 1000, + [ + "or", + [ + "Date", + "==", + null, + 12 + ], + [ + "Date", + "==", + null, + 6 + ] ], - ["OpenNationBetting", 4, 1000], - ["OpenNationBetting", 1, 1000], - ["DeleteEvent"] + [ + "CreateManyNPC", + 10, + 10 + ], + [ + "DeleteEvent" + ] ], [ - "month", 1000, - ["and", - ["Date", ">=", 183, 1], - ["RemainNation", "<=", 8] + "month", + 1000, + [ + "Date", + "==", + 181, + 1 ], - ["OpenNationBetting", 1, 1000], - ["DeleteEvent"] + [ + "OpenNationBetting", + 4, + 1000 + ], + [ + "OpenNationBetting", + 1, + 1000 + ], + [ + "DeleteEvent" + ] ], [ - "month", 1000, - ["and", - ["Date", ">=", 183, 1], - ["RemainNation", "<=", 4] + "month", + 1000, + [ + "and", + [ + "Date", + ">=", + 183, + 1 + ], + [ + "RemainNation", + "<=", + 16 + ] ], - ["OpenNationBetting", 1, 1000], - ["DeleteEvent"] + [ + "OpenNationBetting", + 4, + 1000 + ], + [ + "OpenNationBetting", + 1, + 1000 + ], + [ + "DeleteEvent" + ] ], [ - "destroy_nation", 1000, - ["and", - ["Date", ">=", 183, 1], - ["RemainNation", "==", 1] + "month", + 1000, + [ + "and", + [ + "Date", + ">=", + 183, + 1 + ], + [ + "RemainNation", + "<=", + 8 + ] ], - ["BlockScoutAction"], - ["DeleteEvent"] + [ + "OpenNationBetting", + 1, + 1000 + ], + [ + "DeleteEvent" + ] + ], + [ + "month", + 1000, + [ + "and", + [ + "Date", + ">=", + 183, + 1 + ], + [ + "RemainNation", + "<=", + 4 + ] + ], + [ + "OpenNationBetting", + 1, + 1000 + ], + [ + "DeleteEvent" + ] + ], + [ + "destroy_nation", + 1000, + [ + "and", + [ + "Date", + ">=", + 183, + 1 + ], + [ + "RemainNation", + "==", + 1 + ] + ], + [ + "BlockScoutAction" + ], + [ + "DeleteEvent" + ] ] ] } \ No newline at end of file