From f031b0a5b1548626d335a64b2989d5ecafed0f9b Mon Sep 17 00:00:00 2001 From: swrring Date: Thu, 29 Oct 2026 23:42:47 +0900 Subject: [PATCH] =?UTF-8?q?=EC=95=84=EB=9E=98=20=EB=A9=94=EB=89=B4=20?= =?UTF-8?q?=EC=97=B0=EA=B5=AC|=EC=A0=84=ED=88=AC|=EC=9C=A0=EB=8B=9B=20?= =?UTF-8?q?=C2=B7=20=EC=9C=A0=EB=8B=9B=20=EB=A9=94=EB=89=B4(=EB=8D=B1=206?= =?UTF-8?q?=EC=B9=B8=20+=20=ED=94=84=EB=A6=AC=EC=85=8B=203=20=C2=B7=20?= =?UTF-8?q?=EC=9C=A0=EB=8B=9B=20=EB=AA=A9=EB=A1=9D=20=C2=B7=20=EC=9C=A0?= =?UTF-8?q?=EB=8B=9B=20=EC=83=81=EC=84=B8)=20=C2=B7=20=EC=9C=A0=EB=8B=9B?= =?UTF-8?q?=20=EB=93=B1=EA=B8=89=207=EB=8B=A8=EA=B3=84=20=E2=80=94=20PD=20?= =?UTF-8?q?=EC=A7=80=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 아래 메뉴 = 연구(= 방송 화면 · PD 선택) | 전투 | 유닛 · 전투 중에는 아래 메뉴 숨김(전투 = 화면 전체 · 칸 56×46 으로 다시 맞춤) - 유닛 메뉴(View/GameApp.Units.cs): 클래시 로얄 전투 덱처럼 위 = 덱 6칸(프리셋 1·2·3 · 열린 칸만 전투 · 잠긴 칸 표시 · 평균 마나) · 아래 = 유닛 목록(등급 색 카드 · 별 = 등급 · 덱 N 표시) - 유닛 상세: 등급 띠 · 이름 · 큰 그림 · 좌우 넘기기 · 역할·마나·비행 · 덱 상태 · 능력치 6칸 · 특징 · 덱에 넣기/빼기 · 덱이 꽉 차면 바꿀 칸 고르기 - 등급(battle.json grades) = 일반 회색 → 고급 녹색 → 희귀 파랑 → 에픽 보라 → 전설 주황 → 불멸 빨강 → 신화 무지개 · 유닛 6종 = 마나 순으로 1~6(확정 전) - 덱 저장 = SaveData.decks · deckSel · 전투 카드 칸 = 고른 덱의 칸 - 헤드리스 167/167 · 렌더 ALL PASS(53장) Co-Authored-By: Claude Opus 5.5 --- Assets/Editor/EditorRender.Systems.cs | 33 ++- Assets/Editor/HeadlessRun.Battle.cs | 20 ++ Assets/Resources/Data/battle.json | 29 +- Assets/Scripts/Sim/Battle.cs | 64 ++++- Assets/Scripts/Sim/Save.cs | 3 + Assets/Scripts/View/GameApp.Battle.cs | 36 ++- Assets/Scripts/View/GameApp.Stage.cs | 14 +- Assets/Scripts/View/GameApp.Units.cs | 328 ++++++++++++++++++++++ Assets/Scripts/View/GameApp.Units.cs.meta | 2 + 9 files changed, 498 insertions(+), 31 deletions(-) create mode 100644 Assets/Scripts/View/GameApp.Units.cs create mode 100644 Assets/Scripts/View/GameApp.Units.cs.meta diff --git a/Assets/Editor/EditorRender.Systems.cs b/Assets/Editor/EditorRender.Systems.cs index 0829155..468096c 100644 --- a/Assets/Editor/EditorRender.Systems.cs +++ b/Assets/Editor/EditorRender.Systems.cs @@ -31,6 +31,7 @@ namespace VS.EditorTools app.OpenBuyNewHouse(); Shot(app, "pop_newhouse"); app.ClosePopup(); g.S.afkPending = "0"; BattleShots(app); + UnitShots(app); app.SwitchTab(0); } @@ -46,6 +47,7 @@ namespace VS.EditorTools app.OpenStageInfo(); Shot(app, "stage_info"); app.ClosePopup(); app.StartStage(1, 5); if (app.StageRoot.gameObject.activeSelf || !app.BattleRoot.gameObject.activeSelf || app.B.State != BattleState.Fighting || app.B.Stage != 1) { fails++; notes.Add("stage_start: 시작을 눌렀는데 전투 화면이 아님"); } + if (app.Root.Find("TabBar").gameObject.activeSelf) { fails++; notes.Add("stage_start: 전투 중에 아래 메뉴가 보임"); } app.B.Mana = 10; app.DeployCard(0); app.DebugTick(0.05f, 40); app.DeployCard(0); app.DebugTick(0.05f, 40); app.DeployCard(0); g.S.battleSlots = 6; app.B.MaxMana = 15; app.B.Mana = 15; @@ -141,11 +143,40 @@ namespace VS.EditorTools var root = app.StageRoot; int n = app.G.StageCount; var title = root.Find("Title")?.GetComponent(); var start = root.Find("Start")?.GetComponent