From 75a358a51de1ebb1b6dc0e8b1574f6cf13524135 Mon Sep 17 00:00:00 2001 From: swrring Date: Tue, 24 Nov 2026 01:22:05 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B6=9C=EC=A0=95=20=EC=8A=A4=ED=85=8C?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20=EB=B3=B4=EC=83=81=20=C2=B7=20=EC=A0=81=20?= =?UTF-8?q?=EC=B2=98=EC=B9=98=20=EB=93=9C=EB=9E=8D=20v2=20=C2=B7=20?= =?UTF-8?q?=EA=B5=B0=EB=9F=89=20=EC=B2=B4=EA=B3=84(PD=202026-11-23~24=20?= =?UTF-8?q?=E3=80=8C=EC=8B=A4=EC=A0=9C=20=EA=B2=8C=EC=9E=84=EC=97=90=20?= =?UTF-8?q?=EB=AA=A8=EB=91=90=20=EB=B0=98=EC=98=81=E3=80=8D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 표: stage_drop(새 · 145 스테이지 = 지역 특화 골드 · 경험치 · 장비 + 지정 장비 한 병종 부위 2개) · drop_rules(새) · gear_drop_chapters(전설 상한 · 새 등급 10 → 40 → 70 %) · stage_rewards(상자 기준값 · 골드 · 경험치 2.5배) · gear_items(첫 드랍 장 · 0 = 출정 드랍 없음) · economy(군량 일반 5 · 보스 10 · 최대 50 · 상한 200 · 충전 300초 · gold_per_stage 8) · dev_tree(군량 상한 레벨당 +15) · gear_drop_stages 삭제 - 보상: 전리품을 출전할 때 미리 굴림(EconomyRules.RollLoot → OutGameSession.PendingLoot) → 전투 종료 때 그대로 지급(StageReward.gearIds) · 상자 굴림 chest_rolls 회 · 보스 첫 클리어 확정 상자 · 골드 · 경험 = 지역 · 보스 배율(StageGoldExp) · 군량 최대 상한(stamina_max_limit) - 화면: 월드맵 노드 지역 표식 · 스테이지 정보 창(지역 줄 · 지정 장비 2칸 · 상자 확률) · 전투 중 전리품 연출(BattleLootFx · 표 battle_loot.csv · Unit.Died) · 결과 창 「전리품」 줄(확정 뱃지 · 지정 장비 · 필요 영웅 꼬리표) - 테스트: GearTests 11 · LootFxTests 1 통과(캡처 Capture_Loot = Explicit) · 컴파일 0 - 남은 것: 서버 모드 보상 규칙(서버 쪽) · 금화 · 경험치 · 상자 그림(임시) · 병종별 장비 아이콘(아트 요청) - 요청서: 조직 레포 공유/기획팀_산출물/삼국지슬링샷/개발요청_스테이지보상드랍_2026-11-23.md Co-Authored-By: Claude Fable 5.2 --- Assets/Data/OutGame/dev_tree.csv | 2 +- Assets/Data/OutGame/drop_rules.csv | 25 + ...op_stages.csv.meta => drop_rules.csv.meta} | 2 +- Assets/Data/OutGame/economy.csv | 13 +- Assets/Data/OutGame/gear_drop_chapters.csv | 20 +- Assets/Data/OutGame/gear_drop_stages.csv | 146 -- Assets/Data/OutGame/gear_items.csv | 180 +- Assets/Data/OutGame/stage_drop.csv | 146 ++ Assets/Data/OutGame/stage_drop.csv.meta | 7 + Assets/Data/OutGame/stage_rewards.csv | 20 +- Assets/Resources/OutGame/DevTree.asset | 2 +- Assets/Resources/OutGame/EconomyConfig.asset | 14 +- Assets/Resources/OutGame/GearDb.asset | 1950 ++++++++++++----- Assets/Resources/OutGame/RewardTable.asset | 60 +- Assets/Resources/UI/Battle/battle_loot.csv | 10 + .../Resources/UI/Battle/battle_loot.csv.meta | 7 + Assets/Scripts/OutGame/Data/EconomyConfig.cs | 4 +- Assets/Scripts/OutGame/Data/GearDb.cs | 33 +- .../OutGame/Data/OutGameTables.Gear.cs | 63 +- Assets/Scripts/OutGame/Data/RewardTable.cs | 3 +- Assets/Scripts/OutGame/EconomyRules.cs | 216 +- Assets/Scripts/OutGame/Net/ServerSession.cs | 5 + Assets/Scripts/OutGame/OutGameSession.cs | 14 +- Assets/Scripts/OutGame/OutGameTables.cs | 2 +- Assets/Scripts/OutGame/UI/BattleLootFx.cs | 350 +++ .../Scripts/OutGame/UI/BattleLootFx.cs.meta | 2 + .../Scripts/OutGame/UI/BattleResultPanel.cs | 112 +- Assets/Scripts/OutGame/UI/HeroScreens.cs | 2 +- Assets/Scripts/OutGame/UI/OutGameRoot.cs | 90 +- Assets/Scripts/Runtime/Unit.cs | 11 + Assets/Scripts/Runtime/WorldMapScreen.cs | 3 + Assets/Tests/PlayMode/GearTests.cs | 184 +- Assets/Tests/PlayMode/LootFxTests.cs | 156 ++ Assets/Tests/PlayMode/LootFxTests.cs.meta | 2 + Assets/Tests/PlayMode/OutGameTests.cs | 14 +- CLAUDE.md | 1 + 36 files changed, 2954 insertions(+), 917 deletions(-) create mode 100644 Assets/Data/OutGame/drop_rules.csv rename Assets/Data/OutGame/{gear_drop_stages.csv.meta => drop_rules.csv.meta} (75%) delete mode 100644 Assets/Data/OutGame/gear_drop_stages.csv create mode 100644 Assets/Data/OutGame/stage_drop.csv create mode 100644 Assets/Data/OutGame/stage_drop.csv.meta create mode 100644 Assets/Resources/UI/Battle/battle_loot.csv create mode 100644 Assets/Resources/UI/Battle/battle_loot.csv.meta create mode 100644 Assets/Scripts/OutGame/UI/BattleLootFx.cs create mode 100644 Assets/Scripts/OutGame/UI/BattleLootFx.cs.meta create mode 100644 Assets/Tests/PlayMode/LootFxTests.cs create mode 100644 Assets/Tests/PlayMode/LootFxTests.cs.meta diff --git a/Assets/Data/OutGame/dev_tree.csv b/Assets/Data/OutGame/dev_tree.csv index 8b60d952..692bc353 100644 --- a/Assets/Data/OutGame/dev_tree.csv +++ b/Assets/Data/OutGame/dev_tree.csv @@ -8,7 +8,7 @@ commerce,com_patrol_gold,순찰 골드,small,patrol_gold_pct,3,10,200,1.3,5,1,co commerce,com_sell_price,판매가,small,sell_price_pct,2,10,200,1.3,5,1,com_market:1 commerce,com_first_clear_gem,첫 클리어 보옥,small,first_clear_gem_pct,5,10,200,1.3,5,1,com_patrol_gold:5 commerce,com_star_reward,별 보상,small,star_reward_pct,3,10,200,1.3,5,1,com_sell_price:5 -agri,agr_food_cap,군량 상한,small,food_cap_add,1,10,200,1.3,5,1, +agri,agr_food_cap,군량 상한,small,food_cap_add,15,10,200,1.3,5,1, agri,agr_food_regen,군량 회복,small,food_regen_cut_sec,10,10,200,1.3,5,1,agr_food_cap:3 agri,agr_patrol_yield,순찰 수확,small,patrol_yield_pct,3,10,200,1.3,5,1,agr_food_cap:5 agri,agr_patrol_cap,순찰 시간 상한,small,patrol_cap_min,30,10,200,1.3,5,1,agr_food_regen:5 diff --git a/Assets/Data/OutGame/drop_rules.csv b/Assets/Data/OutGame/drop_rules.csv new file mode 100644 index 00000000..293971cf --- /dev/null +++ b/Assets/Data/OutGame/drop_rules.csv @@ -0,0 +1,25 @@ +s_key,s_value,Memo +gear_type_mult_normal,1.0,스테이지 종류별 장비 상자 기대 개수 배율 · 기준 = stage_rewards.gear_drop_pct(그 장 일반 스테이지 1판의 상자 기대 개수) +gear_type_mult_elite,1.25,엘리트 스테이지(군량은 일반과 같음) +gear_type_mult_boss,2.4,보스 스테이지 · 군량 10(일반의 2배 · PD 2026-11-24 「보스 스테이지는 10」) → 군량 1당 일반의 1.2배(처음 설계 비율)가 되게 2.4 +boss_gold_mult,2,보스 스테이지 골드 배율 · 군량이 2배라 골드도 2배(군량 1당 일반과 같게) · stage_drop.f_gold_mult 에 곱해 넣는다 +boss_exp_mult,2,보스 스테이지 경험치 배율 · 위와 같음 · stage_drop.f_exp_mult 에 곱해 넣는다 +region_gold_mult,1.5,골드 지역 = 그 스테이지 골드 × 1.5 +region_exp_mult,1.5,경험치 지역 = 그 스테이지 경험치 × 1.5 +region_gear_mult,1.5,장비 지역 = 그 스테이지 상자 기대 개수 × 1.5 +chest_rolls,3,상자 굴림 횟수 = 한 판 상자 최대 개수 · 굴림 1회 확률 = 상자 기대 개수 ÷ 3 +chest_carrier_w_soldier,1,상자를 든 적 고르기 가중치 · 병사 +chest_carrier_w_general,4,무장(엘리트 장수) +chest_carrier_w_boss,8,보스 +kill_share_w_soldier,1,적 1기가 떨어뜨리는 골드 · 경험치 몫 가중치 · 병사 · 합계 = 그 스테이지 골드 · 경험치 총량 +kill_share_w_general,3,무장 +kill_share_w_boss,6,보스 +boss_first_chest,1,보스 스테이지 첫 클리어 확정 상자 수 · 등급 = 그 장 가중치가 가장 큰 등급 · 장비 = 그 스테이지 지정 장비 +focus_pct,40,상자 장비가 그 스테이지 지정 장비 2종에서 나올 몫(%) · 2종 반반 · 나머지 60 = 그 등급 30종 균등(지정 포함) +hard_stamina_mult,2,[추후] 어려움 군량 배율 = 일반 10 · 보스 20(PD 2026-11-24 「하드 모드는 일반 스테이지는 10 · 보스 스테이지는 20」) +hard_gear_mult,1.5,[추후 · 제안] 어려움 상자 기대 개수 배율 +hard_grade_shift,1,[추후 · 제안] 어려움 등급 표 = 한 장 뒤(10장 = 전설 100) +hard_daily_per_stage,3,[추후 · 제안] 어려움 스테이지별 하루 입장 수 +hard_boss_shard_min,1,[추후 · 제안] 어려움 보스 처치 시 그 영웅 조각 최소 +hard_boss_shard_max,2,[추후 · 제안] 최대 +daily_stamina_base,200,계산 기준 = 하루에 쓰는 군량(PD 2026-11-24 「하루 군량 200을 기준으로」 = 군량 5 로 하루 40판) · 5분당 1(PD 2026-11-24 확정)을 하나도 안 버리면 288(58판) · 8시간 자면 약 240(48판) · 게임이 읽지 않는다 · 성장 계산(_drop_reward_gen.py)만 쓴다 diff --git a/Assets/Data/OutGame/gear_drop_stages.csv.meta b/Assets/Data/OutGame/drop_rules.csv.meta similarity index 75% rename from Assets/Data/OutGame/gear_drop_stages.csv.meta rename to Assets/Data/OutGame/drop_rules.csv.meta index 10b44276..012c0948 100644 --- a/Assets/Data/OutGame/gear_drop_stages.csv.meta +++ b/Assets/Data/OutGame/drop_rules.csv.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 9d562a6587789964a8bd35d5da41a143 +guid: ff4b2fab9f150a440a37442d09d7e00d TextScriptImporter: externalObjects: {} userData: diff --git a/Assets/Data/OutGame/economy.csv b/Assets/Data/OutGame/economy.csv index add0e004..b08c67ca 100644 --- a/Assets/Data/OutGame/economy.csv +++ b/Assets/Data/OutGame/economy.csv @@ -1,8 +1,9 @@ key,value -stamina_max,30 -stamina_regen_sec,360 -stage_cost,2 -boss_cost,3 +stamina_max,50 +stamina_max_limit,200 +stamina_regen_sec,300 +stage_cost,5 +boss_cost,10 ad_stamina,10 ad_stamina_daily,2 gem_stamina_cost,50 @@ -15,7 +16,7 @@ shard_dup_r1,5 soldier_dup_gold,500 start_gold,1000 start_gem,300 -start_stamina,30 +start_stamina,50 start_heroes,liubei;guanyu;zhangfei;zhaoyun;huangzhong preset_count,3 formation_front,3 @@ -23,7 +24,7 @@ gear_bonus_pct,1 power_hp_div,10 power_atk_w,3 power_def_w,2 -gold_per_stage,3 +gold_per_stage,8 first_clear_gold_mult,3 boss_gear_drop_pct,1 shop_slots,6 diff --git a/Assets/Data/OutGame/gear_drop_chapters.csv b/Assets/Data/OutGame/gear_drop_chapters.csv index def08baf..88c6c55b 100644 --- a/Assets/Data/OutGame/gear_drop_chapters.csv +++ b/Assets/Data/OutGame/gear_drop_chapters.csv @@ -1,11 +1,11 @@ n_chapter,l_grade,l_weight,Memo -1,white,100,PD 「일반」 = 일반 · 스테이지 장비 드랍 등급의 SOT(stage_rewards.gear_grade_max · gear_items.drop_from_chapter 판정을 대신함) · 드랍 확률은 그대로 stage_rewards.gear_drop_pct · 등급을 가중치로 고른 뒤 그 등급 장비 12종 중 균등 · 가중치 = 같은 몫(확정 PD 2026-11-20) -2,white;green,50;50,PD 「일반~고급」 = 일반 · 고급 -3,green,100,PD 「고급」 = 고급 -4,green;blue,50;50,PD 「고급~희귀」 = 고급 · 희귀 -5,blue,100,PD 「희귀」 = 희귀 -6,blue;purple;orange,34;33;33,PD 「희귀~전설」 = 희귀 · 에픽 · 전설(희귀~전설 사이 = 에픽 포함) -7,orange,100,PD 「전설」 = 전설 -8,orange;red,50;50,PD 「전설~불멸」 = 전설 · 불멸 -9,red,100,PD 「불멸」 = 불멸 -10,red;rainbow,50;50,PD 「불멸~신화」 = 불멸 · 신화 +1,white,100,일반만 · 주력 덱 목표 = 일반 3칸(영웅당) · 불멸 · 신화는 출정에서 나오지 않는다(PD 2026-11-23 「불멸 이상 = 특정 컨텐츠」) +2,white;green,90;10,목표 = 일반 6칸 → 청 승급 · 고급 맛보기 10 +3,white;green,60;40,목표 = 고급 3칸 · 새 등급은 첫 장 40 → 다음 장 70(군량 5 · 하루 40판 기준으로 올림 · PD 2026-11-24) · 일반 = 새로 키우는 영웅 · 합성 재료 +4,white;green;blue,20;70;10,목표 = 고급 6칸 → 자 승급 · 희귀 맛보기 10 +5,green;blue,60;40,목표 = 희귀 3칸 +6,green;blue;purple,20;70;10,목표 = 희귀 6칸 → 주황 승급 · 에픽 맛보기 10 +7,blue;purple,60;40,목표 = 에픽 3칸 +8,blue;purple;orange,20;70;10,목표 = 에픽 6칸 → 금 승급 · 전설 맛보기 10 +9,purple;orange,60;40,목표 = 전설 3칸 +10,purple;orange,30;70,목표 = 전설 6칸(금 등급 6칸 채움) · 전설 = 출정 최고 등급 diff --git a/Assets/Data/OutGame/gear_drop_stages.csv b/Assets/Data/OutGame/gear_drop_stages.csv deleted file mode 100644 index 91656400..00000000 --- a/Assets/Data/OutGame/gear_drop_stages.csv +++ /dev/null @@ -1,146 +0,0 @@ -n_chapter,n_stage,s_unit_type,s_kind,f_focus_pct,Memo -1,1,strategist,armor,40,장비가 드랍되면 → 등급 = gear_drop_chapters(장) · 장비 = 40 % 로 이 줄의 병종 · 부위 · 나머지 = 그 등급 장비 전부 중 균등(이 장비 포함) · 확률이 높을 뿐 제한 아님(PD 2026-11-20) · 만든 곳 = _gear_class_gen.py(seed 20261120) -1,2,infantry,weapon,40, -1,3,archer,armor,40, -1,4,spear,weapon,40, -1,5,infantry,armor,40, -1,6,strategist,weapon,40, -1,7,cavalry,armor,40, -1,8,archer,weapon,40, -1,9,spear,armor,40, -1,10,cavalry,weapon,40, -2,1,infantry,accessory,40, -2,2,archer,offhand,40, -2,3,cavalry,pouch,40, -2,4,strategist,offhand,40, -2,5,infantry,helmet,40, -2,6,spear,accessory,40, -2,7,archer,helmet,40, -2,8,spear,pouch,40, -2,9,strategist,accessory,40, -2,10,cavalry,offhand,40, -3,1,spear,weapon,40, -3,2,cavalry,accessory,40, -3,3,archer,pouch,40, -3,4,spear,helmet,40, -3,5,strategist,pouch,40, -3,6,cavalry,helmet,40, -3,7,spear,offhand,40, -3,8,cavalry,armor,40, -3,9,strategist,helmet,40, -3,10,archer,accessory,40, -3,11,infantry,offhand,40, -3,12,archer,armor,40, -3,13,infantry,pouch,40, -3,14,strategist,armor,40, -3,15,infantry,accessory,40, -4,1,strategist,helmet,40, -4,2,cavalry,accessory,40, -4,3,archer,offhand,40, -4,4,infantry,weapon,40, -4,5,strategist,accessory,40, -4,6,infantry,offhand,40, -4,7,spear,pouch,40, -4,8,archer,accessory,40, -4,9,cavalry,weapon,40, -4,10,spear,offhand,40, -4,11,cavalry,helmet,40, -4,12,archer,pouch,40, -4,13,infantry,helmet,40, -4,14,strategist,weapon,40, -4,15,spear,helmet,40, -5,1,infantry,pouch,40, -5,2,archer,helmet,40, -5,3,cavalry,offhand,40, -5,4,strategist,accessory,40, -5,5,archer,pouch,40, -5,6,infantry,armor,40, -5,7,cavalry,accessory,40, -5,8,strategist,offhand,40, -5,9,archer,weapon,40, -5,10,spear,pouch,40, -5,11,infantry,weapon,40, -5,12,cavalry,pouch,40, -5,13,spear,armor,40, -5,14,strategist,pouch,40, -5,15,spear,accessory,40, -6,1,strategist,armor,40, -6,2,spear,accessory,40, -6,3,infantry,pouch,40, -6,4,strategist,helmet,40, -6,5,cavalry,pouch,40, -6,6,archer,offhand,40, -6,7,spear,weapon,40, -6,8,cavalry,offhand,40, -6,9,archer,weapon,40, -6,10,spear,helmet,40, -6,11,cavalry,armor,40, -6,12,infantry,helmet,40, -6,13,spear,armor,40, -6,14,cavalry,weapon,40, -6,15,infantry,armor,40, -6,16,archer,accessory,40, -6,17,strategist,weapon,40, -6,18,archer,armor,40, -6,19,infantry,offhand,40, -6,20,strategist,pouch,40, -7,1,cavalry,helmet,40, -7,2,spear,offhand,40, -7,3,infantry,helmet,40, -7,4,strategist,offhand,40, -7,5,archer,armor,40, -7,6,infantry,accessory,40, -7,7,spear,pouch,40, -7,8,archer,helmet,40, -7,9,strategist,pouch,40, -7,10,cavalry,accessory,40, -8,1,archer,pouch,40, -8,2,spear,accessory,40, -8,3,strategist,helmet,40, -8,4,cavalry,weapon,40, -8,5,strategist,armor,40, -8,6,archer,weapon,40, -8,7,infantry,offhand,40, -8,8,spear,helmet,40, -8,9,infantry,accessory,40, -8,10,strategist,offhand,40, -8,11,archer,helmet,40, -8,12,cavalry,pouch,40, -8,13,spear,armor,40, -8,14,cavalry,offhand,40, -8,15,infantry,armor,40, -9,1,cavalry,helmet,40, -9,2,spear,weapon,40, -9,3,cavalry,armor,40, -9,4,infantry,pouch,40, -9,5,strategist,weapon,40, -9,6,archer,offhand,40, -9,7,spear,armor,40, -9,8,infantry,offhand,40, -9,9,strategist,accessory,40, -9,10,archer,weapon,40, -9,11,strategist,helmet,40, -9,12,cavalry,pouch,40, -9,13,archer,accessory,40, -9,14,spear,offhand,40, -9,15,infantry,weapon,40, -10,1,spear,pouch,40, -10,2,cavalry,helmet,40, -10,3,infantry,accessory,40, -10,4,strategist,armor,40, -10,5,archer,helmet,40, -10,6,cavalry,offhand,40, -10,7,spear,weapon,40, -10,8,infantry,pouch,40, -10,9,strategist,weapon,40, -10,10,spear,offhand,40, -10,11,archer,armor,40, -10,12,strategist,accessory,40, -10,13,archer,offhand,40, -10,14,infantry,helmet,40, -10,15,strategist,pouch,40, -10,16,spear,helmet,40, -10,17,archer,accessory,40, -10,18,cavalry,weapon,40, -10,19,infantry,armor,40, -10,20,cavalry,accessory,40, diff --git a/Assets/Data/OutGame/gear_items.csv b/Assets/Data/OutGame/gear_items.csv index f59e2bcd..c67982b1 100644 --- a/Assets/Data/OutGame/gear_items.csv +++ b/Assets/Data/OutGame/gear_items.csv @@ -3,209 +3,209 @@ gear_infantry_weapon_white,환도,weapon,white,10,1,,0,0,0.6,infantry,gear_sword gear_infantry_weapon_green,환도,weapon,green,30,2,gear_infantry_weapon_white,3,0,0.9,infantry,gear_sword gear_infantry_weapon_blue,환도,weapon,blue,90,4,gear_infantry_weapon_green,3,1,1.1,infantry,gear_sword gear_infantry_weapon_purple,환도,weapon,purple,270,6,gear_infantry_weapon_blue,3,2,1.4,infantry,gear_sword -gear_infantry_weapon_orange,환도,weapon,orange,810,6,gear_infantry_weapon_purple,3,4,1.7,infantry,gear_sword -gear_infantry_weapon_red,환도,weapon,red,2430,8,gear_infantry_weapon_orange,3,8,2.0,infantry,gear_sword -gear_infantry_weapon_rainbow,환도,weapon,rainbow,7290,10,gear_infantry_weapon_red,3,16,2.3,infantry,gear_sword +gear_infantry_weapon_orange,환도,weapon,orange,810,8,gear_infantry_weapon_purple,3,4,1.7,infantry,gear_sword +gear_infantry_weapon_red,환도,weapon,red,2430,0,gear_infantry_weapon_orange,3,8,2.0,infantry,gear_sword +gear_infantry_weapon_rainbow,환도,weapon,rainbow,7290,0,gear_infantry_weapon_red,3,16,2.3,infantry,gear_sword gear_infantry_armor_white,철갑,armor,white,10,1,,0,0,0.6,infantry,gear_armor gear_infantry_armor_green,철갑,armor,green,30,2,gear_infantry_armor_white,3,0,0.9,infantry,gear_armor gear_infantry_armor_blue,철갑,armor,blue,90,4,gear_infantry_armor_green,3,1,1.1,infantry,gear_armor gear_infantry_armor_purple,철갑,armor,purple,270,6,gear_infantry_armor_blue,3,2,1.4,infantry,gear_armor -gear_infantry_armor_orange,철갑,armor,orange,810,6,gear_infantry_armor_purple,3,4,1.7,infantry,gear_armor -gear_infantry_armor_red,철갑,armor,red,2430,8,gear_infantry_armor_orange,3,8,2.0,infantry,gear_armor -gear_infantry_armor_rainbow,철갑,armor,rainbow,7290,10,gear_infantry_armor_red,3,16,2.3,infantry,gear_armor +gear_infantry_armor_orange,철갑,armor,orange,810,8,gear_infantry_armor_purple,3,4,1.7,infantry,gear_armor +gear_infantry_armor_red,철갑,armor,red,2430,0,gear_infantry_armor_orange,3,8,2.0,infantry,gear_armor +gear_infantry_armor_rainbow,철갑,armor,rainbow,7290,0,gear_infantry_armor_red,3,16,2.3,infantry,gear_armor gear_infantry_helmet_white,철투구,helmet,white,10,1,,0,0,0.6,infantry,gear_helmet gear_infantry_helmet_green,철투구,helmet,green,30,2,gear_infantry_helmet_white,3,0,0.9,infantry,gear_helmet gear_infantry_helmet_blue,철투구,helmet,blue,90,4,gear_infantry_helmet_green,3,1,1.1,infantry,gear_helmet gear_infantry_helmet_purple,철투구,helmet,purple,270,6,gear_infantry_helmet_blue,3,2,1.4,infantry,gear_helmet -gear_infantry_helmet_orange,철투구,helmet,orange,810,6,gear_infantry_helmet_purple,3,4,1.7,infantry,gear_helmet -gear_infantry_helmet_red,철투구,helmet,red,2430,8,gear_infantry_helmet_orange,3,8,2.0,infantry,gear_helmet -gear_infantry_helmet_rainbow,철투구,helmet,rainbow,7290,10,gear_infantry_helmet_red,3,16,2.3,infantry,gear_helmet +gear_infantry_helmet_orange,철투구,helmet,orange,810,8,gear_infantry_helmet_purple,3,4,1.7,infantry,gear_helmet +gear_infantry_helmet_red,철투구,helmet,red,2430,0,gear_infantry_helmet_orange,3,8,2.0,infantry,gear_helmet +gear_infantry_helmet_rainbow,철투구,helmet,rainbow,7290,0,gear_infantry_helmet_red,3,16,2.3,infantry,gear_helmet gear_infantry_offhand_white,원형 방패,offhand,white,10,1,,0,0,0.6,infantry,gear_shield gear_infantry_offhand_green,원형 방패,offhand,green,30,2,gear_infantry_offhand_white,3,0,0.9,infantry,gear_shield gear_infantry_offhand_blue,원형 방패,offhand,blue,90,4,gear_infantry_offhand_green,3,1,1.1,infantry,gear_shield gear_infantry_offhand_purple,원형 방패,offhand,purple,270,6,gear_infantry_offhand_blue,3,2,1.4,infantry,gear_shield -gear_infantry_offhand_orange,원형 방패,offhand,orange,810,6,gear_infantry_offhand_purple,3,4,1.7,infantry,gear_shield -gear_infantry_offhand_red,원형 방패,offhand,red,2430,8,gear_infantry_offhand_orange,3,8,2.0,infantry,gear_shield -gear_infantry_offhand_rainbow,원형 방패,offhand,rainbow,7290,10,gear_infantry_offhand_red,3,16,2.3,infantry,gear_shield +gear_infantry_offhand_orange,원형 방패,offhand,orange,810,8,gear_infantry_offhand_purple,3,4,1.7,infantry,gear_shield +gear_infantry_offhand_red,원형 방패,offhand,red,2430,0,gear_infantry_offhand_orange,3,8,2.0,infantry,gear_shield +gear_infantry_offhand_rainbow,원형 방패,offhand,rainbow,7290,0,gear_infantry_offhand_red,3,16,2.3,infantry,gear_shield gear_infantry_accessory_white,군령기,accessory,white,10,1,,0,0,0.6,infantry,gear_banner gear_infantry_accessory_green,군령기,accessory,green,30,2,gear_infantry_accessory_white,3,0,0.9,infantry,gear_banner gear_infantry_accessory_blue,군령기,accessory,blue,90,4,gear_infantry_accessory_green,3,1,1.1,infantry,gear_banner gear_infantry_accessory_purple,군령기,accessory,purple,270,6,gear_infantry_accessory_blue,3,2,1.4,infantry,gear_banner -gear_infantry_accessory_orange,군령기,accessory,orange,810,6,gear_infantry_accessory_purple,3,4,1.7,infantry,gear_banner -gear_infantry_accessory_red,군령기,accessory,red,2430,8,gear_infantry_accessory_orange,3,8,2.0,infantry,gear_banner -gear_infantry_accessory_rainbow,군령기,accessory,rainbow,7290,10,gear_infantry_accessory_red,3,16,2.3,infantry,gear_banner +gear_infantry_accessory_orange,군령기,accessory,orange,810,8,gear_infantry_accessory_purple,3,4,1.7,infantry,gear_banner +gear_infantry_accessory_red,군령기,accessory,red,2430,0,gear_infantry_accessory_orange,3,8,2.0,infantry,gear_banner +gear_infantry_accessory_rainbow,군령기,accessory,rainbow,7290,0,gear_infantry_accessory_red,3,16,2.3,infantry,gear_banner gear_infantry_pouch_white,약낭,pouch,white,10,1,,0,0,0.6,infantry,gear_potion gear_infantry_pouch_green,약낭,pouch,green,30,2,gear_infantry_pouch_white,3,0,0.9,infantry,gear_potion gear_infantry_pouch_blue,약낭,pouch,blue,90,4,gear_infantry_pouch_green,3,1,1.1,infantry,gear_potion gear_infantry_pouch_purple,약낭,pouch,purple,270,6,gear_infantry_pouch_blue,3,2,1.4,infantry,gear_potion -gear_infantry_pouch_orange,약낭,pouch,orange,810,6,gear_infantry_pouch_purple,3,4,1.7,infantry,gear_potion -gear_infantry_pouch_red,약낭,pouch,red,2430,8,gear_infantry_pouch_orange,3,8,2.0,infantry,gear_potion -gear_infantry_pouch_rainbow,약낭,pouch,rainbow,7290,10,gear_infantry_pouch_red,3,16,2.3,infantry,gear_potion +gear_infantry_pouch_orange,약낭,pouch,orange,810,8,gear_infantry_pouch_purple,3,4,1.7,infantry,gear_potion +gear_infantry_pouch_red,약낭,pouch,red,2430,0,gear_infantry_pouch_orange,3,8,2.0,infantry,gear_potion +gear_infantry_pouch_rainbow,약낭,pouch,rainbow,7290,0,gear_infantry_pouch_red,3,16,2.3,infantry,gear_potion gear_spear_weapon_white,장창,weapon,white,10,1,,0,0,0.6,spear,gear_spear gear_spear_weapon_green,장창,weapon,green,30,2,gear_spear_weapon_white,3,0,0.9,spear,gear_spear gear_spear_weapon_blue,장창,weapon,blue,90,4,gear_spear_weapon_green,3,1,1.1,spear,gear_spear gear_spear_weapon_purple,장창,weapon,purple,270,6,gear_spear_weapon_blue,3,2,1.4,spear,gear_spear -gear_spear_weapon_orange,장창,weapon,orange,810,6,gear_spear_weapon_purple,3,4,1.7,spear,gear_spear -gear_spear_weapon_red,장창,weapon,red,2430,8,gear_spear_weapon_orange,3,8,2.0,spear,gear_spear -gear_spear_weapon_rainbow,장창,weapon,rainbow,7290,10,gear_spear_weapon_red,3,16,2.3,spear,gear_spear +gear_spear_weapon_orange,장창,weapon,orange,810,8,gear_spear_weapon_purple,3,4,1.7,spear,gear_spear +gear_spear_weapon_red,장창,weapon,red,2430,0,gear_spear_weapon_orange,3,8,2.0,spear,gear_spear +gear_spear_weapon_rainbow,장창,weapon,rainbow,7290,0,gear_spear_weapon_red,3,16,2.3,spear,gear_spear gear_spear_armor_white,찰갑,armor,white,10,1,,0,0,0.6,spear,gear_armor gear_spear_armor_green,찰갑,armor,green,30,2,gear_spear_armor_white,3,0,0.9,spear,gear_armor gear_spear_armor_blue,찰갑,armor,blue,90,4,gear_spear_armor_green,3,1,1.1,spear,gear_armor gear_spear_armor_purple,찰갑,armor,purple,270,6,gear_spear_armor_blue,3,2,1.4,spear,gear_armor -gear_spear_armor_orange,찰갑,armor,orange,810,6,gear_spear_armor_purple,3,4,1.7,spear,gear_armor -gear_spear_armor_red,찰갑,armor,red,2430,8,gear_spear_armor_orange,3,8,2.0,spear,gear_armor -gear_spear_armor_rainbow,찰갑,armor,rainbow,7290,10,gear_spear_armor_red,3,16,2.3,spear,gear_armor +gear_spear_armor_orange,찰갑,armor,orange,810,8,gear_spear_armor_purple,3,4,1.7,spear,gear_armor +gear_spear_armor_red,찰갑,armor,red,2430,0,gear_spear_armor_orange,3,8,2.0,spear,gear_armor +gear_spear_armor_rainbow,찰갑,armor,rainbow,7290,0,gear_spear_armor_red,3,16,2.3,spear,gear_armor gear_spear_helmet_white,첨주,helmet,white,10,1,,0,0,0.6,spear,gear_helmet gear_spear_helmet_green,첨주,helmet,green,30,2,gear_spear_helmet_white,3,0,0.9,spear,gear_helmet gear_spear_helmet_blue,첨주,helmet,blue,90,4,gear_spear_helmet_green,3,1,1.1,spear,gear_helmet gear_spear_helmet_purple,첨주,helmet,purple,270,6,gear_spear_helmet_blue,3,2,1.4,spear,gear_helmet -gear_spear_helmet_orange,첨주,helmet,orange,810,6,gear_spear_helmet_purple,3,4,1.7,spear,gear_helmet -gear_spear_helmet_red,첨주,helmet,red,2430,8,gear_spear_helmet_orange,3,8,2.0,spear,gear_helmet -gear_spear_helmet_rainbow,첨주,helmet,rainbow,7290,10,gear_spear_helmet_red,3,16,2.3,spear,gear_helmet +gear_spear_helmet_orange,첨주,helmet,orange,810,8,gear_spear_helmet_purple,3,4,1.7,spear,gear_helmet +gear_spear_helmet_red,첨주,helmet,red,2430,0,gear_spear_helmet_orange,3,8,2.0,spear,gear_helmet +gear_spear_helmet_rainbow,첨주,helmet,rainbow,7290,0,gear_spear_helmet_red,3,16,2.3,spear,gear_helmet gear_spear_offhand_white,등패,offhand,white,10,1,,0,0,0.6,spear,gear_shield gear_spear_offhand_green,등패,offhand,green,30,2,gear_spear_offhand_white,3,0,0.9,spear,gear_shield gear_spear_offhand_blue,등패,offhand,blue,90,4,gear_spear_offhand_green,3,1,1.1,spear,gear_shield gear_spear_offhand_purple,등패,offhand,purple,270,6,gear_spear_offhand_blue,3,2,1.4,spear,gear_shield -gear_spear_offhand_orange,등패,offhand,orange,810,6,gear_spear_offhand_purple,3,4,1.7,spear,gear_shield -gear_spear_offhand_red,등패,offhand,red,2430,8,gear_spear_offhand_orange,3,8,2.0,spear,gear_shield -gear_spear_offhand_rainbow,등패,offhand,rainbow,7290,10,gear_spear_offhand_red,3,16,2.3,spear,gear_shield +gear_spear_offhand_orange,등패,offhand,orange,810,8,gear_spear_offhand_purple,3,4,1.7,spear,gear_shield +gear_spear_offhand_red,등패,offhand,red,2430,0,gear_spear_offhand_orange,3,8,2.0,spear,gear_shield +gear_spear_offhand_rainbow,등패,offhand,rainbow,7290,0,gear_spear_offhand_red,3,16,2.3,spear,gear_shield gear_spear_accessory_white,창 수술,accessory,white,10,1,,0,0,0.6,spear,gear_flag gear_spear_accessory_green,창 수술,accessory,green,30,2,gear_spear_accessory_white,3,0,0.9,spear,gear_flag gear_spear_accessory_blue,창 수술,accessory,blue,90,4,gear_spear_accessory_green,3,1,1.1,spear,gear_flag gear_spear_accessory_purple,창 수술,accessory,purple,270,6,gear_spear_accessory_blue,3,2,1.4,spear,gear_flag -gear_spear_accessory_orange,창 수술,accessory,orange,810,6,gear_spear_accessory_purple,3,4,1.7,spear,gear_flag -gear_spear_accessory_red,창 수술,accessory,red,2430,8,gear_spear_accessory_orange,3,8,2.0,spear,gear_flag -gear_spear_accessory_rainbow,창 수술,accessory,rainbow,7290,10,gear_spear_accessory_red,3,16,2.3,spear,gear_flag +gear_spear_accessory_orange,창 수술,accessory,orange,810,8,gear_spear_accessory_purple,3,4,1.7,spear,gear_flag +gear_spear_accessory_red,창 수술,accessory,red,2430,0,gear_spear_accessory_orange,3,8,2.0,spear,gear_flag +gear_spear_accessory_rainbow,창 수술,accessory,rainbow,7290,0,gear_spear_accessory_red,3,16,2.3,spear,gear_flag gear_spear_pouch_white,숫돌,pouch,white,10,1,,0,0,0.6,spear,gear_potion gear_spear_pouch_green,숫돌,pouch,green,30,2,gear_spear_pouch_white,3,0,0.9,spear,gear_potion gear_spear_pouch_blue,숫돌,pouch,blue,90,4,gear_spear_pouch_green,3,1,1.1,spear,gear_potion gear_spear_pouch_purple,숫돌,pouch,purple,270,6,gear_spear_pouch_blue,3,2,1.4,spear,gear_potion -gear_spear_pouch_orange,숫돌,pouch,orange,810,6,gear_spear_pouch_purple,3,4,1.7,spear,gear_potion -gear_spear_pouch_red,숫돌,pouch,red,2430,8,gear_spear_pouch_orange,3,8,2.0,spear,gear_potion -gear_spear_pouch_rainbow,숫돌,pouch,rainbow,7290,10,gear_spear_pouch_red,3,16,2.3,spear,gear_potion +gear_spear_pouch_orange,숫돌,pouch,orange,810,8,gear_spear_pouch_purple,3,4,1.7,spear,gear_potion +gear_spear_pouch_red,숫돌,pouch,red,2430,0,gear_spear_pouch_orange,3,8,2.0,spear,gear_potion +gear_spear_pouch_rainbow,숫돌,pouch,rainbow,7290,0,gear_spear_pouch_red,3,16,2.3,spear,gear_potion gear_cavalry_weapon_white,마상창,weapon,white,10,1,,0,0,0.6,cavalry,gear_spear gear_cavalry_weapon_green,마상창,weapon,green,30,2,gear_cavalry_weapon_white,3,0,0.9,cavalry,gear_spear gear_cavalry_weapon_blue,마상창,weapon,blue,90,4,gear_cavalry_weapon_green,3,1,1.1,cavalry,gear_spear gear_cavalry_weapon_purple,마상창,weapon,purple,270,6,gear_cavalry_weapon_blue,3,2,1.4,cavalry,gear_spear -gear_cavalry_weapon_orange,마상창,weapon,orange,810,6,gear_cavalry_weapon_purple,3,4,1.7,cavalry,gear_spear -gear_cavalry_weapon_red,마상창,weapon,red,2430,8,gear_cavalry_weapon_orange,3,8,2.0,cavalry,gear_spear -gear_cavalry_weapon_rainbow,마상창,weapon,rainbow,7290,10,gear_cavalry_weapon_red,3,16,2.3,cavalry,gear_spear +gear_cavalry_weapon_orange,마상창,weapon,orange,810,8,gear_cavalry_weapon_purple,3,4,1.7,cavalry,gear_spear +gear_cavalry_weapon_red,마상창,weapon,red,2430,0,gear_cavalry_weapon_orange,3,8,2.0,cavalry,gear_spear +gear_cavalry_weapon_rainbow,마상창,weapon,rainbow,7290,0,gear_cavalry_weapon_red,3,16,2.3,cavalry,gear_spear gear_cavalry_armor_white,기마 갑주,armor,white,10,1,,0,0,0.6,cavalry,gear_armor gear_cavalry_armor_green,기마 갑주,armor,green,30,2,gear_cavalry_armor_white,3,0,0.9,cavalry,gear_armor gear_cavalry_armor_blue,기마 갑주,armor,blue,90,4,gear_cavalry_armor_green,3,1,1.1,cavalry,gear_armor gear_cavalry_armor_purple,기마 갑주,armor,purple,270,6,gear_cavalry_armor_blue,3,2,1.4,cavalry,gear_armor -gear_cavalry_armor_orange,기마 갑주,armor,orange,810,6,gear_cavalry_armor_purple,3,4,1.7,cavalry,gear_armor -gear_cavalry_armor_red,기마 갑주,armor,red,2430,8,gear_cavalry_armor_orange,3,8,2.0,cavalry,gear_armor -gear_cavalry_armor_rainbow,기마 갑주,armor,rainbow,7290,10,gear_cavalry_armor_red,3,16,2.3,cavalry,gear_armor +gear_cavalry_armor_orange,기마 갑주,armor,orange,810,8,gear_cavalry_armor_purple,3,4,1.7,cavalry,gear_armor +gear_cavalry_armor_red,기마 갑주,armor,red,2430,0,gear_cavalry_armor_orange,3,8,2.0,cavalry,gear_armor +gear_cavalry_armor_rainbow,기마 갑주,armor,rainbow,7290,0,gear_cavalry_armor_red,3,16,2.3,cavalry,gear_armor gear_cavalry_helmet_white,기마 투구,helmet,white,10,1,,0,0,0.6,cavalry,gear_helmet gear_cavalry_helmet_green,기마 투구,helmet,green,30,2,gear_cavalry_helmet_white,3,0,0.9,cavalry,gear_helmet gear_cavalry_helmet_blue,기마 투구,helmet,blue,90,4,gear_cavalry_helmet_green,3,1,1.1,cavalry,gear_helmet gear_cavalry_helmet_purple,기마 투구,helmet,purple,270,6,gear_cavalry_helmet_blue,3,2,1.4,cavalry,gear_helmet -gear_cavalry_helmet_orange,기마 투구,helmet,orange,810,6,gear_cavalry_helmet_purple,3,4,1.7,cavalry,gear_helmet -gear_cavalry_helmet_red,기마 투구,helmet,red,2430,8,gear_cavalry_helmet_orange,3,8,2.0,cavalry,gear_helmet -gear_cavalry_helmet_rainbow,기마 투구,helmet,rainbow,7290,10,gear_cavalry_helmet_red,3,16,2.3,cavalry,gear_helmet +gear_cavalry_helmet_orange,기마 투구,helmet,orange,810,8,gear_cavalry_helmet_purple,3,4,1.7,cavalry,gear_helmet +gear_cavalry_helmet_red,기마 투구,helmet,red,2430,0,gear_cavalry_helmet_orange,3,8,2.0,cavalry,gear_helmet +gear_cavalry_helmet_rainbow,기마 투구,helmet,rainbow,7290,0,gear_cavalry_helmet_red,3,16,2.3,cavalry,gear_helmet gear_cavalry_offhand_white,마구,offhand,white,10,1,,0,0,0.6,cavalry,gear_horse gear_cavalry_offhand_green,마구,offhand,green,30,2,gear_cavalry_offhand_white,3,0,0.9,cavalry,gear_horse gear_cavalry_offhand_blue,마구,offhand,blue,90,4,gear_cavalry_offhand_green,3,1,1.1,cavalry,gear_horse gear_cavalry_offhand_purple,마구,offhand,purple,270,6,gear_cavalry_offhand_blue,3,2,1.4,cavalry,gear_horse -gear_cavalry_offhand_orange,마구,offhand,orange,810,6,gear_cavalry_offhand_purple,3,4,1.7,cavalry,gear_horse -gear_cavalry_offhand_red,마구,offhand,red,2430,8,gear_cavalry_offhand_orange,3,8,2.0,cavalry,gear_horse -gear_cavalry_offhand_rainbow,마구,offhand,rainbow,7290,10,gear_cavalry_offhand_red,3,16,2.3,cavalry,gear_horse +gear_cavalry_offhand_orange,마구,offhand,orange,810,8,gear_cavalry_offhand_purple,3,4,1.7,cavalry,gear_horse +gear_cavalry_offhand_red,마구,offhand,red,2430,0,gear_cavalry_offhand_orange,3,8,2.0,cavalry,gear_horse +gear_cavalry_offhand_rainbow,마구,offhand,rainbow,7290,0,gear_cavalry_offhand_red,3,16,2.3,cavalry,gear_horse gear_cavalry_accessory_white,전고,accessory,white,10,1,,0,0,0.6,cavalry,gear_flag gear_cavalry_accessory_green,전고,accessory,green,30,2,gear_cavalry_accessory_white,3,0,0.9,cavalry,gear_flag gear_cavalry_accessory_blue,전고,accessory,blue,90,4,gear_cavalry_accessory_green,3,1,1.1,cavalry,gear_flag gear_cavalry_accessory_purple,전고,accessory,purple,270,6,gear_cavalry_accessory_blue,3,2,1.4,cavalry,gear_flag -gear_cavalry_accessory_orange,전고,accessory,orange,810,6,gear_cavalry_accessory_purple,3,4,1.7,cavalry,gear_flag -gear_cavalry_accessory_red,전고,accessory,red,2430,8,gear_cavalry_accessory_orange,3,8,2.0,cavalry,gear_flag -gear_cavalry_accessory_rainbow,전고,accessory,rainbow,7290,10,gear_cavalry_accessory_red,3,16,2.3,cavalry,gear_flag +gear_cavalry_accessory_orange,전고,accessory,orange,810,8,gear_cavalry_accessory_purple,3,4,1.7,cavalry,gear_flag +gear_cavalry_accessory_red,전고,accessory,red,2430,0,gear_cavalry_accessory_orange,3,8,2.0,cavalry,gear_flag +gear_cavalry_accessory_rainbow,전고,accessory,rainbow,7290,0,gear_cavalry_accessory_red,3,16,2.3,cavalry,gear_flag gear_cavalry_pouch_white,마량 자루,pouch,white,10,1,,0,0,0.6,cavalry,gear_potion gear_cavalry_pouch_green,마량 자루,pouch,green,30,2,gear_cavalry_pouch_white,3,0,0.9,cavalry,gear_potion gear_cavalry_pouch_blue,마량 자루,pouch,blue,90,4,gear_cavalry_pouch_green,3,1,1.1,cavalry,gear_potion gear_cavalry_pouch_purple,마량 자루,pouch,purple,270,6,gear_cavalry_pouch_blue,3,2,1.4,cavalry,gear_potion -gear_cavalry_pouch_orange,마량 자루,pouch,orange,810,6,gear_cavalry_pouch_purple,3,4,1.7,cavalry,gear_potion -gear_cavalry_pouch_red,마량 자루,pouch,red,2430,8,gear_cavalry_pouch_orange,3,8,2.0,cavalry,gear_potion -gear_cavalry_pouch_rainbow,마량 자루,pouch,rainbow,7290,10,gear_cavalry_pouch_red,3,16,2.3,cavalry,gear_potion +gear_cavalry_pouch_orange,마량 자루,pouch,orange,810,8,gear_cavalry_pouch_purple,3,4,1.7,cavalry,gear_potion +gear_cavalry_pouch_red,마량 자루,pouch,red,2430,0,gear_cavalry_pouch_orange,3,8,2.0,cavalry,gear_potion +gear_cavalry_pouch_rainbow,마량 자루,pouch,rainbow,7290,0,gear_cavalry_pouch_red,3,16,2.3,cavalry,gear_potion gear_archer_weapon_white,각궁,weapon,white,10,1,,0,0,0.6,archer,gear_bow gear_archer_weapon_green,각궁,weapon,green,30,2,gear_archer_weapon_white,3,0,0.9,archer,gear_bow gear_archer_weapon_blue,각궁,weapon,blue,90,4,gear_archer_weapon_green,3,1,1.1,archer,gear_bow gear_archer_weapon_purple,각궁,weapon,purple,270,6,gear_archer_weapon_blue,3,2,1.4,archer,gear_bow -gear_archer_weapon_orange,각궁,weapon,orange,810,6,gear_archer_weapon_purple,3,4,1.7,archer,gear_bow -gear_archer_weapon_red,각궁,weapon,red,2430,8,gear_archer_weapon_orange,3,8,2.0,archer,gear_bow -gear_archer_weapon_rainbow,각궁,weapon,rainbow,7290,10,gear_archer_weapon_red,3,16,2.3,archer,gear_bow +gear_archer_weapon_orange,각궁,weapon,orange,810,8,gear_archer_weapon_purple,3,4,1.7,archer,gear_bow +gear_archer_weapon_red,각궁,weapon,red,2430,0,gear_archer_weapon_orange,3,8,2.0,archer,gear_bow +gear_archer_weapon_rainbow,각궁,weapon,rainbow,7290,0,gear_archer_weapon_red,3,16,2.3,archer,gear_bow gear_archer_armor_white,피갑,armor,white,10,1,,0,0,0.6,archer,gear_armor gear_archer_armor_green,피갑,armor,green,30,2,gear_archer_armor_white,3,0,0.9,archer,gear_armor gear_archer_armor_blue,피갑,armor,blue,90,4,gear_archer_armor_green,3,1,1.1,archer,gear_armor gear_archer_armor_purple,피갑,armor,purple,270,6,gear_archer_armor_blue,3,2,1.4,archer,gear_armor -gear_archer_armor_orange,피갑,armor,orange,810,6,gear_archer_armor_purple,3,4,1.7,archer,gear_armor -gear_archer_armor_red,피갑,armor,red,2430,8,gear_archer_armor_orange,3,8,2.0,archer,gear_armor -gear_archer_armor_rainbow,피갑,armor,rainbow,7290,10,gear_archer_armor_red,3,16,2.3,archer,gear_armor +gear_archer_armor_orange,피갑,armor,orange,810,8,gear_archer_armor_purple,3,4,1.7,archer,gear_armor +gear_archer_armor_red,피갑,armor,red,2430,0,gear_archer_armor_orange,3,8,2.0,archer,gear_armor +gear_archer_armor_rainbow,피갑,armor,rainbow,7290,0,gear_archer_armor_red,3,16,2.3,archer,gear_armor gear_archer_helmet_white,가죽 두건,helmet,white,10,1,,0,0,0.6,archer,gear_helmet gear_archer_helmet_green,가죽 두건,helmet,green,30,2,gear_archer_helmet_white,3,0,0.9,archer,gear_helmet gear_archer_helmet_blue,가죽 두건,helmet,blue,90,4,gear_archer_helmet_green,3,1,1.1,archer,gear_helmet gear_archer_helmet_purple,가죽 두건,helmet,purple,270,6,gear_archer_helmet_blue,3,2,1.4,archer,gear_helmet -gear_archer_helmet_orange,가죽 두건,helmet,orange,810,6,gear_archer_helmet_purple,3,4,1.7,archer,gear_helmet -gear_archer_helmet_red,가죽 두건,helmet,red,2430,8,gear_archer_helmet_orange,3,8,2.0,archer,gear_helmet -gear_archer_helmet_rainbow,가죽 두건,helmet,rainbow,7290,10,gear_archer_helmet_red,3,16,2.3,archer,gear_helmet +gear_archer_helmet_orange,가죽 두건,helmet,orange,810,8,gear_archer_helmet_purple,3,4,1.7,archer,gear_helmet +gear_archer_helmet_red,가죽 두건,helmet,red,2430,0,gear_archer_helmet_orange,3,8,2.0,archer,gear_helmet +gear_archer_helmet_rainbow,가죽 두건,helmet,rainbow,7290,0,gear_archer_helmet_red,3,16,2.3,archer,gear_helmet gear_archer_offhand_white,화살통,offhand,white,10,1,,0,0,0.6,archer,gear_bow gear_archer_offhand_green,화살통,offhand,green,30,2,gear_archer_offhand_white,3,0,0.9,archer,gear_bow gear_archer_offhand_blue,화살통,offhand,blue,90,4,gear_archer_offhand_green,3,1,1.1,archer,gear_bow gear_archer_offhand_purple,화살통,offhand,purple,270,6,gear_archer_offhand_blue,3,2,1.4,archer,gear_bow -gear_archer_offhand_orange,화살통,offhand,orange,810,6,gear_archer_offhand_purple,3,4,1.7,archer,gear_bow -gear_archer_offhand_red,화살통,offhand,red,2430,8,gear_archer_offhand_orange,3,8,2.0,archer,gear_bow -gear_archer_offhand_rainbow,화살통,offhand,rainbow,7290,10,gear_archer_offhand_red,3,16,2.3,archer,gear_bow +gear_archer_offhand_orange,화살통,offhand,orange,810,8,gear_archer_offhand_purple,3,4,1.7,archer,gear_bow +gear_archer_offhand_red,화살통,offhand,red,2430,0,gear_archer_offhand_orange,3,8,2.0,archer,gear_bow +gear_archer_offhand_rainbow,화살통,offhand,rainbow,7290,0,gear_archer_offhand_red,3,16,2.3,archer,gear_bow gear_archer_accessory_white,깍지,accessory,white,10,1,,0,0,0.6,archer,gear_charm gear_archer_accessory_green,깍지,accessory,green,30,2,gear_archer_accessory_white,3,0,0.9,archer,gear_charm gear_archer_accessory_blue,깍지,accessory,blue,90,4,gear_archer_accessory_green,3,1,1.1,archer,gear_charm gear_archer_accessory_purple,깍지,accessory,purple,270,6,gear_archer_accessory_blue,3,2,1.4,archer,gear_charm -gear_archer_accessory_orange,깍지,accessory,orange,810,6,gear_archer_accessory_purple,3,4,1.7,archer,gear_charm -gear_archer_accessory_red,깍지,accessory,red,2430,8,gear_archer_accessory_orange,3,8,2.0,archer,gear_charm -gear_archer_accessory_rainbow,깍지,accessory,rainbow,7290,10,gear_archer_accessory_red,3,16,2.3,archer,gear_charm +gear_archer_accessory_orange,깍지,accessory,orange,810,8,gear_archer_accessory_purple,3,4,1.7,archer,gear_charm +gear_archer_accessory_red,깍지,accessory,red,2430,0,gear_archer_accessory_orange,3,8,2.0,archer,gear_charm +gear_archer_accessory_rainbow,깍지,accessory,rainbow,7290,0,gear_archer_accessory_red,3,16,2.3,archer,gear_charm gear_archer_pouch_white,병서,pouch,white,10,1,,0,0,0.6,archer,gear_book gear_archer_pouch_green,병서,pouch,green,30,2,gear_archer_pouch_white,3,0,0.9,archer,gear_book gear_archer_pouch_blue,병서,pouch,blue,90,4,gear_archer_pouch_green,3,1,1.1,archer,gear_book gear_archer_pouch_purple,병서,pouch,purple,270,6,gear_archer_pouch_blue,3,2,1.4,archer,gear_book -gear_archer_pouch_orange,병서,pouch,orange,810,6,gear_archer_pouch_purple,3,4,1.7,archer,gear_book -gear_archer_pouch_red,병서,pouch,red,2430,8,gear_archer_pouch_orange,3,8,2.0,archer,gear_book -gear_archer_pouch_rainbow,병서,pouch,rainbow,7290,10,gear_archer_pouch_red,3,16,2.3,archer,gear_book +gear_archer_pouch_orange,병서,pouch,orange,810,8,gear_archer_pouch_purple,3,4,1.7,archer,gear_book +gear_archer_pouch_red,병서,pouch,red,2430,0,gear_archer_pouch_orange,3,8,2.0,archer,gear_book +gear_archer_pouch_rainbow,병서,pouch,rainbow,7290,0,gear_archer_pouch_red,3,16,2.3,archer,gear_book gear_strategist_weapon_white,석장,weapon,white,10,1,,0,0,0.6,strategist,gear_spear gear_strategist_weapon_green,석장,weapon,green,30,2,gear_strategist_weapon_white,3,0,0.9,strategist,gear_spear gear_strategist_weapon_blue,석장,weapon,blue,90,4,gear_strategist_weapon_green,3,1,1.1,strategist,gear_spear gear_strategist_weapon_purple,석장,weapon,purple,270,6,gear_strategist_weapon_blue,3,2,1.4,strategist,gear_spear -gear_strategist_weapon_orange,석장,weapon,orange,810,6,gear_strategist_weapon_purple,3,4,1.7,strategist,gear_spear -gear_strategist_weapon_red,석장,weapon,red,2430,8,gear_strategist_weapon_orange,3,8,2.0,strategist,gear_spear -gear_strategist_weapon_rainbow,석장,weapon,rainbow,7290,10,gear_strategist_weapon_red,3,16,2.3,strategist,gear_spear +gear_strategist_weapon_orange,석장,weapon,orange,810,8,gear_strategist_weapon_purple,3,4,1.7,strategist,gear_spear +gear_strategist_weapon_red,석장,weapon,red,2430,0,gear_strategist_weapon_orange,3,8,2.0,strategist,gear_spear +gear_strategist_weapon_rainbow,석장,weapon,rainbow,7290,0,gear_strategist_weapon_red,3,16,2.3,strategist,gear_spear gear_strategist_armor_white,가사,armor,white,10,1,,0,0,0.6,strategist,gear_armor gear_strategist_armor_green,가사,armor,green,30,2,gear_strategist_armor_white,3,0,0.9,strategist,gear_armor gear_strategist_armor_blue,가사,armor,blue,90,4,gear_strategist_armor_green,3,1,1.1,strategist,gear_armor gear_strategist_armor_purple,가사,armor,purple,270,6,gear_strategist_armor_blue,3,2,1.4,strategist,gear_armor -gear_strategist_armor_orange,가사,armor,orange,810,6,gear_strategist_armor_purple,3,4,1.7,strategist,gear_armor -gear_strategist_armor_red,가사,armor,red,2430,8,gear_strategist_armor_orange,3,8,2.0,strategist,gear_armor -gear_strategist_armor_rainbow,가사,armor,rainbow,7290,10,gear_strategist_armor_red,3,16,2.3,strategist,gear_armor +gear_strategist_armor_orange,가사,armor,orange,810,8,gear_strategist_armor_purple,3,4,1.7,strategist,gear_armor +gear_strategist_armor_red,가사,armor,red,2430,0,gear_strategist_armor_orange,3,8,2.0,strategist,gear_armor +gear_strategist_armor_rainbow,가사,armor,rainbow,7290,0,gear_strategist_armor_red,3,16,2.3,strategist,gear_armor gear_strategist_helmet_white,승모,helmet,white,10,1,,0,0,0.6,strategist,gear_helmet gear_strategist_helmet_green,승모,helmet,green,30,2,gear_strategist_helmet_white,3,0,0.9,strategist,gear_helmet gear_strategist_helmet_blue,승모,helmet,blue,90,4,gear_strategist_helmet_green,3,1,1.1,strategist,gear_helmet gear_strategist_helmet_purple,승모,helmet,purple,270,6,gear_strategist_helmet_blue,3,2,1.4,strategist,gear_helmet -gear_strategist_helmet_orange,승모,helmet,orange,810,6,gear_strategist_helmet_purple,3,4,1.7,strategist,gear_helmet -gear_strategist_helmet_red,승모,helmet,red,2430,8,gear_strategist_helmet_orange,3,8,2.0,strategist,gear_helmet -gear_strategist_helmet_rainbow,승모,helmet,rainbow,7290,10,gear_strategist_helmet_red,3,16,2.3,strategist,gear_helmet +gear_strategist_helmet_orange,승모,helmet,orange,810,8,gear_strategist_helmet_purple,3,4,1.7,strategist,gear_helmet +gear_strategist_helmet_red,승모,helmet,red,2430,0,gear_strategist_helmet_orange,3,8,2.0,strategist,gear_helmet +gear_strategist_helmet_rainbow,승모,helmet,rainbow,7290,0,gear_strategist_helmet_red,3,16,2.3,strategist,gear_helmet gear_strategist_offhand_white,염주,offhand,white,10,1,,0,0,0.6,strategist,gear_charm gear_strategist_offhand_green,염주,offhand,green,30,2,gear_strategist_offhand_white,3,0,0.9,strategist,gear_charm gear_strategist_offhand_blue,염주,offhand,blue,90,4,gear_strategist_offhand_green,3,1,1.1,strategist,gear_charm gear_strategist_offhand_purple,염주,offhand,purple,270,6,gear_strategist_offhand_blue,3,2,1.4,strategist,gear_charm -gear_strategist_offhand_orange,염주,offhand,orange,810,6,gear_strategist_offhand_purple,3,4,1.7,strategist,gear_charm -gear_strategist_offhand_red,염주,offhand,red,2430,8,gear_strategist_offhand_orange,3,8,2.0,strategist,gear_charm -gear_strategist_offhand_rainbow,염주,offhand,rainbow,7290,10,gear_strategist_offhand_red,3,16,2.3,strategist,gear_charm +gear_strategist_offhand_orange,염주,offhand,orange,810,8,gear_strategist_offhand_purple,3,4,1.7,strategist,gear_charm +gear_strategist_offhand_red,염주,offhand,red,2430,0,gear_strategist_offhand_orange,3,8,2.0,strategist,gear_charm +gear_strategist_offhand_rainbow,염주,offhand,rainbow,7290,0,gear_strategist_offhand_red,3,16,2.3,strategist,gear_charm gear_strategist_accessory_white,경전,accessory,white,10,1,,0,0,0.6,strategist,gear_book gear_strategist_accessory_green,경전,accessory,green,30,2,gear_strategist_accessory_white,3,0,0.9,strategist,gear_book gear_strategist_accessory_blue,경전,accessory,blue,90,4,gear_strategist_accessory_green,3,1,1.1,strategist,gear_book gear_strategist_accessory_purple,경전,accessory,purple,270,6,gear_strategist_accessory_blue,3,2,1.4,strategist,gear_book -gear_strategist_accessory_orange,경전,accessory,orange,810,6,gear_strategist_accessory_purple,3,4,1.7,strategist,gear_book -gear_strategist_accessory_red,경전,accessory,red,2430,8,gear_strategist_accessory_orange,3,8,2.0,strategist,gear_book -gear_strategist_accessory_rainbow,경전,accessory,rainbow,7290,10,gear_strategist_accessory_red,3,16,2.3,strategist,gear_book +gear_strategist_accessory_orange,경전,accessory,orange,810,8,gear_strategist_accessory_purple,3,4,1.7,strategist,gear_book +gear_strategist_accessory_red,경전,accessory,red,2430,0,gear_strategist_accessory_orange,3,8,2.0,strategist,gear_book +gear_strategist_accessory_rainbow,경전,accessory,rainbow,7290,0,gear_strategist_accessory_red,3,16,2.3,strategist,gear_book gear_strategist_pouch_white,부적,pouch,white,10,1,,0,0,0.6,strategist,gear_charm gear_strategist_pouch_green,부적,pouch,green,30,2,gear_strategist_pouch_white,3,0,0.9,strategist,gear_charm gear_strategist_pouch_blue,부적,pouch,blue,90,4,gear_strategist_pouch_green,3,1,1.1,strategist,gear_charm gear_strategist_pouch_purple,부적,pouch,purple,270,6,gear_strategist_pouch_blue,3,2,1.4,strategist,gear_charm -gear_strategist_pouch_orange,부적,pouch,orange,810,6,gear_strategist_pouch_purple,3,4,1.7,strategist,gear_charm -gear_strategist_pouch_red,부적,pouch,red,2430,8,gear_strategist_pouch_orange,3,8,2.0,strategist,gear_charm -gear_strategist_pouch_rainbow,부적,pouch,rainbow,7290,10,gear_strategist_pouch_red,3,16,2.3,strategist,gear_charm +gear_strategist_pouch_orange,부적,pouch,orange,810,8,gear_strategist_pouch_purple,3,4,1.7,strategist,gear_charm +gear_strategist_pouch_red,부적,pouch,red,2430,0,gear_strategist_pouch_orange,3,8,2.0,strategist,gear_charm +gear_strategist_pouch_rainbow,부적,pouch,rainbow,7290,0,gear_strategist_pouch_red,3,16,2.3,strategist,gear_charm diff --git a/Assets/Data/OutGame/stage_drop.csv b/Assets/Data/OutGame/stage_drop.csv new file mode 100644 index 00000000..4e4627b7 --- /dev/null +++ b/Assets/Data/OutGame/stage_drop.csv @@ -0,0 +1,146 @@ +n_chapter,n_stage,s_region,f_gold_mult,f_exp_mult,f_gear_mult,s_unit_type,l_kind,l_hard_shard_hero,Memo +1,1,exp,1.0,1.5,1.0,spear,weapon;armor,,탁현 · 일반 · 경험치 지역 · 지정 = 창병 무기·방어구 +1,2,exp,1.0,1.5,1.0,strategist,armor;accessory,,탁현 · 일반 · 경험치 지역 · 지정 = 승병 방어구·장신구 +1,3,gold,1.5,1.0,1.0,cavalry,helmet;offhand,,누상촌 · 일반 · 골드 지역 · 지정 = 기병 투구·보조 +1,4,gear,1.0,1.0,1.875,archer,helmet;offhand,,대흥산 · 엘리트 · 장비 지역 · 지정 = 궁병 투구·보조 +1,5,gear,2.0,2.0,3.6,infantry,helmet;pouch,,대흥산 · 보스 · 장비 지역 · 지정 = 보병 투구·소지품 +1,6,gold,1.5,1.0,1.0,strategist,weapon;pouch,,청주 · 일반 · 골드 지역 · 지정 = 승병 무기·소지품 +1,7,gold,1.5,1.0,1.0,infantry,weapon;armor,,청주 · 일반 · 골드 지역 · 지정 = 보병 무기·방어구 +1,8,exp,1.0,1.5,1.25,cavalry,armor;accessory,,영천 · 엘리트 · 경험치 지역 · 지정 = 기병 방어구·장신구 +1,9,gear,1.0,1.0,1.875,archer,armor;accessory,,광종 · 엘리트 · 장비 지역 · 지정 = 궁병 방어구·장신구 +1,10,gear,2.0,2.0,3.6,spear,helmet;pouch,zhangjiao,광종 · 보스 · 장비 지역 · 지정 = 창병 투구·소지품 +2,1,gold,1.5,1.0,1.0,infantry,offhand;accessory,,산조 · 일반 · 골드 지역 · 지정 = 보병 보조·장신구 +2,2,exp,1.0,1.5,1.0,strategist,helmet;offhand,,사수관 동쪽 · 일반 · 경험치 지역 · 지정 = 승병 투구·보조 +2,3,gear,1.0,1.0,1.875,spear,offhand;accessory,,사수관 · 엘리트 · 장비 지역 · 지정 = 창병 보조·장신구 +2,4,gear,1.0,1.0,1.5,archer,weapon;pouch,,사수관 · 일반 · 장비 지역 · 지정 = 궁병 무기·소지품 +2,5,gear,2.0,2.0,3.6,cavalry,weapon;pouch,huaxiong,사수관 · 보스 · 장비 지역 · 지정 = 기병 무기·소지품 +2,6,gold,1.5,1.0,1.0,strategist,weapon;armor,,사수관 · 일반 · 골드 지역 · 지정 = 승병 무기·방어구 +2,7,exp,1.0,1.5,1.0,infantry,weapon;armor,,호로관 동쪽 · 일반 · 경험치 지역 · 지정 = 보병 무기·방어구 +2,8,exp,1.0,1.5,1.0,spear,weapon;offhand,,호로관 · 일반 · 경험치 지역 · 지정 = 창병 무기·보조 +2,9,gear,1.0,1.0,1.5,cavalry,accessory;pouch,,호로관 · 일반 · 장비 지역 · 지정 = 기병 장신구·소지품 +2,10,gear,2.0,2.0,3.6,archer,accessory;pouch,lvbu,호로관 · 보스 · 장비 지역 · 지정 = 궁병 장신구·소지품 +3,1,exp,1.0,1.5,1.0,infantry,weapon;armor,,평원 · 일반 · 경험치 지역 · 지정 = 보병 무기·방어구 +3,2,gold,1.5,1.0,1.0,strategist,helmet;accessory,,반하 · 일반 · 골드 지역 · 지정 = 승병 투구·장신구 +3,3,gear,1.0,1.0,1.875,spear,helmet;offhand,,반하 · 엘리트 · 장비 지역 · 지정 = 창병 투구·보조 +3,4,gear,1.0,1.0,1.5,cavalry,armor;helmet,,반하 · 일반 · 장비 지역 · 지정 = 기병 방어구·투구 +3,5,gear,2.0,2.0,3.6,archer,offhand;accessory,,반하 · 보스 · 장비 지역 · 지정 = 궁병 보조·장신구 +3,6,gold,1.5,1.0,1.0,infantry,helmet;pouch,,북해 서쪽 · 일반 · 골드 지역 · 지정 = 보병 투구·소지품 +3,7,gold,1.5,1.0,1.0,strategist,weapon;offhand,,북해 · 일반 · 골드 지역 · 지정 = 승병 무기·보조 +3,8,exp,1.0,1.5,1.0,spear,weapon;armor,,북해 · 일반 · 경험치 지역 · 지정 = 창병 무기·방어구 +3,9,gear,1.0,1.0,1.5,archer,armor;pouch,,북해 · 일반 · 장비 지역 · 지정 = 궁병 방어구·소지품 +3,10,gear,2.0,2.0,3.6,cavalry,accessory;pouch,,북해 · 보스 · 장비 지역 · 지정 = 기병 장신구·소지품 +3,11,exp,1.0,1.5,1.0,infantry,offhand;accessory,,서주 북쪽 · 일반 · 경험치 지역 · 지정 = 보병 보조·장신구 +3,12,exp,1.0,1.5,1.0,archer,weapon;helmet,,서주 · 일반 · 경험치 지역 · 지정 = 궁병 무기·투구 +3,13,gold,1.5,1.0,1.0,strategist,armor;pouch,,서주 · 일반 · 골드 지역 · 지정 = 승병 방어구·소지품 +3,14,gear,1.0,1.0,1.5,spear,accessory;pouch,,서주 · 일반 · 장비 지역 · 지정 = 창병 장신구·소지품 +3,15,gear,2.0,2.0,3.6,cavalry,weapon;offhand,yujin,서주 · 보스 · 장비 지역 · 지정 = 기병 무기·보조 +4,1,gold,1.5,1.0,1.0,archer,armor;pouch,,우이 · 일반 · 골드 지역 · 지정 = 궁병 방어구·소지품 +4,2,exp,1.0,1.5,1.0,strategist,weapon;accessory,,회음 · 일반 · 경험치 지역 · 지정 = 승병 무기·장신구 +4,3,gear,1.0,1.0,1.875,spear,offhand;accessory,,우이 · 엘리트 · 장비 지역 · 지정 = 창병 보조·장신구 +4,4,gear,1.0,1.0,1.5,cavalry,helmet;offhand,,우이 · 일반 · 장비 지역 · 지정 = 기병 투구·보조 +4,5,gear,2.0,2.0,3.6,infantry,weapon;helmet,,우이 · 보스 · 장비 지역 · 지정 = 보병 무기·투구 +4,6,gold,1.5,1.0,1.0,archer,weapon;helmet,,서주성 · 일반 · 골드 지역 · 지정 = 궁병 무기·투구 +4,7,exp,1.0,1.5,1.0,strategist,armor;helmet,,소패 · 일반 · 경험치 지역 · 지정 = 승병 방어구·투구 +4,8,exp,1.0,1.5,1.0,infantry,armor;offhand,,소패 서쪽 · 일반 · 경험치 지역 · 지정 = 보병 방어구·보조 +4,9,gear,1.0,1.0,1.875,cavalry,armor;pouch,,소패 · 엘리트 · 장비 지역 · 지정 = 기병 방어구·소지품 +4,10,gear,2.0,2.0,3.6,spear,helmet;pouch,gaoshun,소패 · 보스 · 장비 지역 · 지정 = 창병 투구·소지품 +4,11,gold,1.5,1.0,1.0,infantry,accessory;pouch,,서주성 · 일반 · 골드 지역 · 지정 = 보병 장신구·소지품 +4,12,exp,1.0,1.5,1.25,archer,offhand;accessory,,하비 · 엘리트 · 경험치 지역 · 지정 = 궁병 보조·장신구 +4,13,gold,1.5,1.0,1.0,cavalry,weapon;accessory,,하비 · 일반 · 골드 지역 · 지정 = 기병 무기·장신구 +4,14,gear,1.0,1.0,1.875,spear,weapon;armor,,하비 · 엘리트 · 장비 지역 · 지정 = 창병 무기·방어구 +4,15,gear,2.0,2.0,3.6,strategist,offhand;pouch,lvbu,하비(백문루) · 보스 · 장비 지역 · 지정 = 승병 보조·소지품 +5,1,gold,1.5,1.0,1.0,infantry,weapon;offhand,,허도 · 일반 · 골드 지역 · 지정 = 보병 무기·보조 +5,2,gold,1.5,1.0,1.0,archer,offhand;pouch,,허도 동쪽 · 일반 · 골드 지역 · 지정 = 궁병 보조·소지품 +5,3,exp,1.0,1.5,1.0,cavalry,weapon;armor,,서주 남쪽 · 일반 · 경험치 지역 · 지정 = 기병 무기·방어구 +5,4,gear,1.0,1.0,1.5,strategist,helmet;offhand,,서주 남쪽 · 일반 · 장비 지역 · 지정 = 승병 투구·보조 +5,5,gear,2.0,2.0,3.6,spear,armor;offhand,,서주 남쪽 · 보스 · 장비 지역 · 지정 = 창병 방어구·보조 +5,6,exp,1.0,1.5,1.0,infantry,armor;pouch,,수춘 북쪽 · 일반 · 경험치 지역 · 지정 = 보병 방어구·소지품 +5,7,gold,1.5,1.0,1.0,cavalry,helmet;accessory,,서주성 · 일반 · 골드 지역 · 지정 = 기병 투구·장신구 +5,8,gear,1.0,1.0,1.875,archer,helmet;accessory,,서주성 · 엘리트 · 장비 지역 · 지정 = 궁병 투구·장신구 +5,9,exp,1.0,1.5,1.0,spear,weapon;accessory,,서주 · 일반 · 경험치 지역 · 지정 = 창병 무기·장신구 +5,10,gear,2.0,2.0,3.6,strategist,armor;pouch,,서주 · 보스 · 장비 지역 · 지정 = 승병 방어구·소지품 +5,11,gold,1.5,1.0,1.0,cavalry,offhand;pouch,,소패 · 일반 · 골드 지역 · 지정 = 기병 보조·소지품 +5,12,exp,1.0,1.5,1.0,strategist,weapon;accessory,,소패 북쪽 · 일반 · 경험치 지역 · 지정 = 승병 무기·장신구 +5,13,gear,1.0,1.0,1.5,spear,helmet;pouch,,하비 · 일반 · 장비 지역 · 지정 = 창병 투구·소지품 +5,14,gear,1.0,1.0,1.875,archer,weapon;armor,,하비 · 엘리트 · 장비 지역 · 지정 = 궁병 무기·방어구 +5,15,gear,2.0,2.0,3.6,infantry,helmet;accessory,xuhuang;xuchu,토산 · 보스 · 장비 지역 · 지정 = 보병 투구·장신구 +6,1,exp,1.0,1.5,1.0,spear,helmet;pouch,,백마 · 일반 · 경험치 지역 · 지정 = 창병 투구·소지품 +6,2,exp,1.0,1.5,1.0,strategist,helmet;pouch,,백마 · 일반 · 경험치 지역 · 지정 = 승병 투구·소지품 +6,3,gold,1.5,1.0,1.0,infantry,armor;pouch,,백마 · 일반 · 골드 지역 · 지정 = 보병 방어구·소지품 +6,4,gear,1.0,1.0,1.5,cavalry,armor;helmet,,백마 · 일반 · 장비 지역 · 지정 = 기병 방어구·투구 +6,5,gear,2.0,2.0,3.6,archer,weapon;pouch,yanliang,백마 · 보스 · 장비 지역 · 지정 = 궁병 무기·소지품 +6,6,gold,1.5,1.0,1.0,infantry,weapon;accessory,,연진 · 일반 · 골드 지역 · 지정 = 보병 무기·장신구 +6,7,gold,1.5,1.0,1.0,archer,offhand;accessory,,연진 · 일반 · 골드 지역 · 지정 = 궁병 보조·장신구 +6,8,exp,1.0,1.5,1.0,spear,weapon;offhand,,연진 · 일반 · 경험치 지역 · 지정 = 창병 무기·보조 +6,9,gear,1.0,1.0,1.5,cavalry,weapon;accessory,,연진 · 일반 · 장비 지역 · 지정 = 기병 무기·장신구 +6,10,gear,2.0,2.0,3.6,strategist,armor;accessory,wenchou,연진 · 보스 · 장비 지역 · 지정 = 승병 방어구·장신구 +6,11,gear,1.0,1.0,1.875,archer,armor;helmet,,동령관 · 엘리트 · 장비 지역 · 지정 = 궁병 방어구·투구 +6,12,exp,1.0,1.5,1.25,spear,armor;accessory,,낙양 · 엘리트 · 경험치 지역 · 지정 = 창병 방어구·장신구 +6,13,gear,1.0,1.0,1.875,cavalry,offhand;pouch,,낙양 · 엘리트 · 장비 지역 · 지정 = 기병 보조·소지품 +6,14,gold,1.5,1.0,1.0,strategist,weapon;offhand,,사수관(진국사) · 일반 · 골드 지역 · 지정 = 승병 무기·보조 +6,15,gear,2.0,2.0,3.6,infantry,helmet;offhand,,사수관 · 보스 · 장비 지역 · 지정 = 보병 투구·보조 +6,16,exp,1.0,1.5,1.0,archer,weapon;helmet,,형양 · 일반 · 경험치 지역 · 지정 = 궁병 무기·투구 +6,17,gold,1.5,1.0,1.0,strategist,weapon;armor,,형양 · 일반 · 골드 지역 · 지정 = 승병 무기·방어구 +6,18,gear,1.0,1.0,1.875,cavalry,helmet;offhand,,형양 · 엘리트 · 장비 지역 · 지정 = 기병 투구·보조 +6,19,gear,1.0,1.0,1.875,spear,armor;accessory,,활주 · 엘리트 · 장비 지역 · 지정 = 창병 방어구·장신구 +6,20,gear,2.0,2.0,3.6,infantry,weapon;armor,xiahoudun,활주 · 보스 · 장비 지역 · 지정 = 보병 무기·방어구 +7,1,gold,1.5,1.0,1.0,cavalry,accessory;pouch,,고성 북쪽 · 일반 · 골드 지역 · 지정 = 기병 장신구·소지품 +7,2,exp,1.0,1.5,1.0,infantry,offhand;pouch,,와우산 · 일반 · 경험치 지역 · 지정 = 보병 보조·소지품 +7,3,gear,1.0,1.0,1.5,archer,armor;helmet,,고성 · 일반 · 장비 지역 · 지정 = 궁병 방어구·투구 +7,4,gear,1.0,1.0,1.5,strategist,armor;helmet,,고성 · 일반 · 장비 지역 · 지정 = 승병 방어구·투구 +7,5,gear,2.0,2.0,3.6,spear,offhand;accessory,,고성 · 보스 · 장비 지역 · 지정 = 창병 보조·장신구 +7,6,gold,1.5,1.0,1.0,infantry,armor;accessory,,관정장 북쪽 · 일반 · 골드 지역 · 지정 = 보병 방어구·장신구 +7,7,exp,1.0,1.5,1.0,strategist,accessory;pouch,,관정장 · 일반 · 경험치 지역 · 지정 = 승병 장신구·소지품 +7,8,exp,1.0,1.5,1.25,spear,weapon;armor,,와우산 · 엘리트 · 경험치 지역 · 지정 = 창병 무기·방어구 +7,9,gear,1.0,1.0,1.875,cavalry,armor;offhand,,양산 · 엘리트 · 장비 지역 · 지정 = 기병 방어구·보조 +7,10,gear,2.0,2.0,3.6,archer,offhand;pouch,,양산 · 보스 · 장비 지역 · 지정 = 궁병 보조·소지품 +8,1,gold,1.5,1.0,1.0,strategist,weapon;offhand,,완 남쪽 · 일반 · 골드 지역 · 지정 = 승병 무기·보조 +8,2,exp,1.0,1.5,1.0,infantry,weapon;helmet,,강하 · 일반 · 경험치 지역 · 지정 = 보병 무기·투구 +8,3,gold,1.5,1.0,1.0,archer,weapon;accessory,,강하 · 일반 · 골드 지역 · 지정 = 궁병 무기·장신구 +8,4,gear,1.0,1.0,1.875,cavalry,weapon;helmet,,강하 · 엘리트 · 장비 지역 · 지정 = 기병 무기·투구 +8,5,gear,2.0,2.0,3.6,spear,helmet;pouch,,강하 · 보스 · 장비 지역 · 지정 = 창병 투구·소지품 +8,6,gear,1.0,1.0,1.875,strategist,helmet;offhand,,양양 · 엘리트 · 장비 지역 · 지정 = 승병 투구·보조 +8,7,exp,1.0,1.5,1.0,archer,armor;pouch,,단계 · 일반 · 경험치 지역 · 지정 = 궁병 방어구·소지품 +8,8,gold,1.5,1.0,1.25,infantry,helmet;offhand,,신야 · 엘리트 · 골드 지역 · 지정 = 보병 투구·보조 +8,9,gear,1.0,1.0,1.875,cavalry,weapon;armor,,신야 · 엘리트 · 장비 지역 · 지정 = 기병 무기·방어구 +8,10,gear,2.0,2.0,3.6,spear,offhand;pouch,caoren,신야 · 보스 · 장비 지역 · 지정 = 창병 보조·소지품 +8,11,exp,1.0,1.5,1.0,cavalry,helmet;offhand,,번성 · 일반 · 경험치 지역 · 지정 = 기병 투구·보조 +8,12,gold,1.5,1.0,1.0,strategist,accessory;pouch,,번성 · 일반 · 골드 지역 · 지정 = 승병 장신구·소지품 +8,13,exp,1.0,1.5,1.0,infantry,weapon;pouch,,융중 · 일반 · 경험치 지역 · 지정 = 보병 무기·소지품 +8,14,gear,1.0,1.0,1.5,spear,armor;helmet,,박망파 · 일반 · 장비 지역 · 지정 = 창병 방어구·투구 +8,15,gear,2.0,2.0,3.6,archer,weapon;offhand,xiahoudun,박망파 · 보스 · 장비 지역 · 지정 = 궁병 무기·보조 +9,1,gear,1.0,1.0,1.875,cavalry,weapon;armor,,신야 · 엘리트 · 장비 지역 · 지정 = 기병 무기·방어구 +9,2,gold,1.5,1.0,1.0,strategist,weapon;accessory,,백하 · 일반 · 골드 지역 · 지정 = 승병 무기·장신구 +9,3,exp,1.0,1.5,1.0,archer,helmet;accessory,,박릉 나루 · 일반 · 경험치 지역 · 지정 = 궁병 투구·장신구 +9,4,gold,1.5,1.0,1.0,spear,accessory;pouch,,번성 · 일반 · 골드 지역 · 지정 = 창병 장신구·소지품 +9,5,gear,2.0,2.0,3.6,infantry,accessory;pouch,,양양 · 보스 · 장비 지역 · 지정 = 보병 장신구·소지품 +9,6,exp,1.0,1.5,1.0,archer,offhand;pouch,,당양 · 일반 · 경험치 지역 · 지정 = 궁병 보조·소지품 +9,7,gold,1.5,1.0,1.25,cavalry,offhand;accessory,,장판 · 엘리트 · 골드 지역 · 지정 = 기병 보조·장신구 +9,8,exp,1.0,1.5,1.25,infantry,weapon;armor,,장판 · 엘리트 · 경험치 지역 · 지정 = 보병 무기·방어구 +9,9,gear,1.0,1.0,1.875,strategist,armor;offhand,,장판 · 엘리트 · 장비 지역 · 지정 = 승병 방어구·보조 +9,10,gear,2.0,2.0,3.6,spear,weapon;offhand,zhanghe,장판 · 보스 · 장비 지역 · 지정 = 창병 무기·보조 +9,11,gear,1.0,1.0,1.875,strategist,helmet;pouch,,장판교 · 엘리트 · 장비 지역 · 지정 = 승병 투구·소지품 +9,12,exp,1.0,1.5,1.0,infantry,helmet;offhand,,장판교 · 일반 · 경험치 지역 · 지정 = 보병 투구·보조 +9,13,gold,1.5,1.0,1.0,cavalry,helmet;pouch,,한진 서쪽 · 일반 · 골드 지역 · 지정 = 기병 투구·소지품 +9,14,gear,1.0,1.0,1.5,archer,weapon;armor,,한진 · 일반 · 장비 지역 · 지정 = 궁병 무기·방어구 +9,15,gear,2.0,2.0,3.6,spear,armor;helmet,caocao,한진 · 보스 · 장비 지역 · 지정 = 창병 방어구·투구 +10,1,gold,1.5,1.0,1.0,cavalry,helmet;accessory,,하구 · 일반 · 골드 지역 · 지정 = 기병 투구·장신구 +10,2,exp,1.0,1.5,1.0,spear,armor;helmet,,번구 · 일반 · 경험치 지역 · 지정 = 창병 방어구·투구 +10,3,gear,1.0,1.0,1.875,archer,weapon;accessory,,삼강구 · 엘리트 · 장비 지역 · 지정 = 궁병 무기·장신구 +10,4,gear,1.0,1.0,1.5,infantry,armor;pouch,,삼강구 · 일반 · 장비 지역 · 지정 = 보병 방어구·소지품 +10,5,gear,2.0,2.0,3.6,strategist,offhand;pouch,,삼강구 · 보스 · 장비 지역 · 지정 = 승병 보조·소지품 +10,6,gold,1.5,1.0,1.0,infantry,offhand;accessory,,오림 앞 강 · 일반 · 골드 지역 · 지정 = 보병 보조·장신구 +10,7,exp,1.0,1.5,1.0,strategist,armor;helmet,,오림 · 일반 · 경험치 지역 · 지정 = 승병 방어구·투구 +10,8,gold,1.5,1.0,1.0,spear,weapon;pouch,,오림 · 일반 · 골드 지역 · 지정 = 창병 무기·소지품 +10,9,gear,1.0,1.0,1.5,cavalry,armor;offhand,,오림 · 일반 · 장비 지역 · 지정 = 기병 방어구·보조 +10,10,gear,2.0,2.0,3.6,archer,armor;pouch,yujin,오림 · 보스 · 장비 지역 · 지정 = 궁병 방어구·소지품 +10,11,exp,1.0,1.5,1.0,cavalry,weapon;pouch,,적벽 · 일반 · 경험치 지역 · 지정 = 기병 무기·소지품 +10,12,gold,1.5,1.0,1.0,spear,offhand;accessory,,적벽 · 일반 · 골드 지역 · 지정 = 창병 보조·장신구 +10,13,gear,1.0,1.0,1.875,strategist,weapon;accessory,,오림 · 엘리트 · 장비 지역 · 지정 = 승병 무기·장신구 +10,14,exp,1.0,1.5,1.0,archer,helmet;offhand,,오림 · 일반 · 경험치 지역 · 지정 = 궁병 투구·보조 +10,15,gear,2.0,2.0,3.6,infantry,weapon;helmet,zhangliao,오림 · 보스 · 장비 지역 · 지정 = 보병 무기·투구 +10,16,gold,1.5,1.0,1.25,cavalry,armor;accessory,,오림 서쪽 · 엘리트 · 골드 지역 · 지정 = 기병 방어구·장신구 +10,17,gear,1.0,1.0,1.875,archer,helmet;accessory,,호로구 · 엘리트 · 장비 지역 · 지정 = 궁병 투구·장신구 +10,18,exp,1.0,1.5,1.0,strategist,weapon;armor,,화용도 · 일반 · 경험치 지역 · 지정 = 승병 무기·방어구 +10,19,gear,1.0,1.0,1.5,infantry,weapon;accessory,,화용도 · 일반 · 장비 지역 · 지정 = 보병 무기·장신구 +10,20,gear,2.0,2.0,3.6,spear,armor;accessory,caocao,화용도 · 보스 · 장비 지역 · 지정 = 창병 방어구·장신구 diff --git a/Assets/Data/OutGame/stage_drop.csv.meta b/Assets/Data/OutGame/stage_drop.csv.meta new file mode 100644 index 00000000..59d0ba91 --- /dev/null +++ b/Assets/Data/OutGame/stage_drop.csv.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 3fc2ab54fb838f145a9b9187a2309b45 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/OutGame/stage_rewards.csv b/Assets/Data/OutGame/stage_rewards.csv index 6357516b..6464aad0 100644 --- a/Assets/Data/OutGame/stage_rewards.csv +++ b/Assets/Data/OutGame/stage_rewards.csv @@ -1,11 +1,11 @@ chapter,gold_base,exp_base,gem_first,gem_boss,gear_drop_pct,gear_grade_max,star_turns -1,90,28,10,30,0.5,white,9 -2,120,36,10,30,0.5,white,10 -3,150,44,10,30,0.5,green,11 -4,180,52,10,30,0.5,green,12 -5,210,60,10,30,0.5,blue,13 -6,240,68,10,30,0.5,blue,14 -7,270,76,10,30,0.5,purple,15 -8,300,84,10,30,0.5,purple,16 -9,330,92,10,30,0.5,orange,17 -10,360,100,10,30,0.5,orange,18 +1,225,70,10,30,0.6,white,9 +2,300,90,10,30,0.56,white,10 +3,375,110,10,30,0.54,green,11 +4,450,130,10,30,0.54,green,12 +5,525,150,10,30,0.52,blue,13 +6,600,170,10,30,0.52,blue,14 +7,675,190,10,30,0.52,purple,15 +8,750,210,10,30,0.52,purple,16 +9,825,230,10,30,0.48,orange,17 +10,900,250,10,30,0.48,orange,18 diff --git a/Assets/Resources/OutGame/DevTree.asset b/Assets/Resources/OutGame/DevTree.asset index 105dbb27..3c6f1533 100644 --- a/Assets/Resources/OutGame/DevTree.asset +++ b/Assets/Resources/OutGame/DevTree.asset @@ -144,7 +144,7 @@ MonoBehaviour: nameKo: "\uAD70\uB7C9 \uC0C1\uD55C" kind: small effectKey: food_cap_add - pctPerLv: 1 + pctPerLv: 15 lvMax: 10 goldBase: 200 goldGrowth: 1.3 diff --git a/Assets/Resources/OutGame/EconomyConfig.asset b/Assets/Resources/OutGame/EconomyConfig.asset index f6a60f42..6a37a423 100644 --- a/Assets/Resources/OutGame/EconomyConfig.asset +++ b/Assets/Resources/OutGame/EconomyConfig.asset @@ -15,13 +15,15 @@ MonoBehaviour: values: entries: - key: stamina_max - value: 30 + value: 50 + - key: stamina_max_limit + value: 200 - key: stamina_regen_sec - value: 360 + value: 300 - key: stage_cost - value: 2 + value: 5 - key: boss_cost - value: 3 + value: 10 - key: ad_stamina value: 10 - key: ad_stamina_daily @@ -47,7 +49,7 @@ MonoBehaviour: - key: start_gem value: 300 - key: start_stamina - value: 30 + value: 50 - key: start_heroes value: liubei;guanyu;zhangfei;zhaoyun;huangzhong - key: preset_count @@ -63,7 +65,7 @@ MonoBehaviour: - key: power_def_w value: 2 - key: gold_per_stage - value: 3 + value: 8 - key: first_clear_gold_mult value: 3 - key: boss_gear_drop_pct diff --git a/Assets/Resources/OutGame/GearDb.asset b/Assets/Resources/OutGame/GearDb.asset index 5c29f186..0d809d70 100644 --- a/Assets/Resources/OutGame/GearDb.asset +++ b/Assets/Resources/OutGame/GearDb.asset @@ -71,7 +71,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_infantry_weapon_purple craftCount: 3 craftBlueprint: 4 @@ -84,7 +84,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_infantry_weapon_orange craftCount: 3 craftBlueprint: 8 @@ -97,7 +97,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_infantry_weapon_red craftCount: 3 craftBlueprint: 16 @@ -162,7 +162,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_infantry_armor_purple craftCount: 3 craftBlueprint: 4 @@ -175,7 +175,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_infantry_armor_orange craftCount: 3 craftBlueprint: 8 @@ -188,7 +188,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_infantry_armor_red craftCount: 3 craftBlueprint: 16 @@ -253,7 +253,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_infantry_helmet_purple craftCount: 3 craftBlueprint: 4 @@ -266,7 +266,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_infantry_helmet_orange craftCount: 3 craftBlueprint: 8 @@ -279,7 +279,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_infantry_helmet_red craftCount: 3 craftBlueprint: 16 @@ -344,7 +344,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_infantry_offhand_purple craftCount: 3 craftBlueprint: 4 @@ -357,7 +357,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_infantry_offhand_orange craftCount: 3 craftBlueprint: 8 @@ -370,7 +370,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_infantry_offhand_red craftCount: 3 craftBlueprint: 16 @@ -435,7 +435,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_infantry_accessory_purple craftCount: 3 craftBlueprint: 4 @@ -448,7 +448,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_infantry_accessory_orange craftCount: 3 craftBlueprint: 8 @@ -461,7 +461,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_infantry_accessory_red craftCount: 3 craftBlueprint: 16 @@ -526,7 +526,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_infantry_pouch_purple craftCount: 3 craftBlueprint: 4 @@ -539,7 +539,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_infantry_pouch_orange craftCount: 3 craftBlueprint: 8 @@ -552,7 +552,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_infantry_pouch_red craftCount: 3 craftBlueprint: 16 @@ -617,7 +617,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_spear_weapon_purple craftCount: 3 craftBlueprint: 4 @@ -630,7 +630,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_spear_weapon_orange craftCount: 3 craftBlueprint: 8 @@ -643,7 +643,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_spear_weapon_red craftCount: 3 craftBlueprint: 16 @@ -708,7 +708,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_spear_armor_purple craftCount: 3 craftBlueprint: 4 @@ -721,7 +721,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_spear_armor_orange craftCount: 3 craftBlueprint: 8 @@ -734,7 +734,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_spear_armor_red craftCount: 3 craftBlueprint: 16 @@ -799,7 +799,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_spear_helmet_purple craftCount: 3 craftBlueprint: 4 @@ -812,7 +812,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_spear_helmet_orange craftCount: 3 craftBlueprint: 8 @@ -825,7 +825,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_spear_helmet_red craftCount: 3 craftBlueprint: 16 @@ -890,7 +890,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_spear_offhand_purple craftCount: 3 craftBlueprint: 4 @@ -903,7 +903,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_spear_offhand_orange craftCount: 3 craftBlueprint: 8 @@ -916,7 +916,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_spear_offhand_red craftCount: 3 craftBlueprint: 16 @@ -981,7 +981,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_spear_accessory_purple craftCount: 3 craftBlueprint: 4 @@ -994,7 +994,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_spear_accessory_orange craftCount: 3 craftBlueprint: 8 @@ -1007,7 +1007,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_spear_accessory_red craftCount: 3 craftBlueprint: 16 @@ -1072,7 +1072,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_spear_pouch_purple craftCount: 3 craftBlueprint: 4 @@ -1085,7 +1085,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_spear_pouch_orange craftCount: 3 craftBlueprint: 8 @@ -1098,7 +1098,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_spear_pouch_red craftCount: 3 craftBlueprint: 16 @@ -1163,7 +1163,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_cavalry_weapon_purple craftCount: 3 craftBlueprint: 4 @@ -1176,7 +1176,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_cavalry_weapon_orange craftCount: 3 craftBlueprint: 8 @@ -1189,7 +1189,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_cavalry_weapon_red craftCount: 3 craftBlueprint: 16 @@ -1254,7 +1254,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_cavalry_armor_purple craftCount: 3 craftBlueprint: 4 @@ -1267,7 +1267,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_cavalry_armor_orange craftCount: 3 craftBlueprint: 8 @@ -1280,7 +1280,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_cavalry_armor_red craftCount: 3 craftBlueprint: 16 @@ -1345,7 +1345,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_cavalry_helmet_purple craftCount: 3 craftBlueprint: 4 @@ -1358,7 +1358,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_cavalry_helmet_orange craftCount: 3 craftBlueprint: 8 @@ -1371,7 +1371,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_cavalry_helmet_red craftCount: 3 craftBlueprint: 16 @@ -1436,7 +1436,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_cavalry_offhand_purple craftCount: 3 craftBlueprint: 4 @@ -1449,7 +1449,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_cavalry_offhand_orange craftCount: 3 craftBlueprint: 8 @@ -1462,7 +1462,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_cavalry_offhand_red craftCount: 3 craftBlueprint: 16 @@ -1527,7 +1527,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_cavalry_accessory_purple craftCount: 3 craftBlueprint: 4 @@ -1540,7 +1540,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_cavalry_accessory_orange craftCount: 3 craftBlueprint: 8 @@ -1553,7 +1553,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_cavalry_accessory_red craftCount: 3 craftBlueprint: 16 @@ -1618,7 +1618,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_cavalry_pouch_purple craftCount: 3 craftBlueprint: 4 @@ -1631,7 +1631,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_cavalry_pouch_orange craftCount: 3 craftBlueprint: 8 @@ -1644,7 +1644,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_cavalry_pouch_red craftCount: 3 craftBlueprint: 16 @@ -1709,7 +1709,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_archer_weapon_purple craftCount: 3 craftBlueprint: 4 @@ -1722,7 +1722,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_archer_weapon_orange craftCount: 3 craftBlueprint: 8 @@ -1735,7 +1735,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_archer_weapon_red craftCount: 3 craftBlueprint: 16 @@ -1800,7 +1800,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_archer_armor_purple craftCount: 3 craftBlueprint: 4 @@ -1813,7 +1813,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_archer_armor_orange craftCount: 3 craftBlueprint: 8 @@ -1826,7 +1826,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_archer_armor_red craftCount: 3 craftBlueprint: 16 @@ -1891,7 +1891,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_archer_helmet_purple craftCount: 3 craftBlueprint: 4 @@ -1904,7 +1904,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_archer_helmet_orange craftCount: 3 craftBlueprint: 8 @@ -1917,7 +1917,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_archer_helmet_red craftCount: 3 craftBlueprint: 16 @@ -1982,7 +1982,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_archer_offhand_purple craftCount: 3 craftBlueprint: 4 @@ -1995,7 +1995,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_archer_offhand_orange craftCount: 3 craftBlueprint: 8 @@ -2008,7 +2008,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_archer_offhand_red craftCount: 3 craftBlueprint: 16 @@ -2073,7 +2073,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_archer_accessory_purple craftCount: 3 craftBlueprint: 4 @@ -2086,7 +2086,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_archer_accessory_orange craftCount: 3 craftBlueprint: 8 @@ -2099,7 +2099,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_archer_accessory_red craftCount: 3 craftBlueprint: 16 @@ -2164,7 +2164,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_archer_pouch_purple craftCount: 3 craftBlueprint: 4 @@ -2177,7 +2177,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_archer_pouch_orange craftCount: 3 craftBlueprint: 8 @@ -2190,7 +2190,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_archer_pouch_red craftCount: 3 craftBlueprint: 16 @@ -2255,7 +2255,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_strategist_weapon_purple craftCount: 3 craftBlueprint: 4 @@ -2268,7 +2268,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_strategist_weapon_orange craftCount: 3 craftBlueprint: 8 @@ -2281,7 +2281,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_strategist_weapon_red craftCount: 3 craftBlueprint: 16 @@ -2346,7 +2346,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_strategist_armor_purple craftCount: 3 craftBlueprint: 4 @@ -2359,7 +2359,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_strategist_armor_orange craftCount: 3 craftBlueprint: 8 @@ -2372,7 +2372,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_strategist_armor_red craftCount: 3 craftBlueprint: 16 @@ -2437,7 +2437,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_strategist_helmet_purple craftCount: 3 craftBlueprint: 4 @@ -2450,7 +2450,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_strategist_helmet_orange craftCount: 3 craftBlueprint: 8 @@ -2463,7 +2463,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_strategist_helmet_red craftCount: 3 craftBlueprint: 16 @@ -2528,7 +2528,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_strategist_offhand_purple craftCount: 3 craftBlueprint: 4 @@ -2541,7 +2541,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_strategist_offhand_orange craftCount: 3 craftBlueprint: 8 @@ -2554,7 +2554,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_strategist_offhand_red craftCount: 3 craftBlueprint: 16 @@ -2619,7 +2619,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_strategist_accessory_purple craftCount: 3 craftBlueprint: 4 @@ -2632,7 +2632,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_strategist_accessory_orange craftCount: 3 craftBlueprint: 8 @@ -2645,7 +2645,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_strategist_accessory_red craftCount: 3 craftBlueprint: 16 @@ -2710,7 +2710,7 @@ MonoBehaviour: grade: orange order: 5 sellGold: 810 - dropFromChapter: 6 + dropFromChapter: 8 craftFrom: gear_strategist_pouch_purple craftCount: 3 craftBlueprint: 4 @@ -2723,7 +2723,7 @@ MonoBehaviour: grade: red order: 6 sellGold: 2430 - dropFromChapter: 8 + dropFromChapter: 0 craftFrom: gear_strategist_pouch_orange craftCount: 3 craftBlueprint: 8 @@ -2736,7 +2736,7 @@ MonoBehaviour: grade: rainbow order: 7 sellGold: 7290 - dropFromChapter: 10 + dropFromChapter: 0 craftFrom: gear_strategist_pouch_red craftCount: 3 craftBlueprint: 16 @@ -2994,781 +2994,1691 @@ MonoBehaviour: - white - green weights: - - 50 - - 50 + - 90 + - 10 - chapter: 3 grades: + - white - green weights: - - 100 + - 60 + - 40 - chapter: 4 grades: + - white - green - blue weights: - - 50 - - 50 + - 20 + - 70 + - 10 - chapter: 5 grades: + - green - blue weights: - - 100 + - 60 + - 40 - chapter: 6 + grades: + - green + - blue + - purple + weights: + - 20 + - 70 + - 10 + - chapter: 7 + grades: + - blue + - purple + weights: + - 60 + - 40 + - chapter: 8 grades: - blue - purple - orange weights: - - 34 - - 33 - - 33 - - chapter: 7 - grades: - - orange - weights: - - 100 - - chapter: 8 - grades: - - orange - - red - weights: - - 50 - - 50 + - 20 + - 70 + - 10 - chapter: 9 grades: - - red + - purple + - orange weights: - - 100 + - 60 + - 40 - chapter: 10 grades: - - red - - rainbow + - purple + - orange weights: - - 50 - - 50 + - 30 + - 70 stageDrops: - chapter: 1 stage: 1 - unitType: strategist - kind: armor - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: spear + kinds: + - weapon + - armor + hardShardHeroes: [] - chapter: 1 stage: 2 - unitType: infantry - kind: weapon - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: strategist + kinds: + - armor + - accessory + hardShardHeroes: [] - chapter: 1 stage: 3 - unitType: archer - kind: armor - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: cavalry + kinds: + - helmet + - offhand + hardShardHeroes: [] - chapter: 1 stage: 4 - unitType: spear - kind: weapon - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 + unitType: archer + kinds: + - helmet + - offhand + hardShardHeroes: [] - chapter: 1 stage: 5 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 unitType: infantry - kind: armor - focusPct: 40 + kinds: + - helmet + - pouch + hardShardHeroes: [] - chapter: 1 stage: 6 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 unitType: strategist - kind: weapon - focusPct: 40 + kinds: + - weapon + - pouch + hardShardHeroes: [] - chapter: 1 stage: 7 - unitType: cavalry - kind: armor - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: infantry + kinds: + - weapon + - armor + hardShardHeroes: [] - chapter: 1 stage: 8 - unitType: archer - kind: weapon - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1.25 + unitType: cavalry + kinds: + - armor + - accessory + hardShardHeroes: [] - chapter: 1 stage: 9 - unitType: spear - kind: armor - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 + unitType: archer + kinds: + - armor + - accessory + hardShardHeroes: [] - chapter: 1 stage: 10 - unitType: cavalry - kind: weapon - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: spear + kinds: + - helmet + - pouch + hardShardHeroes: + - zhangjiao - chapter: 2 stage: 1 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 unitType: infantry - kind: accessory - focusPct: 40 + kinds: + - offhand + - accessory + hardShardHeroes: [] - chapter: 2 stage: 2 - unitType: archer - kind: offhand - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: strategist + kinds: + - helmet + - offhand + hardShardHeroes: [] - chapter: 2 stage: 3 - unitType: cavalry - kind: pouch - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 + unitType: spear + kinds: + - offhand + - accessory + hardShardHeroes: [] - chapter: 2 stage: 4 - unitType: strategist - kind: offhand - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.5 + unitType: archer + kinds: + - weapon + - pouch + hardShardHeroes: [] - chapter: 2 stage: 5 - unitType: infantry - kind: helmet - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: cavalry + kinds: + - weapon + - pouch + hardShardHeroes: + - huaxiong - chapter: 2 stage: 6 - unitType: spear - kind: accessory - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: strategist + kinds: + - weapon + - armor + hardShardHeroes: [] - chapter: 2 stage: 7 - unitType: archer - kind: helmet - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: infantry + kinds: + - weapon + - armor + hardShardHeroes: [] - chapter: 2 stage: 8 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 unitType: spear - kind: pouch - focusPct: 40 + kinds: + - weapon + - offhand + hardShardHeroes: [] - chapter: 2 stage: 9 - unitType: strategist - kind: accessory - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.5 + unitType: cavalry + kinds: + - accessory + - pouch + hardShardHeroes: [] - chapter: 2 stage: 10 - unitType: cavalry - kind: offhand - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: archer + kinds: + - accessory + - pouch + hardShardHeroes: + - lvbu - chapter: 3 stage: 1 - unitType: spear - kind: weapon - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: infantry + kinds: + - weapon + - armor + hardShardHeroes: [] - chapter: 3 stage: 2 - unitType: cavalry - kind: accessory - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: strategist + kinds: + - helmet + - accessory + hardShardHeroes: [] - chapter: 3 stage: 3 - unitType: archer - kind: pouch - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 + unitType: spear + kinds: + - helmet + - offhand + hardShardHeroes: [] - chapter: 3 stage: 4 - unitType: spear - kind: helmet - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.5 + unitType: cavalry + kinds: + - armor + - helmet + hardShardHeroes: [] - chapter: 3 stage: 5 - unitType: strategist - kind: pouch - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: archer + kinds: + - offhand + - accessory + hardShardHeroes: [] - chapter: 3 stage: 6 - unitType: cavalry - kind: helmet - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: infantry + kinds: + - helmet + - pouch + hardShardHeroes: [] - chapter: 3 stage: 7 - unitType: spear - kind: offhand - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: strategist + kinds: + - weapon + - offhand + hardShardHeroes: [] - chapter: 3 stage: 8 - unitType: cavalry - kind: armor - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: spear + kinds: + - weapon + - armor + hardShardHeroes: [] - chapter: 3 stage: 9 - unitType: strategist - kind: helmet - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.5 + unitType: archer + kinds: + - armor + - pouch + hardShardHeroes: [] - chapter: 3 stage: 10 - unitType: archer - kind: accessory - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: cavalry + kinds: + - accessory + - pouch + hardShardHeroes: [] - chapter: 3 stage: 11 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 unitType: infantry - kind: offhand - focusPct: 40 + kinds: + - offhand + - accessory + hardShardHeroes: [] - chapter: 3 stage: 12 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 unitType: archer - kind: armor - focusPct: 40 + kinds: + - weapon + - helmet + hardShardHeroes: [] - chapter: 3 stage: 13 - unitType: infantry - kind: pouch - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: strategist + kinds: + - armor + - pouch + hardShardHeroes: [] - chapter: 3 stage: 14 - unitType: strategist - kind: armor - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.5 + unitType: spear + kinds: + - accessory + - pouch + hardShardHeroes: [] - chapter: 3 stage: 15 - unitType: infantry - kind: accessory - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: cavalry + kinds: + - weapon + - offhand + hardShardHeroes: + - yujin - chapter: 4 stage: 1 - unitType: strategist - kind: helmet - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: archer + kinds: + - armor + - pouch + hardShardHeroes: [] - chapter: 4 stage: 2 - unitType: cavalry - kind: accessory - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: strategist + kinds: + - weapon + - accessory + hardShardHeroes: [] - chapter: 4 stage: 3 - unitType: archer - kind: offhand - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 + unitType: spear + kinds: + - offhand + - accessory + hardShardHeroes: [] - chapter: 4 stage: 4 - unitType: infantry - kind: weapon - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.5 + unitType: cavalry + kinds: + - helmet + - offhand + hardShardHeroes: [] - chapter: 4 stage: 5 - unitType: strategist - kind: accessory - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: infantry + kinds: + - weapon + - helmet + hardShardHeroes: [] - chapter: 4 stage: 6 - unitType: infantry - kind: offhand - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: archer + kinds: + - weapon + - helmet + hardShardHeroes: [] - chapter: 4 stage: 7 - unitType: spear - kind: pouch - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: strategist + kinds: + - armor + - helmet + hardShardHeroes: [] - chapter: 4 stage: 8 - unitType: archer - kind: accessory - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: infantry + kinds: + - armor + - offhand + hardShardHeroes: [] - chapter: 4 stage: 9 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 unitType: cavalry - kind: weapon - focusPct: 40 + kinds: + - armor + - pouch + hardShardHeroes: [] - chapter: 4 stage: 10 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 unitType: spear - kind: offhand - focusPct: 40 + kinds: + - helmet + - pouch + hardShardHeroes: + - gaoshun - chapter: 4 stage: 11 - unitType: cavalry - kind: helmet - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: infantry + kinds: + - accessory + - pouch + hardShardHeroes: [] - chapter: 4 stage: 12 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1.25 unitType: archer - kind: pouch - focusPct: 40 + kinds: + - offhand + - accessory + hardShardHeroes: [] - chapter: 4 stage: 13 - unitType: infantry - kind: helmet - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: cavalry + kinds: + - weapon + - accessory + hardShardHeroes: [] - chapter: 4 stage: 14 - unitType: strategist - kind: weapon - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 + unitType: spear + kinds: + - weapon + - armor + hardShardHeroes: [] - chapter: 4 stage: 15 - unitType: spear - kind: helmet - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: strategist + kinds: + - offhand + - pouch + hardShardHeroes: + - lvbu - chapter: 5 stage: 1 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 unitType: infantry - kind: pouch - focusPct: 40 + kinds: + - weapon + - offhand + hardShardHeroes: [] - chapter: 5 stage: 2 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 unitType: archer - kind: helmet - focusPct: 40 + kinds: + - offhand + - pouch + hardShardHeroes: [] - chapter: 5 stage: 3 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 unitType: cavalry - kind: offhand - focusPct: 40 + kinds: + - weapon + - armor + hardShardHeroes: [] - chapter: 5 stage: 4 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.5 unitType: strategist - kind: accessory - focusPct: 40 + kinds: + - helmet + - offhand + hardShardHeroes: [] - chapter: 5 stage: 5 - unitType: archer - kind: pouch - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: spear + kinds: + - armor + - offhand + hardShardHeroes: [] - chapter: 5 stage: 6 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 unitType: infantry - kind: armor - focusPct: 40 + kinds: + - armor + - pouch + hardShardHeroes: [] - chapter: 5 stage: 7 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 unitType: cavalry - kind: accessory - focusPct: 40 + kinds: + - helmet + - accessory + hardShardHeroes: [] - chapter: 5 stage: 8 - unitType: strategist - kind: offhand - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 + unitType: archer + kinds: + - helmet + - accessory + hardShardHeroes: [] - chapter: 5 stage: 9 - unitType: archer - kind: weapon - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: spear + kinds: + - weapon + - accessory + hardShardHeroes: [] - chapter: 5 stage: 10 - unitType: spear - kind: pouch - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: strategist + kinds: + - armor + - pouch + hardShardHeroes: [] - chapter: 5 stage: 11 - unitType: infantry - kind: weapon - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: cavalry + kinds: + - offhand + - pouch + hardShardHeroes: [] - chapter: 5 stage: 12 - unitType: cavalry - kind: pouch - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: strategist + kinds: + - weapon + - accessory + hardShardHeroes: [] - chapter: 5 stage: 13 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.5 unitType: spear - kind: armor - focusPct: 40 + kinds: + - helmet + - pouch + hardShardHeroes: [] - chapter: 5 stage: 14 - unitType: strategist - kind: pouch - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 + unitType: archer + kinds: + - weapon + - armor + hardShardHeroes: [] - chapter: 5 stage: 15 - unitType: spear - kind: accessory - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: infantry + kinds: + - helmet + - accessory + hardShardHeroes: + - xuhuang + - xuchu - chapter: 6 stage: 1 - unitType: strategist - kind: armor - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: spear + kinds: + - helmet + - pouch + hardShardHeroes: [] - chapter: 6 stage: 2 - unitType: spear - kind: accessory - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: strategist + kinds: + - helmet + - pouch + hardShardHeroes: [] - chapter: 6 stage: 3 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 unitType: infantry - kind: pouch - focusPct: 40 + kinds: + - armor + - pouch + hardShardHeroes: [] - chapter: 6 stage: 4 - unitType: strategist - kind: helmet - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.5 + unitType: cavalry + kinds: + - armor + - helmet + hardShardHeroes: [] - chapter: 6 stage: 5 - unitType: cavalry - kind: pouch - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: archer + kinds: + - weapon + - pouch + hardShardHeroes: + - yanliang - chapter: 6 stage: 6 - unitType: archer - kind: offhand - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: infantry + kinds: + - weapon + - accessory + hardShardHeroes: [] - chapter: 6 stage: 7 - unitType: spear - kind: weapon - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: archer + kinds: + - offhand + - accessory + hardShardHeroes: [] - chapter: 6 stage: 8 - unitType: cavalry - kind: offhand - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: spear + kinds: + - weapon + - offhand + hardShardHeroes: [] - chapter: 6 stage: 9 - unitType: archer - kind: weapon - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.5 + unitType: cavalry + kinds: + - weapon + - accessory + hardShardHeroes: [] - chapter: 6 stage: 10 - unitType: spear - kind: helmet - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: strategist + kinds: + - armor + - accessory + hardShardHeroes: + - wenchou - chapter: 6 stage: 11 - unitType: cavalry - kind: armor - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 + unitType: archer + kinds: + - armor + - helmet + hardShardHeroes: [] - chapter: 6 stage: 12 - unitType: infantry - kind: helmet - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1.25 + unitType: spear + kinds: + - armor + - accessory + hardShardHeroes: [] - chapter: 6 stage: 13 - unitType: spear - kind: armor - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 + unitType: cavalry + kinds: + - offhand + - pouch + hardShardHeroes: [] - chapter: 6 stage: 14 - unitType: cavalry - kind: weapon - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: strategist + kinds: + - weapon + - offhand + hardShardHeroes: [] - chapter: 6 stage: 15 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 unitType: infantry - kind: armor - focusPct: 40 + kinds: + - helmet + - offhand + hardShardHeroes: [] - chapter: 6 stage: 16 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 unitType: archer - kind: accessory - focusPct: 40 + kinds: + - weapon + - helmet + hardShardHeroes: [] - chapter: 6 stage: 17 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 unitType: strategist - kind: weapon - focusPct: 40 + kinds: + - weapon + - armor + hardShardHeroes: [] - chapter: 6 stage: 18 - unitType: archer - kind: armor - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 + unitType: cavalry + kinds: + - helmet + - offhand + hardShardHeroes: [] - chapter: 6 stage: 19 - unitType: infantry - kind: offhand - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 + unitType: spear + kinds: + - armor + - accessory + hardShardHeroes: [] - chapter: 6 stage: 20 - unitType: strategist - kind: pouch - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: infantry + kinds: + - weapon + - armor + hardShardHeroes: + - xiahoudun - chapter: 7 stage: 1 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 unitType: cavalry - kind: helmet - focusPct: 40 + kinds: + - accessory + - pouch + hardShardHeroes: [] - chapter: 7 stage: 2 - unitType: spear - kind: offhand - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: infantry + kinds: + - offhand + - pouch + hardShardHeroes: [] - chapter: 7 stage: 3 - unitType: infantry - kind: helmet - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.5 + unitType: archer + kinds: + - armor + - helmet + hardShardHeroes: [] - chapter: 7 stage: 4 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.5 unitType: strategist - kind: offhand - focusPct: 40 + kinds: + - armor + - helmet + hardShardHeroes: [] - chapter: 7 stage: 5 - unitType: archer - kind: armor - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: spear + kinds: + - offhand + - accessory + hardShardHeroes: [] - chapter: 7 stage: 6 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 unitType: infantry - kind: accessory - focusPct: 40 + kinds: + - armor + - accessory + hardShardHeroes: [] - chapter: 7 stage: 7 - unitType: spear - kind: pouch - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: strategist + kinds: + - accessory + - pouch + hardShardHeroes: [] - chapter: 7 stage: 8 - unitType: archer - kind: helmet - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1.25 + unitType: spear + kinds: + - weapon + - armor + hardShardHeroes: [] - chapter: 7 stage: 9 - unitType: strategist - kind: pouch - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 + unitType: cavalry + kinds: + - armor + - offhand + hardShardHeroes: [] - chapter: 7 stage: 10 - unitType: cavalry - kind: accessory - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: archer + kinds: + - offhand + - pouch + hardShardHeroes: [] - chapter: 8 stage: 1 - unitType: archer - kind: pouch - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: strategist + kinds: + - weapon + - offhand + hardShardHeroes: [] - chapter: 8 stage: 2 - unitType: spear - kind: accessory - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: infantry + kinds: + - weapon + - helmet + hardShardHeroes: [] - chapter: 8 stage: 3 - unitType: strategist - kind: helmet - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: archer + kinds: + - weapon + - accessory + hardShardHeroes: [] - chapter: 8 stage: 4 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 unitType: cavalry - kind: weapon - focusPct: 40 + kinds: + - weapon + - helmet + hardShardHeroes: [] - chapter: 8 stage: 5 - unitType: strategist - kind: armor - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: spear + kinds: + - helmet + - pouch + hardShardHeroes: [] - chapter: 8 stage: 6 - unitType: archer - kind: weapon - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 + unitType: strategist + kinds: + - helmet + - offhand + hardShardHeroes: [] - chapter: 8 stage: 7 - unitType: infantry - kind: offhand - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: archer + kinds: + - armor + - pouch + hardShardHeroes: [] - chapter: 8 stage: 8 - unitType: spear - kind: helmet - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1.25 + unitType: infantry + kinds: + - helmet + - offhand + hardShardHeroes: [] - chapter: 8 stage: 9 - unitType: infantry - kind: accessory - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 + unitType: cavalry + kinds: + - weapon + - armor + hardShardHeroes: [] - chapter: 8 stage: 10 - unitType: strategist - kind: offhand - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: spear + kinds: + - offhand + - pouch + hardShardHeroes: + - caoren - chapter: 8 stage: 11 - unitType: archer - kind: helmet - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: cavalry + kinds: + - helmet + - offhand + hardShardHeroes: [] - chapter: 8 stage: 12 - unitType: cavalry - kind: pouch - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: strategist + kinds: + - accessory + - pouch + hardShardHeroes: [] - chapter: 8 stage: 13 - unitType: spear - kind: armor - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: infantry + kinds: + - weapon + - pouch + hardShardHeroes: [] - chapter: 8 stage: 14 - unitType: cavalry - kind: offhand - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.5 + unitType: spear + kinds: + - armor + - helmet + hardShardHeroes: [] - chapter: 8 stage: 15 - unitType: infantry - kind: armor - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: archer + kinds: + - weapon + - offhand + hardShardHeroes: + - xiahoudun - chapter: 9 stage: 1 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 unitType: cavalry - kind: helmet - focusPct: 40 + kinds: + - weapon + - armor + hardShardHeroes: [] - chapter: 9 stage: 2 - unitType: spear - kind: weapon - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: strategist + kinds: + - weapon + - accessory + hardShardHeroes: [] - chapter: 9 stage: 3 - unitType: cavalry - kind: armor - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: archer + kinds: + - helmet + - accessory + hardShardHeroes: [] - chapter: 9 stage: 4 - unitType: infantry - kind: pouch - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: spear + kinds: + - accessory + - pouch + hardShardHeroes: [] - chapter: 9 stage: 5 - unitType: strategist - kind: weapon - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: infantry + kinds: + - accessory + - pouch + hardShardHeroes: [] - chapter: 9 stage: 6 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 unitType: archer - kind: offhand - focusPct: 40 + kinds: + - offhand + - pouch + hardShardHeroes: [] - chapter: 9 stage: 7 - unitType: spear - kind: armor - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1.25 + unitType: cavalry + kinds: + - offhand + - accessory + hardShardHeroes: [] - chapter: 9 stage: 8 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1.25 unitType: infantry - kind: offhand - focusPct: 40 + kinds: + - weapon + - armor + hardShardHeroes: [] - chapter: 9 stage: 9 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 unitType: strategist - kind: accessory - focusPct: 40 + kinds: + - armor + - offhand + hardShardHeroes: [] - chapter: 9 stage: 10 - unitType: archer - kind: weapon - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: spear + kinds: + - weapon + - offhand + hardShardHeroes: + - zhanghe - chapter: 9 stage: 11 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 unitType: strategist - kind: helmet - focusPct: 40 + kinds: + - helmet + - pouch + hardShardHeroes: [] - chapter: 9 stage: 12 - unitType: cavalry - kind: pouch - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: infantry + kinds: + - helmet + - offhand + hardShardHeroes: [] - chapter: 9 stage: 13 - unitType: archer - kind: accessory - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: cavalry + kinds: + - helmet + - pouch + hardShardHeroes: [] - chapter: 9 stage: 14 - unitType: spear - kind: offhand - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.5 + unitType: archer + kinds: + - weapon + - armor + hardShardHeroes: [] - chapter: 9 stage: 15 - unitType: infantry - kind: weapon - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: spear + kinds: + - armor + - helmet + hardShardHeroes: + - caocao - chapter: 10 stage: 1 - unitType: spear - kind: pouch - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: cavalry + kinds: + - helmet + - accessory + hardShardHeroes: [] - chapter: 10 stage: 2 - unitType: cavalry - kind: helmet - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: spear + kinds: + - armor + - helmet + hardShardHeroes: [] - chapter: 10 stage: 3 - unitType: infantry - kind: accessory - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 + unitType: archer + kinds: + - weapon + - accessory + hardShardHeroes: [] - chapter: 10 stage: 4 - unitType: strategist - kind: armor - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.5 + unitType: infantry + kinds: + - armor + - pouch + hardShardHeroes: [] - chapter: 10 stage: 5 - unitType: archer - kind: helmet - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: strategist + kinds: + - offhand + - pouch + hardShardHeroes: [] - chapter: 10 stage: 6 - unitType: cavalry - kind: offhand - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: infantry + kinds: + - offhand + - accessory + hardShardHeroes: [] - chapter: 10 stage: 7 - unitType: spear - kind: weapon - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: strategist + kinds: + - armor + - helmet + hardShardHeroes: [] - chapter: 10 stage: 8 - unitType: infantry - kind: pouch - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: spear + kinds: + - weapon + - pouch + hardShardHeroes: [] - chapter: 10 stage: 9 - unitType: strategist - kind: weapon - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.5 + unitType: cavalry + kinds: + - armor + - offhand + hardShardHeroes: [] - chapter: 10 stage: 10 - unitType: spear - kind: offhand - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: archer + kinds: + - armor + - pouch + hardShardHeroes: + - yujin - chapter: 10 stage: 11 - unitType: archer - kind: armor - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: cavalry + kinds: + - weapon + - pouch + hardShardHeroes: [] - chapter: 10 stage: 12 - unitType: strategist - kind: accessory - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1 + unitType: spear + kinds: + - offhand + - accessory + hardShardHeroes: [] - chapter: 10 stage: 13 - unitType: archer - kind: offhand - focusPct: 40 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 + unitType: strategist + kinds: + - weapon + - accessory + hardShardHeroes: [] - chapter: 10 stage: 14 - unitType: infantry - kind: helmet - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: archer + kinds: + - helmet + - offhand + hardShardHeroes: [] - chapter: 10 stage: 15 - unitType: strategist - kind: pouch - focusPct: 40 + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: infantry + kinds: + - weapon + - helmet + hardShardHeroes: + - zhangliao - chapter: 10 stage: 16 - unitType: spear - kind: helmet - focusPct: 40 + region: gold + goldMult: 1.5 + expMult: 1 + gearMult: 1.25 + unitType: cavalry + kinds: + - armor + - accessory + hardShardHeroes: [] - chapter: 10 stage: 17 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.875 unitType: archer - kind: accessory - focusPct: 40 + kinds: + - helmet + - accessory + hardShardHeroes: [] - chapter: 10 stage: 18 - unitType: cavalry - kind: weapon - focusPct: 40 + region: exp + goldMult: 1 + expMult: 1.5 + gearMult: 1 + unitType: strategist + kinds: + - weapon + - armor + hardShardHeroes: [] - chapter: 10 stage: 19 + region: gear + goldMult: 1 + expMult: 1 + gearMult: 1.5 unitType: infantry - kind: armor - focusPct: 40 + kinds: + - weapon + - accessory + hardShardHeroes: [] - chapter: 10 stage: 20 - unitType: cavalry - kind: accessory + region: gear + goldMult: 2 + expMult: 2 + gearMult: 3.6 + unitType: spear + kinds: + - armor + - accessory + hardShardHeroes: + - caocao + rules: + chestRolls: 3 + carrierSoldier: 1 + carrierGeneral: 4 + carrierBoss: 8 + shareSoldier: 1 + shareGeneral: 3 + shareBoss: 6 + bossFirstChest: 1 focusPct: 40 diff --git a/Assets/Resources/OutGame/RewardTable.asset b/Assets/Resources/OutGame/RewardTable.asset index 50ae1dd6..c6c56c3a 100644 --- a/Assets/Resources/OutGame/RewardTable.asset +++ b/Assets/Resources/OutGame/RewardTable.asset @@ -14,82 +14,82 @@ MonoBehaviour: m_EditorClassIdentifier: TKS.Runtime::TKS.OutGame.RewardTable rows: - chapter: 1 - goldBase: 90 - expBase: 28 + goldBase: 225 + expBase: 70 gemFirst: 10 gemBoss: 30 - gearDropPct: 0.5 + gearDropPct: 0.6 gearGradeMax: white starTurns: 9 - chapter: 2 - goldBase: 120 - expBase: 36 + goldBase: 300 + expBase: 90 gemFirst: 10 gemBoss: 30 - gearDropPct: 0.5 + gearDropPct: 0.56 gearGradeMax: white starTurns: 10 - chapter: 3 - goldBase: 150 - expBase: 44 + goldBase: 375 + expBase: 110 gemFirst: 10 gemBoss: 30 - gearDropPct: 0.5 + gearDropPct: 0.54 gearGradeMax: green starTurns: 11 - chapter: 4 - goldBase: 180 - expBase: 52 + goldBase: 450 + expBase: 130 gemFirst: 10 gemBoss: 30 - gearDropPct: 0.5 + gearDropPct: 0.54 gearGradeMax: green starTurns: 12 - chapter: 5 - goldBase: 210 - expBase: 60 + goldBase: 525 + expBase: 150 gemFirst: 10 gemBoss: 30 - gearDropPct: 0.5 + gearDropPct: 0.52 gearGradeMax: blue starTurns: 13 - chapter: 6 - goldBase: 240 - expBase: 68 + goldBase: 600 + expBase: 170 gemFirst: 10 gemBoss: 30 - gearDropPct: 0.5 + gearDropPct: 0.52 gearGradeMax: blue starTurns: 14 - chapter: 7 - goldBase: 270 - expBase: 76 + goldBase: 675 + expBase: 190 gemFirst: 10 gemBoss: 30 - gearDropPct: 0.5 + gearDropPct: 0.52 gearGradeMax: purple starTurns: 15 - chapter: 8 - goldBase: 300 - expBase: 84 + goldBase: 750 + expBase: 210 gemFirst: 10 gemBoss: 30 - gearDropPct: 0.5 + gearDropPct: 0.52 gearGradeMax: purple starTurns: 16 - chapter: 9 - goldBase: 330 - expBase: 92 + goldBase: 825 + expBase: 230 gemFirst: 10 gemBoss: 30 - gearDropPct: 0.5 + gearDropPct: 0.48 gearGradeMax: orange starTurns: 17 - chapter: 10 - goldBase: 360 - expBase: 100 + goldBase: 900 + expBase: 250 gemFirst: 10 gemBoss: 30 - gearDropPct: 0.5 + gearDropPct: 0.48 gearGradeMax: orange starTurns: 18 diff --git a/Assets/Resources/UI/Battle/battle_loot.csv b/Assets/Resources/UI/Battle/battle_loot.csv new file mode 100644 index 00000000..46a1c4a2 --- /dev/null +++ b/Assets/Resources/UI/Battle/battle_loot.csv @@ -0,0 +1,10 @@ +# 전투 중 전리품 연출 표(PD 2026-11-23 「적을 처치할 경우 골드 · 경험치 · 장비를 드랍 · 장비가 드랍 된 경우 상자」 · 스테이지 보상 드랍 요청서 §2-2) · 코드 = OutGame/UI/BattleLootFx +# 좌표 = 1080×1920 기준 화면 px · 왼쪽 위 0,0 · 아래로 + · 그림 id = UI 테마(ui_theme.csv) · 금화 · 경험치 · 상자 그림은 임시(아트 요청 = 금화 · 경험치 구슬 · 나무 상자 · 금빛 상자) +key,value,note +chip,16|116|300|72,전리품 표시칸 x|y|폭|높이(턴 현판 왼쪽 빈자리 · 맹장 토벌전 철수 버튼 자리 = 출정에서는 비어 있음) +chip_art,chip|chip_dark,표시칸 스킨|색 +gold,cur_gold|40|28,골드 아이콘|크기|숫자 글자(다섯 자리까지 상자 아이콘과 겹치지 않게) +chest,chest_bronze|chest_gold|46|30|0.68,나무 상자(일반~에픽) 아이콘|금빛 상자(출정 최고 등급 = 전설) 아이콘|크기|숫자 글자|표시칸 안 상자 자리(폭 비율) +exp,cur_exp,경험치 구슬 아이콘 +fly,64|0.22|0.3|0.45|70,떨어진 금화 · 구슬 크기|튀어나오는 초|머무는 초|표시칸으로 날아가는 초|튀어나오는 거리 +fly_chest,96,떨어진 상자 크기 diff --git a/Assets/Resources/UI/Battle/battle_loot.csv.meta b/Assets/Resources/UI/Battle/battle_loot.csv.meta new file mode 100644 index 00000000..9fdd1ce2 --- /dev/null +++ b/Assets/Resources/UI/Battle/battle_loot.csv.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 9919ea7421dbeb14b9c2c2b80ebf3bff +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/OutGame/Data/EconomyConfig.cs b/Assets/Scripts/OutGame/Data/EconomyConfig.cs index cf2ea157..c2fd26ca 100644 --- a/Assets/Scripts/OutGame/Data/EconomyConfig.cs +++ b/Assets/Scripts/OutGame/Data/EconomyConfig.cs @@ -11,6 +11,8 @@ namespace TKS.OutGame public KeyValueList values = new KeyValueList(); public int StaminaMax { get { return values.I("stamina_max"); } } + /// 내정 등으로 늘린 최대 군량의 상한(PD 2026-11-24 「기본 50 · 최대 200」). + public int StaminaMaxLimit { get { return values.I("stamina_max_limit"); } } public int StaminaRegenSec { get { return values.I("stamina_regen_sec"); } } public int StageCost { get { return values.I("stage_cost"); } } public int BossCost { get { return values.I("boss_cost"); } } @@ -109,7 +111,7 @@ namespace TKS.OutGame /// 임포터가 확인하는 필수 키. public static readonly string[] RequiredKeys = { - "stamina_max", "stamina_regen_sec", "stage_cost", "boss_cost", "ad_stamina", "ad_stamina_daily", + "stamina_max", "stamina_max_limit", "stamina_regen_sec", "stage_cost", "boss_cost", "ad_stamina", "ad_stamina_daily", "gem_stamina_cost", "gem_stamina_amount", "gem_stamina_daily", "repeat_reward_mult", "shard_dup_r3", "shard_dup_r2", "shard_dup_r1", "soldier_dup_gold", "start_gold", "start_gem", "start_stamina", "start_heroes", "preset_count", "formation_front", diff --git a/Assets/Scripts/OutGame/Data/GearDb.cs b/Assets/Scripts/OutGame/Data/GearDb.cs index 4081783e..af6a894b 100644 --- a/Assets/Scripts/OutGame/Data/GearDb.cs +++ b/Assets/Scripts/OutGame/Data/GearDb.cs @@ -6,7 +6,7 @@ namespace TKS.OutGame { /// /// 승급 장비 = 병종 5 × 부위 6 × 등급 7 = 210(gear_items.csv · 2026-11-20 장비 등급 드랍 요청서) · 등급 = gear_grades(일반 ~ 신화 · 순서 · 이름 · 색) · - /// 병종 · 부위 = gear_kinds(n_slot = 승급 장비 칸) · 스테이지 드랍 = gear_drop_chapters(장 → 등급 가중치) + gear_drop_stages(스테이지 → 확률 ↑ 장비 · 몫 %). + /// 병종 · 부위 = gear_kinds(n_slot = 승급 장비 칸) · 스테이지 드랍 = gear_drop_chapters(장 → 등급 가중치) + stage_drop(스테이지 → 지역 특화 · 배율 · 지정 장비 2종) + drop_rules(상자 굴림 · 몫 · 2026-11-23). /// public class GearDb : ScriptableObject { @@ -62,21 +62,50 @@ namespace TKS.OutGame public float[] weights = new float[0]; } + /// 스테이지 드랍(stage_drop.csv · 2026-11-23 스테이지 보상 드랍 요청서) — 지역 특화 · 배율 · 지정 장비(한 병종의 부위 2개). [Serializable] public class StageDrop { public int chapter; public int stage; + [Tooltip("지역 특화 = gold · exp · gear(s_region)")] + public string region = ""; + public float goldMult = 1f; + public float expMult = 1f; + [Tooltip("상자 기대 개수 배율(스테이지 종류 × 지역 · 표에서 이미 곱한 값)")] + public float gearMult = 1f; public string unitType = ""; - public string kind = ""; + [Tooltip("지정 부위(l_kind · 한 병종의 부위 2개 · 반반)")] + public string[] kinds = new string[0]; + [Tooltip("어려움 보스 조각 영웅(추후 · 자리만)")] + public string[] hardShardHeroes = new string[0]; + } + + /// 드랍 규칙(drop_rules.csv 키 · 값) — 상자 굴림 수 · 상자를 든 적 가중치 · 처치 몫 가중치 · 보스 첫 클리어 확정 상자 · 지정 장비 몫 %. + [Serializable] + public class DropRules + { + public int chestRolls; + public float carrierSoldier; + public float carrierGeneral; + public float carrierBoss; + public float shareSoldier; + public float shareGeneral; + public float shareBoss; + public int bossFirstChest; public float focusPct; } + public const string RegionGold = "gold"; + public const string RegionExp = "exp"; + public const string RegionGear = "gear"; + public List items = new List(); public List grades = new List(); public List kinds = new List(); public List chapterDrops = new List(); public List stageDrops = new List(); + public DropRules rules = new DropRules(); public Grade GradeOf(string g) { diff --git a/Assets/Scripts/OutGame/Data/OutGameTables.Gear.cs b/Assets/Scripts/OutGame/Data/OutGameTables.Gear.cs index 1d97d713..59b52297 100644 --- a/Assets/Scripts/OutGame/Data/OutGameTables.Gear.cs +++ b/Assets/Scripts/OutGame/Data/OutGameTables.Gear.cs @@ -6,7 +6,7 @@ using UnityEngine; namespace TKS.OutGame { /// - /// 장비 등급 7 · 병종 장비 · 장별 드랍 표 해석·검증(2026-11-20 개발요청_장비등급드랍 §1) — gear_grades · gear_kinds · gear_drop_chapters · gear_drop_stages + /// 장비 등급 7 · 병종 장비 · 장별 드랍 표 해석·검증(2026-11-20 개발요청_장비등급드랍 §1) — gear_grades · gear_kinds · gear_drop_chapters · stage_drop · drop_rules(2026-11-23) /// + gear_items 새 열(unit_type · icon · f_stat_pct) · hero_gear 칸 = 그 영웅 병종의 부위. 오류는 errors 에 모아 임포트를 막는다. /// public static partial class OutGameTables @@ -126,23 +126,70 @@ namespace TKS.OutGame if (t.chapterDrops[i].chapter != i + 1) e.Add(fc + ": n_chapter 가 1부터 연속이 아님"); } - const string fs = "gear_drop_stages.csv"; - if (Cols(rows[fs], fs, e, "n_chapter", "n_stage", "s_unit_type", "s_kind", "f_focus_pct")) + const string fs = "stage_drop.csv"; + if (Cols(rows[fs], fs, e, "n_chapter", "n_stage", "s_region", "f_gold_mult", "f_exp_mult", "f_gear_mult", "s_unit_type", "l_kind", "l_hard_shard_hero")) { var seen = new HashSet(); foreach (var r in rows[fs]) { - var s = new GearDb.StageDrop { chapter = Int(r, "n_chapter", fs, e), stage = Int(r, "n_stage", fs, e), unitType = Get(r, "s_unit_type"), kind = Get(r, "s_kind"), focusPct = Float(r, "f_focus_pct", fs, e) }; - if (!seen.Add(s.chapter + "-" + s.stage)) e.Add(fs + ": " + s.chapter + "-" + s.stage + " 중복"); - if (s.focusPct < 0f || s.focusPct > 100f) e.Add(fs + ": " + s.chapter + "-" + s.stage + " f_focus_pct " + s.focusPct + " = 0~100 아님"); + var s = new GearDb.StageDrop + { + chapter = Int(r, "n_chapter", fs, e), stage = Int(r, "n_stage", fs, e), region = Get(r, "s_region"), + goldMult = Float(r, "f_gold_mult", fs, e), expMult = Float(r, "f_exp_mult", fs, e), gearMult = Float(r, "f_gear_mult", fs, e), + unitType = Get(r, "s_unit_type"), kinds = SplitList(Get(r, "l_kind")), hardShardHeroes = SplitList(Get(r, "l_hard_shard_hero")), + }; + string at = s.chapter + "-" + s.stage; + if (!seen.Add(at)) e.Add(fs + ": " + at + " 중복"); + if (s.region != GearDb.RegionGold && s.region != GearDb.RegionExp && s.region != GearDb.RegionGear) e.Add(fs + ": " + at + " s_region 「" + s.region + "」 = gold · exp · gear 아님"); + if (s.goldMult <= 0f || s.expMult <= 0f || s.gearMult <= 0f) e.Add(fs + ": " + at + " 배율은 0 보다 커야 함"); + if (s.kinds.Length == 0) e.Add(fs + ": " + at + " l_kind 비어 있음"); var drop = t.DropFor(s.chapter); if (drop == null) e.Add(fs + ": " + s.chapter + "장 = gear_drop_chapters 에 없음"); else - foreach (var g in drop.grades) - if (t.Find(s.unitType, s.kind, g) == null) e.Add(fs + ": " + s.chapter + "-" + s.stage + " 지정 장비 " + s.unitType + " · " + s.kind + " · " + g + " 없음"); + foreach (var k in s.kinds) + foreach (var g in drop.grades) + if (t.Find(s.unitType, k, g) == null) e.Add(fs + ": " + at + " 지정 장비 " + s.unitType + " · " + k + " · " + g + " 없음"); t.stageDrops.Add(s); } } + + const string fr = "drop_rules.csv"; + if (Cols(rows[fr], fr, e, "s_key", "s_value")) + { + var kv = new Dictionary(); + foreach (var r in rows[fr]) kv[Get(r, "s_key")] = Get(r, "s_value"); + var ru = t.rules; + ru.chestRolls = Mathf.RoundToInt(Rule(kv, "chest_rolls", fr, e)); + ru.carrierSoldier = Rule(kv, "chest_carrier_w_soldier", fr, e); + ru.carrierGeneral = Rule(kv, "chest_carrier_w_general", fr, e); + ru.carrierBoss = Rule(kv, "chest_carrier_w_boss", fr, e); + ru.shareSoldier = Rule(kv, "kill_share_w_soldier", fr, e); + ru.shareGeneral = Rule(kv, "kill_share_w_general", fr, e); + ru.shareBoss = Rule(kv, "kill_share_w_boss", fr, e); + ru.bossFirstChest = Mathf.RoundToInt(Rule(kv, "boss_first_chest", fr, e)); + ru.focusPct = Rule(kv, "focus_pct", fr, e); + if (ru.chestRolls < 1) e.Add(fr + ": chest_rolls 는 1 이상"); + if (ru.focusPct < 0f || ru.focusPct > 100f) e.Add(fr + ": focus_pct " + ru.focusPct + " = 0~100 아님"); + if (ru.carrierSoldier <= 0f || ru.shareSoldier <= 0f) e.Add(fr + ": 병사 가중치는 0 보다 커야 함"); + } + } + + static string[] SplitList(string v) + { + return string.IsNullOrEmpty(v) ? new string[0] : v.Split(';'); + } + + static float Rule(Dictionary kv, string key, string f, List e) + { + string v; + float n; + if (!kv.TryGetValue(key, out v)) + { + e.Add(f + ": 키 「" + key + "」 없음"); + return 0f; + } + if (!float.TryParse(v, NumberStyles.Float, CultureInfo.InvariantCulture, out n)) e.Add(f + ": " + key + " 「" + v + "」 숫자가 아님"); + return n; } /// hero_gear 칸 = 그 영웅 병종(heroes.unit_type)의 부위(gear_kinds n_slot) · 승급 단계 n = 장비 등급 n. diff --git a/Assets/Scripts/OutGame/Data/RewardTable.cs b/Assets/Scripts/OutGame/Data/RewardTable.cs index b247aa3f..0b6c859e 100644 --- a/Assets/Scripts/OutGame/Data/RewardTable.cs +++ b/Assets/Scripts/OutGame/Data/RewardTable.cs @@ -15,7 +15,8 @@ namespace TKS.OutGame public int expBase; public int gemFirst; public int gemBoss; - [Range(0f, 1f)] public float gearDropPct; + [Tooltip("그 장 일반 스테이지 1판의 상자 기대 개수(2026-11-23 · 1 을 넘을 수 있다)")] + public float gearDropPct; [Tooltip("드랍 장비 등급 상한(gear_items grade)")] public string gearGradeMax; [Tooltip("별 ③ = 이 턴 수 이내 클리어")] diff --git a/Assets/Scripts/OutGame/EconomyRules.cs b/Assets/Scripts/OutGame/EconomyRules.cs index ccfc9bb4..4f156131 100644 --- a/Assets/Scripts/OutGame/EconomyRules.cs +++ b/Assets/Scripts/OutGame/EconomyRules.cs @@ -17,7 +17,23 @@ namespace TKS.OutGame public int gold; public int exp; public int gem; - public string gearId; + /// 전리품 상자의 장비(상자 1개 = 장비 1개 · 2026-11-23) — 앞에서 fixedChests 개 = 보스 첫 클리어 확정 상자. + public List gearIds = new List(); + public int fixedChests; + /// 첫 장비(옛 한 개짜리 호출부 · 서버 응답 reward.gearId 용). + public string gearId + { + get { return gearIds.Count > 0 ? gearIds[0] : null; } + set + { + gearIds.Clear(); + if (!string.IsNullOrEmpty(value)) gearIds.Add(value); + } + } + /// 지역 특화(stage_drop s_region = gold · exp · gear) · 이번 판에 곱해진 지역 배율(결과 창 표시용). + public string region = ""; + public float goldMult = 1f; + public float expMult = 1f; /// 보물 상자(stage_chest · stage_chest_pct · PD #1093 C) — 상자 등급 개발 반영 뒤 id. public string chest; public int stamina; @@ -30,6 +46,16 @@ namespace TKS.OutGame public List expTo = new List(); } + /// 출전할 때 미리 굴린 전리품(2026-11-23 스테이지 보상 드랍) — 상자 1개 = 장비 1개 · 앞의 fixedChests 개 = 보스 첫 클리어 확정 상자. + public class StageLoot + { + public int chapter; + public int stage; + public bool sweep; + public List gearIds = new List(); + public int fixedChests; + } + /// 군량(§2) · 일일 횟수 · 스테이지 보상(§6) · 소탕 · 골드 장비 상점(S15). 수치 = economy.csv · stage_rewards.csv · gear_items.csv. public static class EconomyRules { @@ -57,10 +83,12 @@ namespace TKS.OutGame // ---------- 군량 ---------- - /// 군량 최대 = stamina_max + 농업 「군량 상한」(PD #1093 C). + /// 군량 최대 = stamina_max + 농업 「군량 상한」(PD #1093 C) · stamina_max_limit 를 넘지 않는다. public static int StaminaMax(OutGameData db, SaveData d) { - return db.Economy.StaminaMax + Mathf.RoundToInt(DevRules.Mod(db, d, DevRules.FoodCap)); + int max = db.Economy.StaminaMax + Mathf.RoundToInt(DevRules.Mod(db, d, DevRules.FoodCap)); + int limit = db.Economy.StaminaMaxLimit; // 내정 등으로 늘려도 넘지 못하는 상한(PD 2026-11-24 「기본 50 · 최대 200」) + return limit > 0 ? Mathf.Min(max, limit) : max; } /// 군량 1 회복 초 = stamina_regen_sec − 농업 「군량 회복」(최소 1). @@ -167,30 +195,31 @@ namespace TKS.OutGame // ---------- 스테이지 보상(§6) ---------- /// - /// 골드 = gold_base + stage × gold_per_stage(첫 클리어 × first_clear_gold_mult · 반복 × repeat_reward_mult) · 경험 = 출전 전원 exp_base(반복 ×0.5) · - /// 보옥 = 첫 클리어 gem_first + 보스 gem_boss · 장비 1개 = gear_drop_pct(보스 boss_gear_drop_pct) · 등급 · 장비 = RollGear(gear_drop_chapters · gear_drop_stages) · + /// 골드 = (gold_base + stage × gold_per_stage) × 첫 클리어 first_clear_gold_mult · 반복 repeat_reward_mult × 지역 배율(stage_drop f_gold_mult) · + /// 경험 = 출전 전원 exp_base(반복 × repeat_reward_mult) × 지역 배율(f_exp_mult) · 보옥 = 첫 클리어 gem_first + 보스 gem_boss · + /// 장비 = 전리품 상자(loot = 출전 때 미리 굴린 것 · 없거나 다른 스테이지 것이면 여기서 굴림 = 소탕) · /// 별 = 클리어 · 전원 생존 · star_turns 턴 이내. 소탕 = 반복 보상(별 조건 없음). /// - public static StageReward Compute(OutGameData db, SaveData d, BalanceConfig.StageDef s, bool win, bool allAlive, int turns, bool sweep, System.Random rng) + public static StageReward Compute(OutGameData db, SaveData d, BalanceConfig.StageDef s, bool win, bool allAlive, int turns, bool sweep, System.Random rng, StageLoot loot = null) { var e = db.Economy; var row = db.Rewards.For(s.chapter); var st = d.Stage(s.chapter, s.stage, false); + var sd = StageDropOf(db, s); var r = new StageReward { win = win, sweep = sweep, chapter = s.chapter, stage = s.stage, boss = s.kind == StageKind.Boss, first = !sweep && (st == null || st.clears == 0), turns = turns, starTurns = row != null ? row.starTurns : 0, bestStars = st != null ? st.stars : 0, + region = sd != null ? sd.region : "", goldMult = sd != null ? sd.goldMult : 1f, expMult = sd != null ? sd.expMult : 1f, }; if (!win || row == null) return r; - float baseGold = row.goldBase + s.stage * e.GoldPerStage; - float mult = r.first ? e.FirstClearGoldMult : e.RepeatRewardMult; // 개발 효과(PD #1093 C) = 골드 획득 · 경험 획득 · 첫 클리어 보옥 · 보옥 보너스 · 장비 드랍(%p) — 개발 0 이면 A 단계 값 그대로 - r.gold = Mathf.RoundToInt(baseGold * mult * DevRules.Mult(db, d, DevRules.GoldGain)); - r.exp = Mathf.RoundToInt(row.expBase * (r.first ? 1f : e.RepeatRewardMult) * DevRules.Mult(db, d, DevRules.ExpGain)); + StageGoldExp(db, d, s, r.first, out r.gold, out r.exp); r.gem = r.first ? Mathf.RoundToInt((row.gemFirst + (r.boss ? row.gemBoss : 0)) * DevRules.Mult(db, d, DevRules.FirstClearGem) * DevRules.Mult(db, d, DevRules.GemBonus)) : 0; - float drop = (r.boss ? e.BossGearDropPct : row.gearDropPct) + DevRules.Mod(db, d, DevRules.GearDrop) / 100f; - if (rng.NextDouble() < drop) r.gearId = RollGear(db, s.chapter, s.stage, rng); + if (loot == null || loot.chapter != s.chapter || loot.stage != s.stage || loot.sweep != sweep) loot = RollLoot(db, d, s, sweep, rng); + r.gearIds.AddRange(loot.gearIds); + r.fixedChests = loot.fixedChests; if (db.Chests != null && rng.NextDouble() < e.StageChestPct) r.chest = TreasureRules.RollTier(db, d, e.StageChest, rng); if (!sweep) { @@ -203,6 +232,92 @@ namespace TKS.OutGame return r; } + /// 지역 특화 이름(stage_drop s_region) — 골드 지역 · 경험치 지역 · 장비 지역 · 없으면 빈 글자. + public static string RegionKo(string region) + { + return region == GearDb.RegionGold ? "골드 지역" : region == GearDb.RegionExp ? "경험치 지역" : region == GearDb.RegionGear ? "장비 지역" : ""; + } + + /// 지역 특화 한 줄(스테이지 정보 창 · 결과 창) — 「골드 지역 · 골드 ×1.5」 처럼 그 스테이지 배율을 붙인다(배율 1 = 이름만). + public static string RegionLine(OutGameData db, SaveData d, BalanceConfig.StageDef s) + { + var sd = StageDropOf(db, s); + if (sd == null) return ""; + string name = RegionKo(sd.region); + if (sd.region == GearDb.RegionGold && sd.goldMult != 1f) return name + " · 골드 ×" + sd.goldMult.ToString("0.##", CultureInfo.InvariantCulture); + if (sd.region == GearDb.RegionExp && sd.expMult != 1f) return name + " · 경험 ×" + sd.expMult.ToString("0.##", CultureInfo.InvariantCulture); + if (sd.region == GearDb.RegionGear) return name + " · 상자 확률 ↑"; + return name; + } + + /// 그 스테이지의 드랍 줄(stage_drop · 지역 특화 · 배율 · 지정 장비 · 없으면 null). + public static GearDb.StageDrop StageDropOf(OutGameData db, BalanceConfig.StageDef s) + { + return db.Gear != null ? db.Gear.FocusFor(s.chapter, s.stage) : null; + } + + /// 그 스테이지 1판의 골드 · 경험(영웅 1명) 총량 — 첫 클리어 · 반복 배율 · 지역 배율 · 개발 효과 포함(적 처치 몫을 다 더한 값). + public static void StageGoldExp(OutGameData db, SaveData d, BalanceConfig.StageDef s, bool first, out int gold, out int exp) + { + gold = 0; + exp = 0; + var e = db.Economy; + var row = db.Rewards.For(s.chapter); + if (row == null) return; + var sd = StageDropOf(db, s); + float baseGold = row.goldBase + s.stage * e.GoldPerStage; + float mult = first ? e.FirstClearGoldMult : e.RepeatRewardMult; + gold = Mathf.RoundToInt(baseGold * mult * (sd != null ? sd.goldMult : 1f) * DevRules.Mult(db, d, DevRules.GoldGain)); + exp = Mathf.RoundToInt(row.expBase * (first ? 1f : e.RepeatRewardMult) * (sd != null ? sd.expMult : 1f) * DevRules.Mult(db, d, DevRules.ExpGain)); + } + + /// 그 스테이지 1판의 상자 기대 개수 = gear_drop_pct(장) × f_gear_mult(스테이지 종류 × 지역) + 개발 「장비 드랍」(%p ÷ 100). + public static float ChestExpect(OutGameData db, SaveData d, BalanceConfig.StageDef s) + { + var row = db.Rewards.For(s.chapter); + if (row == null) return 0f; + var sd = StageDropOf(db, s); + return Mathf.Max(0f, row.gearDropPct * (sd != null ? sd.gearMult : 1f) + DevRules.Mod(db, d, DevRules.GearDrop) / 100f); + } + + /// 한 판에 상자가 1개 이상 나올 확률(굴림 chest_rolls 회 · 1회 확률 = 기대 개수 ÷ 굴림 수). + public static float ChestAnyPct(OutGameData db, SaveData d, BalanceConfig.StageDef s) + { + int rolls = Mathf.Max(1, db.Gear != null ? db.Gear.rules.chestRolls : 1); + float p = Mathf.Clamp01(ChestExpect(db, d, s) / rolls); + return 1f - Mathf.Pow(1f - p, rolls); + } + + /// + /// 전리품 굴림(출전 때 1번 · 소탕은 그 자리에서) — ① 보스 첫 클리어 = 확정 상자 boss_first_chest 개(그 장 가중치가 가장 큰 등급 · 지정 장비) + /// ② 굴림 chest_rolls 회(1회 확률 = 상자 기대 개수 ÷ 굴림 수 · 최대 1) → 상자마다 RollGear. + /// + public static StageLoot RollLoot(OutGameData db, SaveData d, BalanceConfig.StageDef s, bool sweep, System.Random rng) + { + var loot = new StageLoot { chapter = s.chapter, stage = s.stage, sweep = sweep }; + if (db.Gear == null || db.Rewards.For(s.chapter) == null) return loot; + var ru = db.Gear.rules; + var st = d.Stage(s.chapter, s.stage, false); + bool first = !sweep && (st == null || st.clears == 0); + if (first && s.kind == StageKind.Boss) + for (int i = 0; i < ru.bossFirstChest; i++) + { + var id = RollGear(db, s.chapter, s.stage, rng, true); + if (id == null) continue; + loot.gearIds.Add(id); + loot.fixedChests++; + } + int rolls = Mathf.Max(1, ru.chestRolls); + double p = Mathf.Clamp01(ChestExpect(db, d, s) / rolls); + for (int i = 0; i < rolls; i++) + { + if (rng.NextDouble() >= p) continue; + var id = RollGear(db, s.chapter, s.stage, rng); + if (id != null) loot.gearIds.Add(id); + } + return loot; + } + /// 스테이지 정보 창 드랍 줄 — 그 장 드랍 등급 이름(gear_drop_chapters · 「고급 · 희귀」) · 가장 높은 등급(칸 색). public static string DropGradesText(OutGameData db, int chapter, out string top) { @@ -224,42 +339,64 @@ namespace TKS.OutGame return string.Join("·", names.ToArray()); } - /// 그 스테이지의 확률 ↑ 장비(병종 · 부위 · gear_kinds · 없으면 null). + /// 그 스테이지의 지정 장비(한 병종의 부위 2개 · gear_kinds · 없으면 빈 목록). + public static List FocusKinds(OutGameData db, int chapter, int stage) + { + var res = new List(); + var f = db.Gear != null ? db.Gear.FocusFor(chapter, stage) : null; + if (f == null) return res; + foreach (var kind in f.kinds) + foreach (var k in db.Gear.kinds) + if (k.unitType == f.unitType && k.kind == kind) res.Add(k); + return res; + } + + /// 지정 장비 첫 번째(옛 호출부용 · 없으면 null). public static GearDb.Kind FocusKind(OutGameData db, int chapter, int stage) { - var f = db.Gear != null ? db.Gear.FocusFor(chapter, stage) : null; - if (f == null) return null; - foreach (var k in db.Gear.kinds) - if (k.unitType == f.unitType && k.kind == f.kind) return k; - return null; + var ks = FocusKinds(db, chapter, stage); + return ks.Count > 0 ? ks[0] : null; } /// - /// 스테이지 장비 1개(2026-11-20 장비 등급 드랍 §2-2) — ① 등급 = gear_drop_chapters(그 장) 가중치 ② f_focus_pct % 로 그 스테이지 지정 장비(병종 · 부위 · 그 등급) - /// ③ 나머지 = 그 등급 장비 전부 중 균등(지정 장비 포함 · 제한 아님). + /// 상자 1개의 장비(2026-11-23 스테이지 보상 드랍 §2-1) — ① 등급 = gear_drop_chapters(그 장) 가중치(확정 상자 = 가중치가 가장 큰 등급) + /// ② focus_pct % 로 그 스테이지 지정 장비(지정 병종의 부위 2개 중 하나 · 반반 · 확정 상자 = 항상) ③ 나머지 = 그 등급 장비 전부 중 균등(지정 포함 · 제한 아님). /// - public static string RollGear(OutGameData db, int chapter, int stage, System.Random rng) + public static string RollGear(OutGameData db, int chapter, int stage, System.Random rng, bool fixedChest = false) { var g = db.Gear; var row = g.DropFor(chapter); if (row == null || row.grades.Length == 0) return null; - float sum = 0f; - foreach (var w in row.weights) sum += w; - float at = (float)(rng.NextDouble() * sum); string grade = row.grades[row.grades.Length - 1]; - for (int i = 0; i < row.grades.Length && i < row.weights.Length; i++) + if (fixedChest) { - if (at < row.weights[i]) + float best = -1f; + for (int i = 0; i < row.grades.Length && i < row.weights.Length; i++) + if (row.weights[i] > best) + { + best = row.weights[i]; + grade = row.grades[i]; + } + } + else + { + float sum = 0f; + foreach (var w in row.weights) sum += w; + float at = (float)(rng.NextDouble() * sum); + for (int i = 0; i < row.grades.Length && i < row.weights.Length; i++) { - grade = row.grades[i]; - break; + if (at < row.weights[i]) + { + grade = row.grades[i]; + break; + } + at -= row.weights[i]; } - at -= row.weights[i]; } var focus = g.FocusFor(chapter, stage); - if (focus != null && rng.NextDouble() * 100.0 < focus.focusPct) + if (focus != null && focus.kinds.Length > 0 && (fixedChest || rng.NextDouble() * 100.0 < g.rules.focusPct)) { - var f = g.Find(focus.unitType, focus.kind, grade); + var f = g.Find(focus.unitType, focus.kinds[rng.Next(focus.kinds.Length)], grade); if (f != null) return f.id; } var pool = new List(); @@ -268,6 +405,20 @@ namespace TKS.OutGame return pool.Count > 0 ? pool[rng.Next(pool.Count)] : null; } + /// 적 1기의 처치 몫 가중치(골드 · 경험치 총량을 나누는 비율 · drop_rules kill_share_w_*) — 보스 · 무장 · 병사. + public static float KillShare(OutGameData db, bool boss, bool general) + { + var ru = db.Gear.rules; + return boss ? ru.shareBoss : general ? ru.shareGeneral : ru.shareSoldier; + } + + /// 상자를 든 적을 고를 가중치(drop_rules chest_carrier_w_*). + public static float CarrierWeight(OutGameData db, bool boss, bool general) + { + var ru = db.Gear.rules; + return boss ? ru.carrierBoss : general ? ru.carrierGeneral : ru.carrierSoldier; + } + /// 보상을 세이브에 넣는다(재화 · 경험 = expTo 전원 · 장비 · 스테이지 기록 · 클리어 최고 챕터). public static void Apply(SaveData d, StageReward r, IEnumerable expTo) { @@ -282,7 +433,8 @@ namespace TKS.OutGame HeroRules.GrantExp(s, r.exp); r.expTo.Add(id); } - if (!string.IsNullOrEmpty(r.gearId)) d.inv.AddGear(r.gearId, 1); + foreach (var gid in r.gearIds) + if (!string.IsNullOrEmpty(gid)) d.inv.AddGear(gid, 1); if (!string.IsNullOrEmpty(r.chest)) Counts.Add(d.inv.chests, r.chest, 1); var st = d.Stage(r.chapter, r.stage, true); st.clears++; diff --git a/Assets/Scripts/OutGame/Net/ServerSession.cs b/Assets/Scripts/OutGame/Net/ServerSession.cs index cbf3a33f..474831a6 100644 --- a/Assets/Scripts/OutGame/Net/ServerSession.cs +++ b/Assets/Scripts/OutGame/Net/ServerSession.cs @@ -1737,6 +1737,11 @@ namespace TKS.OutGame.Net turns = (int)r.Num("reward.turns"), stamina = cost, }; + if (r.Has("reward.gearIds")) // 전리품 상자 여러 개(2026-11-23 · 서버가 주면 그것을 쓴다) + { + reward.gearIds.Clear(); + foreach (var gid in r.Strings("reward.gearIds")) reward.gearIds.Add(gid); + } for (int i = 0; i < reward.conds.Length; i++) reward.conds[i] = r.Bool("reward.conds[" + i.ToString(CultureInfo.InvariantCulture) + "]"); return reward; } diff --git a/Assets/Scripts/OutGame/OutGameSession.cs b/Assets/Scripts/OutGame/OutGameSession.cs index 977eb565..6f1e03a3 100644 --- a/Assets/Scripts/OutGame/OutGameSession.cs +++ b/Assets/Scripts/OutGame/OutGameSession.cs @@ -362,12 +362,21 @@ namespace TKS.OutGame return EconomyRules.SecondsToNext(Db, Save, Now); } + /// 출전할 때 미리 굴린 전리품(2026-11-23 · 전투 중 상자 연출 · 전투 종료 때 그대로 지급) — 서버 모드 = null(보상은 서버가 정한다). + public StageLoot PendingLoot { get; protected set; } + /// 스테이지 입장 비용 지불(부족 = false · 세이브 그대로). public virtual bool TryPayEntry(BalanceConfig.StageDef s) { - if (TestOptions.UnlockAllStages) return true; // 플레이 테스트 전용(전 스테이지 열기 = 군량 면제 · 2026-11-18) + PendingLoot = null; + if (TestOptions.UnlockAllStages) + { + PendingLoot = EconomyRules.RollLoot(Db, Save, s, false, Rng); + return true; // 플레이 테스트 전용(전 스테이지 열기 = 군량 면제 · 2026-11-18) + } int cost = EconomyRules.StageCost(Db, Save, s); if (!EconomyRules.SpendStamina(Db, Save, cost, Now)) return false; + PendingLoot = EconomyRules.RollLoot(Db, Save, s, false, Rng); // 전리품은 출전할 때 정한다(적 처치 때 상자 연출 · 2026-11-23) EventRules.Count(Save, EventRules.KStaminaUse, cost, Now); Commit(); return true; @@ -397,7 +406,8 @@ namespace TKS.OutGame foreach (var u in bm.AliveUnits(Faction.Player)) if (!u.Npc) alive++; // 구출 대상(학습 판)은 출전 인원이 아니다 bool allAlive = bm.Deployed.Count > 0 && alive >= bm.Deployed.Count; - var r = EconomyRules.Compute(Db, Save, stage, win, allAlive, bm.TurnNumber, false, Rng); + var r = EconomyRules.Compute(Db, Save, stage, win, allAlive, bm.TurnNumber, false, Rng, PendingLoot); + PendingLoot = null; r.stamina = EconomyRules.StageCost(Db, Save, stage); var ids = new List(); foreach (var e in bm.Deployed) ids.Add(e.id); diff --git a/Assets/Scripts/OutGame/OutGameTables.cs b/Assets/Scripts/OutGame/OutGameTables.cs index c20b7e4b..19167996 100644 --- a/Assets/Scripts/OutGame/OutGameTables.cs +++ b/Assets/Scripts/OutGame/OutGameTables.cs @@ -115,7 +115,7 @@ namespace TKS.OutGame // 각성 · 진화(2026-11-20 · OutGameTables.Awaken.cs) "awaken_config.csv", "awaken_cost.csv", "awaken_grades.csv", "awaken_stats.csv", "evolve_config.csv", "evolve_items.csv", "goods_awaken_evolve.csv", "awaken_slots.csv", "skill_upgrade.csv", "skill_config.csv", // 장비 등급 7 · 병종 장비 · 장별 드랍(2026-11-20 · OutGameTables.Gear.cs) - "gear_grades.csv", "gear_kinds.csv", "gear_drop_chapters.csv", "gear_drop_stages.csv", + "gear_grades.csv", "gear_kinds.csv", "gear_drop_chapters.csv", "stage_drop.csv", "drop_rules.csv", // 스테이지 드랍 v2(2026-11-23 · gear_drop_stages 대신) // 외형(코스튬 · 2026-11-20 · OutGameTables.Costume.cs) "costume_slots.csv", "costume_items.csv", "costume_config.csv", "costume_anchors.csv", // 영웅 정보(2026-11-20 · OutGameTables.HeroInfo.cs) diff --git a/Assets/Scripts/OutGame/UI/BattleLootFx.cs b/Assets/Scripts/OutGame/UI/BattleLootFx.cs new file mode 100644 index 00000000..c5cd59ca --- /dev/null +++ b/Assets/Scripts/OutGame/UI/BattleLootFx.cs @@ -0,0 +1,350 @@ +using System.Collections.Generic; +using System.Globalization; +using UnityEngine; +using UnityEngine.UI; + +namespace TKS.OutGame +{ + /// + /// 전투 중 전리품 연출(2026-11-23 스테이지 보상 드랍 요청서 §2-2) — 적이 쓰러진 자리에서 금화 · 경험치 구슬 · (상자를 든 적이면) 상자가 튀어나와 + /// 위쪽 표시칸(골드 합계 · 상자 수)으로 날아간다. 줍는 조작 없음 · 전투 진행을 멈추지 않는다. + /// 몫 = 스테이지 골드 총량을 적의 처치 몫(drop_rules kill_share_w_*)대로 나눔 · 상자 = 출전 때 미리 굴린 전리품(OutGameSession.PendingLoot)을 + /// 상자 든 적 가중치(chest_carrier_w_*)로 나눔(보스 첫 클리어 확정 상자 = 보스). 지급은 여기서 하지 않는다(전투 종료 때 EconomyRules.Compute · Apply). + /// 배치 · 그림 · 시간 = 표 (코드 상수 없음 · C45) · 출정 스테이지만(컨텐츠 모드 · 서버 모드 상자 = 표시 없음). + /// + public class BattleLootFx : MonoBehaviour + { + public const string Table = "UI/Battle/battle_loot"; + + class Fly + { + public RectTransform rt; + public Vector2 from; + public Vector2 mid; + public float t; + public float delay; + public int gold; + public int chest; + } + + OutGameRoot root; + Canvas canvas; + RectTransform canvasRt; + RectTransform chip; + RectTransform goldSlot; + RectTransform chestSlot; + Text goldText; + Text chestText; + readonly Dictionary lay = new Dictionary(); + readonly Dictionary goldOf = new Dictionary(); + readonly Dictionary> chestOf = new Dictionary>(); + readonly List flies = new List(); + int topOrder; + + /// 이번 판 골드 총량 · 상자 수(전부 처치하면 표시칸이 닿는 값) · 지금 표시칸 값 · 켜짐(테스트 · 캡처). + public int GoldTotal { get; private set; } + public int ChestTotal { get; private set; } + public int GoldShown { get; private set; } + public int ChestsShown { get; private set; } + public bool Active { get; private set; } + public int FlyCount + { + get { return flies.Count; } + } + + public static BattleLootFx Create(OutGameRoot root, Canvas canvas) + { + var fx = canvas.gameObject.AddComponent(); + fx.root = root; + fx.canvas = canvas; + fx.canvasRt = (RectTransform)canvas.transform; + fx.Load(); + fx.Build(); + fx.Show(false); + Unit.Died += fx.OnDied; + return fx; + } + + void OnDestroy() + { + Unit.Died -= OnDied; + } + + // ---------- 표 ---------- + + void Load() + { + lay.Clear(); + var rows = UiText.Rows(Table); + if (rows == null) + { + Debug.LogWarning("[TKS] 전리품 연출 표 없음: " + Table); + return; + } + foreach (var r in rows) + { + string k, v; + if (r.TryGetValue("key", out k) && k.Length > 0 && r.TryGetValue("value", out v)) lay[k] = v.Split('|'); + } + } + + float N(string key, int i) + { + string[] a; + float v; + return lay.TryGetValue(key, out a) && i < a.Length && float.TryParse(a[i].Trim(), NumberStyles.Float, CultureInfo.InvariantCulture, out v) ? v : 0f; + } + + string S(string key, int i) + { + string[] a; + return lay.TryGetValue(key, out a) && i < a.Length ? a[i].Trim() : ""; + } + + // ---------- 표시칸 ---------- + + void Build() + { + float w = N("chip", 2), h = N("chip", 3); + chip = UiKit.Rect("LootChip", canvasRt, new Vector2(0f, 1f), new Vector2(0f, 1f), new Vector2(N("chip", 0), -N("chip", 1)), new Vector2(w, h)); + UiKit.Skin(chip, S("chip_art", 0), UiKit.Col(S("chip_art", 1), UiKit.Dark)); + float gi = N("gold", 1), ci = N("chest", 2), cx = N("chest", 4); + goldSlot = UiKit.Rect("GoldSlot", chip, new Vector2(0f, 0.5f), new Vector2(0.5f, 0.5f), new Vector2(h * 0.5f + 4f, 0f), new Vector2(gi, gi)); + UiKit.Icon(goldSlot, S("gold", 0), new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), Vector2.zero, gi); + goldText = UiKit.Title(UiKit.Label(chip, "0", (int)N("gold", 2), UiKit.White, TextAnchor.MiddleLeft, new Vector2(0f, 0.5f), new Vector2(0f, 0.5f), new Vector2(h * 0.5f + gi * 0.5f + 10f, 0f), new Vector2(w * cx - h, h)), true); + goldText.horizontalOverflow = HorizontalWrapMode.Overflow; + chestSlot = UiKit.Rect("ChestSlot", chip, new Vector2(cx, 0.5f), new Vector2(0.5f, 0.5f), Vector2.zero, new Vector2(ci, ci)); + UiKit.Icon(chestSlot, S("chest", 0), new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), Vector2.zero, ci); + chestText = UiKit.Title(UiKit.Label(chip, "0", (int)N("chest", 3), UiKit.White, TextAnchor.MiddleLeft, new Vector2(cx, 0.5f), new Vector2(0f, 0.5f), new Vector2(ci * 0.5f + 6f, 0f), new Vector2(w * (1f - cx), h)), true); + chestText.horizontalOverflow = HorizontalWrapMode.Overflow; + foreach (var g in chip.GetComponentsInChildren(true)) g.raycastTarget = false; // 전투 조작을 가로막지 않는다 + } + + void Show(bool on) + { + Active = on; + if (chip != null && chip.gameObject.activeSelf != on) chip.gameObject.SetActive(on); + } + + void SetTexts() + { + string g = GoldShown.ToString("N0", CultureInfo.InvariantCulture); + string c = ChestsShown.ToString(CultureInfo.InvariantCulture); + if (goldText != null && goldText.text != g) goldText.text = g; + if (chestText != null && chestText.text != c) chestText.text = c; + } + + void Clear() + { + foreach (var f in flies) + if (f.rt != null) Destroy(f.rt.gameObject); + flies.Clear(); + goldOf.Clear(); + chestOf.Clear(); + GoldTotal = ChestTotal = GoldShown = ChestsShown = 0; + SetTexts(); + } + + // ---------- 판 시작 · 끝 ---------- + + /// 전투 시작(BattleManager.StageStarted) — 출정 스테이지면 적마다 골드 몫 · 상자를 나눠 둔다. + public void Begin(BattleManager bm) + { + Clear(); + var s = root != null ? root.Session : null; + if (bm == null || bm.Mode != null || bm.Stage == null || s == null || s.Db.Gear == null || chip == null) + { + Show(false); + return; + } + var stage = bm.Stage; + var enemies = new List(); + foreach (var u in bm.Units) + if (u.Faction == Faction.Enemy && u.IsAlive) enemies.Add(u); + if (enemies.Count == 0) + { + Show(false); + return; + } + var st = s.Save.Stage(stage.chapter, stage.stage, false); + int gold, exp; + EconomyRules.StageGoldExp(s.Db, s.Save, stage, st == null || st.clears == 0, out gold, out exp); + var generals = new HashSet(); + foreach (var en in stage.enemies) + if (en.isGeneral && !en.isBoss) generals.Add(en.name); + + // 골드 = 처치 몫대로(반올림 차이는 마지막 적에 몰아 합계 = 총량) + float sum = 0f; + var w = new float[enemies.Count]; + for (int i = 0; i < enemies.Count; i++) + { + w[i] = EconomyRules.KillShare(s.Db, enemies[i].IsBoss, generals.Contains(enemies[i].DisplayName)); + sum += w[i]; + } + int given = 0; + for (int i = 0; i < enemies.Count; i++) + { + int g = i == enemies.Count - 1 ? Mathf.Max(0, gold - given) : Mathf.Min(gold - given, Mathf.RoundToInt(gold * w[i] / Mathf.Max(0.0001f, sum))); + given += g; + goldOf[enemies[i]] = g; + } + GoldTotal = gold; + + // 상자 = 출전 때 굴린 전리품 · 확정 상자 = 보스 · 나머지 = 상자 든 적 가중치로 겹치지 않게(적보다 많으면 다시 처음부터) + var loot = s.PendingLoot; + if (loot != null && loot.chapter == stage.chapter && loot.stage == stage.stage && loot.gearIds.Count > 0) + { + topOrder = 0; + foreach (var row in s.Db.Gear.chapterDrops) + foreach (var gr in row.grades) topOrder = Mathf.Max(topOrder, s.Db.Gear.OrderOf(gr)); + Unit boss = enemies[enemies.Count - 1]; + foreach (var u in enemies) + if (u.IsBoss) { boss = u; break; } + var rng = new System.Random(stage.chapter * 1000 + stage.stage * 31 + loot.gearIds.Count); + var pool = new List(); + for (int i = 0; i < loot.gearIds.Count; i++) + { + Unit who = boss; + if (i >= loot.fixedChests) + { + if (pool.Count == 0) pool.AddRange(enemies); + float total = 0f; + foreach (var u in pool) total += EconomyRules.CarrierWeight(s.Db, u.IsBoss, generals.Contains(u.DisplayName)); + float at = (float)(rng.NextDouble() * total); + who = pool[pool.Count - 1]; + foreach (var u in pool) + { + float cw = EconomyRules.CarrierWeight(s.Db, u.IsBoss, generals.Contains(u.DisplayName)); + if (at < cw) { who = u; break; } + at -= cw; + } + pool.Remove(who); + } + List list; + if (!chestOf.TryGetValue(who, out list)) chestOf[who] = list = new List(); + list.Add(loot.gearIds[i]); + } + ChestTotal = loot.gearIds.Count; + } + Show(true); + } + + /// 전투 단계 — 승리 = 아직 안 떨어진 몫(늦게 나온 적 · 연출 중)을 표시칸에 바로 더함 · 전투를 떠나면 숨김. + public void OnPhase(BattlePhase p) + { + if (!Active) return; + if (p == BattlePhase.StageClear) + { + foreach (var f in flies) + if (f.rt != null) Destroy(f.rt.gameObject); + flies.Clear(); + goldOf.Clear(); + chestOf.Clear(); + GoldShown = GoldTotal; + ChestsShown = ChestTotal; + SetTexts(); + } + else if (p == BattlePhase.Setup) + { + Clear(); + Show(false); + } + } + + // ---------- 처치 → 떨어짐 → 날아감 ---------- + + void OnDied(Unit u) + { + if (!Active || u == null || u.Faction != Faction.Enemy) return; + int gold; + bool known = goldOf.TryGetValue(u, out gold); + List chests; + chestOf.TryGetValue(u, out chests); + if (!known && chests == null) return; + goldOf.Remove(u); + chestOf.Remove(u); + Vector2 at = CanvasPoint(u.Position); + float size = N("fly", 0), reach = N("fly", 4); + if (known) Spawn(S("gold", 0), size, at, new Vector2(-reach * 0.6f, reach), 0f, gold, 0, Color.white); + if (known) Spawn(S("exp", 0), size, at, new Vector2(reach * 0.6f, reach * 0.8f), 0.05f, 0, 0, Color.white); + if (chests == null) return; + var gear = root.Session.Db.Gear; + for (int i = 0; i < chests.Count; i++) + { + var it = gear.Get(chests[i]); + bool top = it != null && topOrder > 0 && it.order >= topOrder; // 출정 최고 등급(전설) = 금빛 상자 + Spawn(S("chest", top ? 1 : 0), N("fly_chest", 0), at, new Vector2((i - (chests.Count - 1) * 0.5f) * reach * 0.9f, reach * 1.5f), 0.1f + 0.08f * i, 0, 1, Color.white); + } + } + + void Spawn(string icon, float size, Vector2 at, Vector2 offset, float delay, int gold, int chest, Color tint) + { + var rt = UiKit.Rect("Drop", canvasRt, new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), at, new Vector2(size, size)); + var img = UiKit.Icon(rt, icon, new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), Vector2.zero, size); + if (img != null) + { + img.raycastTarget = false; + img.color = tint; + } + rt.localScale = Vector3.zero; + flies.Add(new Fly { rt = rt, from = at, mid = at + offset, delay = delay, gold = gold, chest = chest }); + } + + /// 전장 좌표 → 이 캔버스 가운데 기준 좌표. + Vector2 CanvasPoint(Vector2 world) + { + var cam = canvas.worldCamera != null ? canvas.worldCamera : Camera.main; + Vector2 local; + RectTransformUtility.ScreenPointToLocalPointInRectangle(canvasRt, RectTransformUtility.WorldToScreenPoint(cam, world), cam, out local); + return local; + } + + Vector2 SlotPoint(RectTransform slot) + { + return canvasRt.InverseTransformPoint(slot.position); + } + + void Update() + { + if (flies.Count == 0) return; + float pop = Mathf.Max(0.01f, N("fly", 1)), hold = N("fly", 2), go = Mathf.Max(0.01f, N("fly", 3)); + float dt = Time.unscaledDeltaTime; + bool changed = false; + for (int i = flies.Count - 1; i >= 0; i--) + { + var f = flies[i]; + if (f.delay > 0f) + { + f.delay -= dt; + continue; + } + f.t += dt; + if (f.t < pop) + { + float k = f.t / pop; + f.rt.localScale = Vector3.one * Mathf.Lerp(0.2f, 1.15f, k); + f.rt.anchoredPosition = Vector2.Lerp(f.from, f.mid, 1f - (1f - k) * (1f - k)); + } + else if (f.t < pop + hold) + { + f.rt.localScale = Vector3.one; + f.rt.anchoredPosition = f.mid; + } + else + { + float k = Mathf.Clamp01((f.t - pop - hold) / go); + Vector2 to = SlotPoint(f.chest > 0 ? chestSlot : goldSlot); + f.rt.anchoredPosition = Vector2.Lerp(f.mid, to, k * k); + f.rt.localScale = Vector3.one * Mathf.Lerp(1f, 0.55f, k); + if (k < 1f) continue; + GoldShown = Mathf.Min(GoldTotal, GoldShown + f.gold); + ChestsShown = Mathf.Min(ChestTotal, ChestsShown + f.chest); + changed = true; + Destroy(f.rt.gameObject); + flies.RemoveAt(i); + } + } + if (changed) SetTexts(); + } + } +} diff --git a/Assets/Scripts/OutGame/UI/BattleLootFx.cs.meta b/Assets/Scripts/OutGame/UI/BattleLootFx.cs.meta new file mode 100644 index 00000000..31965a26 --- /dev/null +++ b/Assets/Scripts/OutGame/UI/BattleLootFx.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fad5edc23d0cfc94e863717f76d374e2 \ No newline at end of file diff --git a/Assets/Scripts/OutGame/UI/BattleResultPanel.cs b/Assets/Scripts/OutGame/UI/BattleResultPanel.cs index c249fe6f..d1264e40 100644 --- a/Assets/Scripts/OutGame/UI/BattleResultPanel.cs +++ b/Assets/Scripts/OutGame/UI/BattleResultPanel.cs @@ -14,7 +14,7 @@ namespace TKS.OutGame { // 패널 배치(UI px · 패널 왼쪽 위 기준) const float PW = 920f; - const float PH = 1080f; + const float PH = 1340f; // 전리품 줄(상자 장비 칸 + 꼬리표)만큼 키움(2026-11-23 스테이지 보상 드랍) const float Side = 60f; const float RowW = PW - Side * 2f; const float RowH = 64f; @@ -152,7 +152,8 @@ namespace TKS.OutGame UiKit.CondRow(body, "Cond1", Side, y + RowH + 8f, RowW, RowH, "cur_stamina", false, "군량 " + r.stamina + " 소모 · 별 없음", 30, false); } y = 566f; - UiKit.SubTitle(body, "보상", Side, y, RowW); + var rewardTitle = UiKit.SubTitle(body, "보상" + MultNote(r), Side, y, RowW); // 지역 · 보스 배율이 붙은 판 = 소제목에 「골드 ×1.5」(stage_drop) + rewardTitle.name = "RewardTitle"; y += 64f; if (!r.win) { @@ -162,22 +163,18 @@ namespace TKS.OutGame return; } Tiles(s, r, y); - Notes(s, r, y + Tile + 62f); + float sy = y + Tile + 62f; + Spoils(s, r, sy); + Notes(s, r, sy + 64f + Tile + 96f); } - /// 보상 타일 행(가운데 정렬 · 칸 아래 이름) — 골드 · 경험 · 보옥(있을 때) · 장비(등급 칸 · 있을 때) · 상자(있을 때). + /// 보상 타일 행(가운데 정렬 · 칸 아래 이름) — 골드 · 경험 · 보옥(있을 때) · 보물 상자(있을 때) · 장비는 아래 「전리품」 줄. void Tiles(OutGameSession s, StageReward r, float y) { var list = new List(); // 아이콘 · 수량 · 칸 색 접두 · 이름 list.Add(new[] { "cur_gold", r.gold.ToString("N0"), "gear_white_", r.first ? "골드" : "골드 ×" + s.Db.Economy.RepeatRewardMult }); list.Add(new[] { "cur_exp", r.exp.ToString("N0"), "gear_white_", "경험 · " + r.expTo.Count + "명" }); if (r.gem > 0) list.Add(new[] { "cur_gem", r.gem.ToString("N0"), "gear_blue_", "보옥" }); - if (!string.IsNullOrEmpty(r.gearId)) - { - var g = s.Db.Gear.Get(r.gearId); - string grade = g != null && !string.IsNullOrEmpty(g.grade) ? g.grade : "white"; - list.Add(new[] { g != null ? (g.icon.Length > 0 ? g.icon : "gear_" + g.kind) : "cur_gear", "", "gear_" + grade + "_", g != null ? g.nameKo : r.gearId }); - } if (!string.IsNullOrEmpty(r.chest) && s.Db.Chests != null && s.Db.Chests.Get(r.chest) != null) list.Add(new[] { "chest_" + r.chest, "", "gear_purple_", s.Db.Chests.Get(r.chest).nameKo }); float gap = list.Count >= 5 ? 22f : 30f; @@ -193,11 +190,92 @@ namespace TKS.OutGame } } - /// 「첫」 뱃지(Label_Badge01_Yellow · 칸 오른쪽 위). - public static void FirstBadge(Transform cell) + /// + /// 「전리품」 줄(2026-11-23 스테이지 보상 드랍 §2-3) — 상자 1개 = 장비 칸 1개(등급 색) · 보스 첫 클리어 확정 상자 = 「확정」 뱃지 · + /// 칸 아래 이름 + 꼬리표(「지정 장비」 = 이 스테이지 지정 2종 · 「필요 영웅」 = 내 영웅의 빈 승급 칸에 들어가는 장비) · 상자가 없던 판 = 한 줄 안내. + /// + void Spoils(OutGameSession s, StageReward r, float y) + { + var soft = UiKit.Col("text_soft", UiKit.InkSoft); + UiKit.SubTitle(body, "전리품", Side, y, RowW); + y += 64f; + if (r.gearIds.Count == 0) + { + var none = UiKit.Label(body, "이번에는 장비가 나오지 않았습니다", 30, soft, TextAnchor.MiddleCenter, new Vector2(0f, 1f), new Vector2(0f, 1f), new Vector2(Side, -y - 36f), new Vector2(RowW, 60f), false); + none.name = "NoSpoils"; + none.horizontalOverflow = HorizontalWrapMode.Overflow; + return; + } + var focus = s.Db.Gear.FocusFor(r.chapter, r.stage); + int n = Mathf.Min(r.gearIds.Count, MaxSpoilTiles); + float gap = n >= 5 ? 22f : 34f; + float x = (PW - n * Tile - (n - 1) * gap) * 0.5f; + for (int i = 0; i < n; i++) + { + var g = s.Db.Gear.Get(r.gearIds[i]); + string grade = g != null && !string.IsNullOrEmpty(g.grade) ? g.grade : "white"; + float tx = x + i * (Tile + gap); + var cell = UiKit.RewardTile(body, "Spoil" + i, tx, y, Tile, "gear_" + grade + "_", g != null ? (g.icon.Length > 0 ? g.icon : "gear_" + g.kind) : "cur_gear", "", true); + if (i < r.fixedChests) FirstBadge(cell, "확정", 20); + var nm = UiKit.Label(body, g != null ? g.nameKo : r.gearIds[i], 26, soft, TextAnchor.UpperCenter, new Vector2(0f, 1f), new Vector2(0.5f, 1f), new Vector2(tx + Tile * 0.5f, -y - Tile - 10f), new Vector2(Tile + gap, 36f), false); + nm.horizontalOverflow = HorizontalWrapMode.Overflow; + string tag = SpoilTag(s, r, g, focus); + if (tag.Length == 0) continue; + var tg = UiKit.Label(body, tag, 22, UiKit.Col("select_line", UiKit.Coin), TextAnchor.UpperCenter, new Vector2(0f, 1f), new Vector2(0.5f, 1f), new Vector2(tx + Tile * 0.5f, -y - Tile - 44f), new Vector2(Tile + gap, 30f), false); + tg.name = "SpoilTag" + i; + tg.horizontalOverflow = HorizontalWrapMode.Overflow; + } + } + + /// 이번 판에 곱해진 스테이지 배율 글(「 · 골드 ×1.5」 · 「 · 골드 ×2 · 경험 ×2」 · 배율 1 = 빈 글자). + static string MultNote(StageReward r) + { + if (!r.win) return ""; + var inv = System.Globalization.CultureInfo.InvariantCulture; + string t = ""; + if (r.goldMult != 1f) t += " · 골드 ×" + r.goldMult.ToString("0.##", inv); + if (r.expMult != 1f) t += " · 경험 ×" + r.expMult.ToString("0.##", inv); + return t; + } + + /// 전리품 줄에 그리는 장비 칸 수 상한(화면 폭) — 넘는 상자도 지급은 된다. + const int MaxSpoilTiles = 5; + + /// 장비 꼬리표 — 「필요 영웅 이름」(출전 영웅 먼저 · 다음 보유 영웅의 빈 승급 칸) 이 「지정 장비」 보다 먼저. + static string SpoilTag(OutGameSession s, StageReward r, GearDb.Item g, GearDb.StageDrop focus) + { + if (g == null) return ""; + string need = NeedHero(s, g.id, r.expTo); + if (need.Length > 0) return "필요 " + need; + if (focus != null && g.unitType == focus.unitType && System.Array.IndexOf(focus.kinds, g.kind) >= 0) return "지정 장비"; + return ""; + } + + /// 그 장비가 빈 승급 칸에 들어가는 영웅 이름(first = 먼저 볼 영웅 id · 없으면 빈 글자). + static string NeedHero(OutGameSession s, string gearId, List first) + { + string other = ""; + foreach (var hs in s.Save.heroes) + { + var h = s.Def(hs.id); + var list = h != null ? s.Db.Heroes.GearFor(h, hs.grade) : null; + if (list == null) continue; + for (int i = 0; i < list.Count && i < hs.gear.Count; i++) + { + if (list[i] != gearId || !string.IsNullOrEmpty(hs.gear[i])) continue; + if (first != null && first.Contains(hs.id)) return h.nameKo; + if (other.Length == 0) other = h.nameKo; + break; + } + } + return other; + } + + /// 뱃지(Label_Badge01_Yellow · 칸 오른쪽 위 · 글자 = 「첫」 · 「확정」). + public static void FirstBadge(Transform cell, string text = "첫", int size = 24) { var b = UiKit.Icon(cell, "badge_first", new Vector2(1f, 1f), new Vector2(0.5f, 0.5f), new Vector2(-8f, -6f), 58f); - if (b != null) UiKit.Title(UiKit.FillLabel(b.transform, "첫", 24, UiKit.White), true); + if (b != null) UiKit.Title(UiKit.FillLabel(b.transform, text, size, UiKit.White), true); } /// 타일 아래 = 레벨업 가능 칩(위 화살표 + 노란 글자 · 검수 결함 8) · 없으면 비움. @@ -285,12 +363,12 @@ namespace TKS.OutGame sb.Append("골드 +").Append(r.gold.ToString("N0")).Append(r.first ? " (첫 클리어)" : " (반복 ×" + e.RepeatRewardMult + ")"); sb.Append("\n경험 +").Append(r.exp).Append(" 출전 ").Append(r.expTo.Count).Append("명"); if (r.gem > 0) sb.Append("\n보옥 +").Append(r.gem).Append(r.boss ? " (첫 클리어 + 보스)" : " (첫 클리어)"); - if (!string.IsNullOrEmpty(r.gearId)) + for (int i = 0; i < r.gearIds.Count; i++) { - var g = s.Db.Gear.Get(r.gearId); - sb.Append("\n장비 ").Append(g != null ? g.nameKo + " (" + UiKit.GearGradeKo(g.grade) + ")" : r.gearId).Append(" 획득"); + var g = s.Db.Gear.Get(r.gearIds[i]); + sb.Append("\n장비 ").Append(g != null ? g.nameKo + " (" + UiKit.GearGradeKo(g.grade) + ")" : r.gearIds[i]).Append(i < r.fixedChests ? " 획득 (확정 상자)" : " 획득"); } - else sb.Append("\n장비 드랍 없음"); + if (r.gearIds.Count == 0) sb.Append("\n이번에는 장비가 나오지 않았습니다"); if (!string.IsNullOrEmpty(r.chest) && s.Db.Chests != null && s.Db.Chests.Get(r.chest) != null) sb.Append("\n").Append(s.Db.Chests.Get(r.chest).nameKo).Append(" 획득 (보물 > 상자)"); if (r.sweep) sb.Append("\n군량 ").Append(r.stamina).Append(" 소모 · 소탕(전투 없음)"); var ready = ReadyNames(s, r); diff --git a/Assets/Scripts/OutGame/UI/HeroScreens.cs b/Assets/Scripts/OutGame/UI/HeroScreens.cs index e16ebe16..363446cc 100644 --- a/Assets/Scripts/OutGame/UI/HeroScreens.cs +++ b/Assets/Scripts/OutGame/UI/HeroScreens.cs @@ -1066,7 +1066,7 @@ namespace TKS.OutGame else Root.Toast((g != null ? g.nameKo : need) + " 장착 · 1칸 = 1강(누적 " + hs.gearTotal + ")"); return; } - string from = g != null ? g.dropFromChapter + "장~ 스테이지 드랍" : ""; + string from = g != null ? (g.dropFromChapter > 0 ? g.dropFromChapter + "장~ 스테이지 드랍" : "출정에서 나오지 않음") : ""; // 0 = 출정 드랍 없음(불멸 · 신화 · 2026-11-23) var shop = new List(); foreach (var sg in S.Db.Economy.ShopGrades) shop.Add(UiKit.GearGradeKo(sg)); Root.Modal("필요 장비", (g != null ? g.nameKo + " (" + UiKit.GearGradeKo(g.grade) + " 등급)" : need) + "\n보유 0\n\n획득: " + from + " · 거래 > 상점(" + string.Join("/", shop.ToArray()) + ")" + diff --git a/Assets/Scripts/OutGame/UI/OutGameRoot.cs b/Assets/Scripts/OutGame/UI/OutGameRoot.cs index d33879cc..449b4d13 100644 --- a/Assets/Scripts/OutGame/UI/OutGameRoot.cs +++ b/Assets/Scripts/OutGame/UI/OutGameRoot.cs @@ -200,7 +200,15 @@ namespace TKS.OutGame // 전투 연결: 출전 = 편성 프리셋 · 결과 = 보상 b.LineupProvider = () => TestLineup.Apply(Session, Session.BuildLineup()); // 테스트 옵션(기준 편성 · 기준 스펙)이 꺼져 있으면 그대로 - b.StageStarted += () => resultDone = false; + b.StageStarted += () => + { + resultDone = false; + if (lootFx != null) lootFx.Begin(b); // 전리품 연출 = 적마다 골드 몫 · 상자 나눠 두기(2026-11-23) + }; + b.PhaseChanged += p => + { + if (lootFx != null) lootFx.OnPhase(p); + }; b.StageClearedProvider = (c, st) => // 보스 등장 연출 다시 출정 축약(2026-11-12 시나리오 이벤트 C2) { var rec = Session.Save.Stage(c, st, false); @@ -223,6 +231,7 @@ namespace TKS.OutGame wm.StarsOf = si => EconomyRules.StarsOf(Session.Save, b.Config.stages[si]); wm.CanSweep = si => EconomyRules.CanSweep(Session.Save, b.Config.stages[si]); wm.Sweep = DoSweep; + wm.NodeDecor = NodeBadge; wm.BackRequested = ShowLobby; } @@ -231,6 +240,11 @@ namespace TKS.OutGame // 위 덮개 루트 = 재화 바 · 팝업 · 토스트 · 끌기 유령 각각 중첩 · 전투 결과 루트 = 결과 패널(Event) mainCanvas = MakeCanvas("OutGameCanvas", 350, 0.45f, UiRate.Static); resultCanvas = MakeCanvas("BattleResultCanvas", 200, 0.8f, UiRate.Event); + // 전리품 연출 층(전투 HUD 100 위 · 결과 200 아래 · 매 프레임 움직임 = Frame · 누름을 가로막지 않게 레이캐스트 없음) + var lootCanvas = MakeCanvas("BattleLootCanvas", 150, 0.9f, UiRate.Frame); + var lootRay = lootCanvas.GetComponent(); + if (lootRay != null) lootRay.enabled = false; + lootFx = BattleLootFx.Create(this, lootCanvas); topCanvas = MakeCanvas("OutGameTopCanvas", 450, 0.4f, UiRate.Event); TopRoot = (RectTransform)topCanvas.transform; @@ -850,19 +864,18 @@ namespace TKS.OutGame var st = d.Stage(s.chapter, s.stage, false); bool first = st == null || st.clears == 0; int cost = EconomyRules.StageCost(db, d, s); - float baseGold = row.goldBase + s.stage * e.GoldPerStage; - int gold = Mathf.RoundToInt(baseGold * (first ? e.FirstClearGoldMult : e.RepeatRewardMult)); - int exp = Mathf.RoundToInt(row.expBase * (first ? 1f : e.RepeatRewardMult)); + int gold, exp; + EconomyRules.StageGoldExp(db, d, s, first, out gold, out exp); // 지역 배율(stage_drop) 포함 bool boss = s.kind == StageKind.Boss; var sb = new System.Text.StringBuilder(); sb.Append("군량 ").Append(cost).Append(" 소모 (보유 ").Append(d.stamina).Append("/").Append(EconomyRules.StaminaMax(db, d)).Append(")"); sb.Append("\n보상 골드 ").Append(gold).Append(first ? "(첫 클리어)" : "(반복 ×" + e.RepeatRewardMult + ")").Append(" · 경험 ").Append(exp).Append("(출전 전원)"); if (first) sb.Append(" · 보옥 ").Append(row.gemFirst + (boss ? row.gemBoss : 0)); - float drop = boss ? e.BossGearDropPct : row.gearDropPct; string topGrade; - var fk = EconomyRules.FocusKind(db, s.chapter, s.stage); - sb.Append("\n장비 드랍 ").Append(Mathf.RoundToInt(drop * 100f)).Append("% (").Append(EconomyRules.DropGradesText(db, s.chapter, out topGrade)).Append(" 등급") - .Append(fk != null ? " · " + fk.unitKo + " " + fk.nameKo + " 확률 ↑ · 다른 장비도 나옴" : "").Append(")"); + string regionLine = EconomyRules.RegionLine(db, d, s); + if (regionLine.Length > 0) sb.Append("\n").Append(regionLine); + sb.Append("\n장비 상자 ").Append(Mathf.RoundToInt(EconomyRules.ChestAnyPct(db, d, s) * 100f)).Append("% (").Append(EconomyRules.DropGradesText(db, s.chapter, out topGrade)).Append(" 등급") + .Append(FocusText(db, s)).Append(")"); int stars = st != null ? st.stars : 0; sb.Append("\n별 ").Append(UiKit.Stars(stars, 3)).Append(" 클리어 · 전원 생존 · ").Append(row.starTurns).Append("턴 이내"); if (stars >= 3) sb.Append("\n별 3 = 소탕 가능(군량만 · 전투 없음)"); @@ -873,6 +886,44 @@ namespace TKS.OutGame /// 월드맵 스테이지 팝업 본문(Fable 제안서 §4-3 · #1104 · 필드 안 860 폭) — 제목 · 장소 → 「적 구성」 병종 원 아이콘 ×n + 장수 칩 → /// 「보상」 타일(골드 · 경험 · 보옥(첫 클리어) · 장비 드랍 % · 첫 클리어 뱃지) → 「별 조건」 행 3(별 아이콘). /// + BattleLootFx lootFx; + + /// 전투 중 전리품 연출(테스트 · 캡처). + public BattleLootFx LootFx + { + get { return lootFx; } + } + + /// 월드맵 노드 지역 표식(2026-11-23 · 노드 오른쪽 위 = 짙은 원 + 골드 · 경험치 · 장비 아이콘). + void NodeBadge(int si, RectTransform node) + { + var sd = EconomyRules.StageDropOf(Session.Db, Battle.Config.stages[si]); + if (sd == null) return; + string icon = RegionIcon(sd.region); + if (icon.Length == 0) return; + var plate = UiKit.Rect("Region", node, new Vector2(1f, 1f), new Vector2(0.5f, 0.5f), new Vector2(-2f, -2f), new Vector2(62f, 62f)); + var bg = UiKit.Skin(plate, "circle_frame", UiKit.Col("chip_dark", UiKit.Dark)); + if (bg != null) bg.raycastTarget = false; + var ic = UiKit.Icon(plate, icon, new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), Vector2.zero, 46f); + if (ic != null) ic.raycastTarget = false; + } + + /// 지역 특화 아이콘 id(UI 테마) — 골드 · 경험치 · 장비. + public static string RegionIcon(string region) + { + return region == GearDb.RegionGold ? "cur_gold" : region == GearDb.RegionExp ? "cur_exp" : region == GearDb.RegionGear ? "cur_gear" : ""; + } + + /// 지정 장비 글(「 · 보병 환도 · 철갑 확률 ↑ · 다른 장비도 나옴」 · 지정 없으면 빈 글자). + static string FocusText(OutGameData db, BalanceConfig.StageDef s) + { + var ks = EconomyRules.FocusKinds(db, s.chapter, s.stage); + if (ks.Count == 0) return ""; + var names = new List(); + foreach (var k in ks) names.Add(k.nameKo); + return " · " + ks[0].unitKo + " " + string.Join(" · ", names.ToArray()) + " 확률 ↑ · 다른 장비도 나옴"; + } + void PopupFill(int si, bool locked, RectTransform field) { var s = Battle.Config.stages[si]; @@ -937,7 +988,9 @@ namespace TKS.OutGame } // 보상 타일 - UiKit.SubTitle(field, "보상", Pad, y, W - Pad * 2f); + string region = EconomyRules.RegionLine(db, d, s); // 지역 특화(골드 · 경험치 · 장비 · 2026-11-23) + var rewardTitle = UiKit.SubTitle(field, region.Length > 0 ? "보상 · " + region : "보상", Pad, y, W - Pad * 2f); + rewardTitle.name = "RewardTitle"; y += 56f; var st = d.Stage(s.chapter, s.stage, false); bool first = st == null || st.clears == 0; @@ -945,9 +998,8 @@ namespace TKS.OutGame string gearNote = ""; if (row != null) { - int gold = Mathf.RoundToInt((row.goldBase + s.stage * e.GoldPerStage) * (first ? e.FirstClearGoldMult : e.RepeatRewardMult)); - int exp = Mathf.RoundToInt(row.expBase * (first ? 1f : e.RepeatRewardMult)); - float drop = boss ? e.BossGearDropPct : row.gearDropPct; + int gold, exp; + EconomyRules.StageGoldExp(db, d, s, first, out gold, out exp); // 지역 배율(stage_drop) 포함 var tiles = new List(); // 아이콘 · 수량 · 칸 색 · 이름 · 첫 뱃지 tiles.Add(new[] { "cur_gold", gold.ToString("N0"), "gear_white_", first ? "골드" : "골드 ×" + e.RepeatRewardMult, first ? "1" : "" }); tiles.Add(new[] { "cur_exp", exp.ToString("N0"), "gear_white_", "경험 · 전원", "" }); @@ -955,11 +1007,15 @@ namespace TKS.OutGame // 장비 = 그 장 등급(gear_drop_chapters) · 지정 장비 아이콘 + 「확률 ↑」(2026-11-20 장비 등급 드랍 §2-2-4) string gg; string gradesText = EconomyRules.DropGradesText(db, s.chapter, out gg); - var focusKind = EconomyRules.FocusKind(db, s.chapter, s.stage); - tiles.Add(new[] { focusKind != null && focusKind.icon.Length > 0 ? focusKind.icon : "cur_gear", Mathf.RoundToInt(drop * 100f) + "%", "gear_" + gg + "_", - focusKind != null ? focusKind.nameKo + " 확률↑" : "장비 " + gradesText, "" }); - gearNote = focusKind != null ? "장비 " + gradesText + " · " + focusKind.unitKo + " " + focusKind.nameKo + " 확률 ↑(다른 장비도 나옴)" : ""; - const float Gap = 30f; + // 지정 장비 = 한 병종의 부위 2개(stage_drop l_kind) → 칸 2개 · 지정이 없으면 등급 칸 1개 + var focusKinds = EconomyRules.FocusKinds(db, s.chapter, s.stage); + int chestPct = Mathf.RoundToInt(EconomyRules.ChestAnyPct(db, d, s) * 100f); + foreach (var fk in focusKinds) tiles.Add(new[] { fk.icon.Length > 0 ? fk.icon : "cur_gear", "", "gear_" + gg + "_", fk.nameKo + " 확률↑", "" }); + if (focusKinds.Count == 0) tiles.Add(new[] { "cur_gear", chestPct + "%", "gear_" + gg + "_", "장비 " + gradesText, "" }); + // 한 줄에 들어가게 짧게(지정 장비 이름 · 병종은 위 칸이 보여 준다) + gearNote = "장비 상자 " + chestPct + "% · " + gradesText + " 등급" + (boss && first && db.Gear.rules.bossFirstChest > 0 ? " · 첫 클리어 확정 " + db.Gear.rules.bossFirstChest : "") + + (focusKinds.Count > 0 ? " · 다른 장비도 나옴" : ""); + float Gap = tiles.Count >= 5 ? 22f : 30f; float tx0 = (W - tiles.Count * Tile - (tiles.Count - 1) * Gap) * 0.5f; for (int i = 0; i < tiles.Count; i++) { diff --git a/Assets/Scripts/Runtime/Unit.cs b/Assets/Scripts/Runtime/Unit.cs index 78c0d79a..2da00123 100644 --- a/Assets/Scripts/Runtime/Unit.cs +++ b/Assets/Scripts/Runtime/Unit.cs @@ -139,6 +139,16 @@ namespace TKS if (!IsAlive) Die(); } + /// 유닛이 쓰러진 순간(실제 전투만 · 적 AI 가상 실행 제외) — 전리품 연출(OutGame/UI/BattleLootFx · 2026-11-23)이 구독한다. + public static event System.Action Died; + + /// Play 진입마다 구독 해제(도메인 리로드를 끈 설정에서 이전 세션 구독이 남지 않게). + [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)] + static void ResetStatics() + { + Died = null; + } + void Die() { Overwatch = false; @@ -146,6 +156,7 @@ namespace TKS Collider.enabled = false; if (View != null) View.PlayDeath(); Sound.Play(SoundKeys.BtDeath); // 소리: 사망(2026-11-20 사운드) + if (!Sim.Active && Died != null) Died(this); } public void SetOverwatch(bool on) diff --git a/Assets/Scripts/Runtime/WorldMapScreen.cs b/Assets/Scripts/Runtime/WorldMapScreen.cs index cfc353d2..ff7d5a68 100644 --- a/Assets/Scripts/Runtime/WorldMapScreen.cs +++ b/Assets/Scripts/Runtime/WorldMapScreen.cs @@ -289,6 +289,8 @@ namespace TKS /// 소탕(별 3 · 전투 없음) 가능 여부 · 실행. public Func CanSweep; public Action Sweep; + /// 노드 꾸미기(스테이지 인덱스 · 노드 그림) — 지역 특화 표식(골드 · 경험치 · 장비 · 2026-11-23) · null 이면 없음. + public Action NodeDecor; /// 「◀ 본영」(로비로) · null 이면 버튼 숨김. public Action BackRequested; /// 위 공통 재화 바 높이(UI px) — 챕터 띠·넘김 버튼을 그만큼 내린다. @@ -567,6 +569,7 @@ namespace TKS int stars = StarsOf != null ? StarsOf(nodeStages[i]) : int.MaxValue; // 아웃게임 세이브 별(#1093 §6) for (int k = 0; k + 1 < so.Length; k += 2) Piece(k / 2 < stars ? "star_on" : "star_off", slots[i] + new Vector2(so[k], so[k + 1]), false); } + if (NodeDecor != null) NodeDecor(nodeStages[i], img.rectTransform); if (st == NodeState.Open) { var co = boss ? data.flagBossCursor : data.flagCursor; diff --git a/Assets/Tests/PlayMode/GearTests.cs b/Assets/Tests/PlayMode/GearTests.cs index e62da2cf..16dffc40 100644 --- a/Assets/Tests/PlayMode/GearTests.cs +++ b/Assets/Tests/PlayMode/GearTests.cs @@ -182,11 +182,20 @@ namespace TKS.Tests if (row.weights[i] > 0f) Assert.IsTrue(got.Contains(row.grades[i]), row.chapter + "장 " + row.grades[i] + " 안 나옴"); } Assert.AreEqual(1, Db.Gear.DropFor(1).grades.Length, "1장 = 한 등급"); - Assert.AreEqual("white", Db.Gear.DropFor(1).grades[0], "1장 = 일반"); - Assert.AreEqual("green", Db.Gear.DropFor(3).grades[0], "3장 = 고급"); + Assert.AreEqual(Db.Gear.grades[0].grade, Db.Gear.DropFor(1).grades[0], "1장 = 가장 낮은 등급(일반)"); + // 출정에서 나오는 등급 = gear_items drop_from_chapter > 0 인 등급과 같다(불멸 · 신화 = 0 = 출정 드랍 없음 · 2026-11-23) + foreach (var g in Db.Gear.grades) + { + bool inDrop = false, inItems = false; + foreach (var row in Db.Gear.chapterDrops) + if (Array.IndexOf(row.grades, g.grade) >= 0) inDrop = true; + foreach (var it in Db.Gear.items) + if (it.grade == g.grade && it.dropFromChapter > 0) inItems = true; + Assert.AreEqual(inItems, inDrop, g.grade + " 등급 = 출정 드랍 여부(gear_drop_chapters ↔ gear_items.drop_from_chapter)"); + } } - /// 지정 장비 몫 = f_focus_pct + (100 − f_focus_pct) / 그 등급 장비 수(40 % → 약 42 %) · 다른 장비도 나온다(제한 아님). + /// 지정 장비 몫 = focus_pct + (100 − focus_pct) × 지정 수 / 그 등급 장비 수(40 % · 2종 → 약 44 %) · 지정 2종이 고르게 · 다른 장비도 나온다(제한 아님). [Test] public void Drop_FocusShare_NotExclusive() { @@ -194,23 +203,180 @@ namespace TKS.Tests foreach (var s in Db.Gear.stageDrops) if (Db.Gear.DropFor(s.chapter).grades.Length == 1) { f = s; break; } Assert.IsNotNull(f, "한 등급 장의 지정 스테이지"); + Assert.GreaterOrEqual(f.kinds.Length, 1); string grade = Db.Gear.DropFor(f.chapter).grades[0]; int perGrade = 0; foreach (var it in Db.Gear.items) if (it.grade == grade) perGrade++; const int N = 20000; var c = Roll(f.chapter, f.stage, N, 77); - var focus = Db.Gear.Find(f.unitType, f.kind, grade); - int hit; - c.TryGetValue(focus.id, out hit); - float want = f.focusPct / 100f + (1f - f.focusPct / 100f) / perGrade; - Assert.AreEqual(want, hit / (float)N, 0.02f, "지정 장비 몫 ≈ " + (want * 100f).ToString("0.#") + " %"); + float pct = Db.Gear.rules.focusPct / 100f; + float wantAll = pct + (1f - pct) * f.kinds.Length / perGrade; + int hitAll = 0; + foreach (var kind in f.kinds) + { + int hit; + c.TryGetValue(Db.Gear.Find(f.unitType, kind, grade).id, out hit); + hitAll += hit; + Assert.AreEqual(wantAll / f.kinds.Length, hit / (float)N, 0.02f, kind + " = 지정 장비끼리 같은 몫"); + } + Assert.AreEqual(wantAll, hitAll / (float)N, 0.02f, "지정 장비 몫 ≈ " + (wantAll * 100f).ToString("0.#") + " %"); Assert.GreaterOrEqual(c.Count, perGrade - 2, "다른 장비도 나옴(그 등급 " + perGrade + "종)"); // 지정 없는 스테이지 = 그 등급 균등 var none = Roll(f.chapter, 999, 6000, 5); int max = 0; foreach (var kv in none) max = Mathf.Max(max, kv.Value); - Assert.Less(max / 6000f, want * 0.5f, "지정 없으면 한 장비로 쏠리지 않음"); + Assert.Less(max / 6000f, wantAll / f.kinds.Length * 0.5f, "지정 없으면 한 장비로 쏠리지 않음"); + } + + static BalanceConfig Cfg + { + get { return Resources.Load("BalanceConfig"); } + } + + static BalanceConfig.StageDef StageOf(int chapter, int stage) + { + foreach (var s in Cfg.stages) + if (s.chapter == chapter && s.stage == stage) return s; + return null; + } + + /// stage_drop = 출정 스테이지와 1:1 · 지역 특화 3종 · 지정 부위 = 그 병종의 부위 · 보스 = 장비 지역. + [Test] + public void StageDrop_MatchesStages_RegionsAndFocus() + { + Assert.AreEqual(Cfg.stages.Length, Db.Gear.stageDrops.Count, "stage_drop 줄 수 = 스테이지 수"); + foreach (var s in Cfg.stages) + { + var sd = Db.Gear.FocusFor(s.chapter, s.stage); + Assert.IsNotNull(sd, s.chapter + "-" + s.stage + " stage_drop 줄"); + Assert.IsTrue(sd.region == GearDb.RegionGold || sd.region == GearDb.RegionExp || sd.region == GearDb.RegionGear, sd.region); + Assert.IsTrue(EconomyRules.RegionKo(sd.region).Length > 0); + foreach (var kind in sd.kinds) + { + bool found = false; + foreach (var k in Db.Gear.kinds) + if (k.unitType == sd.unitType && k.kind == kind) found = true; + Assert.IsTrue(found, s.chapter + "-" + s.stage + " " + sd.unitType + " · " + kind); + } + Assert.AreEqual(sd.kinds.Length, EconomyRules.FocusKinds(Db, s.chapter, s.stage).Count); + if (s.kind == StageKind.Boss) Assert.AreEqual(GearDb.RegionGear, sd.region, "보스 = 장비 지역"); + } + } + + /// 상자 수 = 많이 돌린 평균이 상자 기대 개수(gear_drop_pct × f_gear_mult)와 맞고 · 한 판 최대 chest_rolls 개 · 등급은 그 장 표 안. + [Test] + public void Loot_ChestCount_MatchesExpect() + { + var d = HeroRules.NewSave(Db, 5, T0); + var ru = Db.Gear.rules; + foreach (var s in new[] { Cfg.stages[0], FirstOf(StageKind.Elite), FirstOf(StageKind.Boss) }) + { + Assert.IsNotNull(s); + float want = EconomyRules.ChestExpect(Db, d, s); + Assert.AreEqual(Db.Rewards.For(s.chapter).gearDropPct * Db.Gear.FocusFor(s.chapter, s.stage).gearMult, want, 1e-4f, "기대 개수 = 장 기준값 × 스테이지 배율"); + var rng = new System.Random(s.stage); + const int N = 20000; + long sum = 0; + int any = 0; + for (int i = 0; i < N; i++) + { + var loot = EconomyRules.RollLoot(Db, d, s, true, rng); // 소탕 = 확정 상자 없음 + Assert.LessOrEqual(loot.gearIds.Count, ru.chestRolls, "한 판 최대 = 굴림 수"); + Assert.AreEqual(0, loot.fixedChests); + sum += loot.gearIds.Count; + if (loot.gearIds.Count > 0) any++; + foreach (var id in loot.gearIds) Assert.Contains(Db.Gear.Get(id).grade, Db.Gear.DropFor(s.chapter).grades); + } + Assert.AreEqual(Mathf.Min(want, ru.chestRolls), sum / (float)N, 0.03f, s.chapter + "-" + s.stage + " 상자 평균"); + Assert.AreEqual(EconomyRules.ChestAnyPct(Db, d, s), any / (float)N, 0.02f, "상자 1개 이상 확률"); + } + } + + static BalanceConfig.StageDef FirstOf(StageKind kind) + { + foreach (var s in Cfg.stages) + if (s.kind == kind) return s; + return null; + } + + /// 보스 첫 클리어 = 확정 상자 boss_first_chest 개(그 장 가중치가 가장 큰 등급 · 지정 장비) · 미리 굴린 전리품이 그대로 지급 · 반복 · 소탕 = 확정 없음. + [Test] + public void Loot_BossFirstClear_FixedChest_AndPreRollIsPaid() + { + var d = HeroRules.NewSave(Db, 5, T0); + var boss = FirstOf(StageKind.Boss); + var sd = Db.Gear.FocusFor(boss.chapter, boss.stage); + var row = Db.Gear.DropFor(boss.chapter); + string top = row.grades[0]; + float best = -1f; + for (int i = 0; i < row.grades.Length; i++) + if (row.weights[i] > best) { best = row.weights[i]; top = row.grades[i]; } + var rng = new System.Random(3); + var loot = EconomyRules.RollLoot(Db, d, boss, false, rng); + Assert.AreEqual(Db.Gear.rules.bossFirstChest, loot.fixedChests, "확정 상자 수"); + for (int i = 0; i < loot.fixedChests; i++) + { + var g = Db.Gear.Get(loot.gearIds[i]); + Assert.AreEqual(top, g.grade, "확정 상자 = 그 장 주 등급"); + Assert.AreEqual(sd.unitType, g.unitType, "확정 상자 = 지정 병종"); + Assert.GreaterOrEqual(Array.IndexOf(sd.kinds, g.kind), 0, "확정 상자 = 지정 부위"); + } + var r = EconomyRules.Compute(Db, d, boss, true, true, 1, false, rng, loot); + CollectionAssert.AreEqual(loot.gearIds, r.gearIds, "출전 때 굴린 전리품 = 지급"); + Assert.AreEqual(loot.fixedChests, r.fixedChests); + var kinds = new HashSet(r.gearIds); + int before = 0; + foreach (var id in kinds) before += d.inv.GearCount(id); + EconomyRules.Apply(d, r, new List()); + int after = 0; + foreach (var id in kinds) after += d.inv.GearCount(id); + Assert.AreEqual(r.gearIds.Count, after - before, "상자마다 장비 1개"); + Assert.AreEqual(0, EconomyRules.RollLoot(Db, d, boss, false, rng).fixedChests, "두 번째부터 확정 없음"); + Assert.AreEqual(0, EconomyRules.Compute(Db, d, boss, false, false, 1, false, rng, loot).gearIds.Count, "패배 = 전리품 없음"); + // 다른 스테이지 전리품은 쓰지 않는다(다시 굴림) + var other = EconomyRules.Compute(Db, d, Cfg.stages[0], true, true, 1, false, new System.Random(1), loot); + Assert.AreEqual(0, other.fixedChests); + } + + /// 지역 배율 = 골드 지역 f_gold_mult · 경험치 지역 f_exp_mult 이 총량에 곱해진다 · 보스 = 표 배율 그대로. + [Test] + public void Reward_RegionMultipliers() + { + var e = Db.Economy; + var d = HeroRules.NewSave(Db, 5, T0); + int seen = 0; + foreach (var s in Cfg.stages) + { + var sd = Db.Gear.FocusFor(s.chapter, s.stage); + if (sd.goldMult == 1f && sd.expMult == 1f) continue; + var row = Db.Rewards.For(s.chapter); + var r = EconomyRules.Compute(Db, d, s, true, true, 1, true, new System.Random(1)); + Assert.AreEqual(Mathf.RoundToInt((row.goldBase + s.stage * e.GoldPerStage) * e.RepeatRewardMult * sd.goldMult), r.gold, s.chapter + "-" + s.stage + " 골드"); + Assert.AreEqual(Mathf.RoundToInt(row.expBase * e.RepeatRewardMult * sd.expMult), r.exp, s.chapter + "-" + s.stage + " 경험"); + Assert.AreEqual(sd.goldMult, r.goldMult); + Assert.AreEqual(sd.region, r.region); + if (++seen >= 12) break; + } + Assert.Greater(seen, 0, "배율이 붙은 스테이지가 있다"); + } + + /// 군량 최대 = 기본 + 내정 「군량 상한」 · stamina_max_limit 를 넘지 않는다 · 입장 군량 = 일반 stage_cost · 보스 boss_cost. + [Test] + public void Stamina_MaxLimit_AndCosts() + { + var e = Db.Economy; + var d = HeroRules.NewSave(Db, 5, T0); + Assert.AreEqual(e.StaminaMax, EconomyRules.StaminaMax(Db, d), "내정 0 = 기본 최대"); + Assert.GreaterOrEqual(e.StaminaMaxLimit, e.StaminaMax, "상한 ≥ 기본"); + DevTree.Node cap = null; + foreach (var n in Db.Dev.nodes) + if (n.effectKey == DevRules.FoodCap) cap = n; + Assert.IsNotNull(cap, "내정 군량 상한 노드"); + Assert.AreEqual(e.StaminaMaxLimit, e.StaminaMax + Mathf.RoundToInt(cap.pctPerLv * cap.lvMax), "다 올리면 상한(표 값)"); + Assert.AreEqual(e.StageCost, EconomyRules.StageCost(Db, FirstOf(StageKind.Normal))); + Assert.AreEqual(e.StageCost, EconomyRules.StageCost(Db, FirstOf(StageKind.Elite))); + Assert.AreEqual(e.BossCost, EconomyRules.StageCost(Db, FirstOf(StageKind.Boss))); } /// 옛 장비 id(gear_sword_white 등 · 병종 장비 전 개발 저장분) = 읽을 때 가방 · 장착 · 상점에서 정리. diff --git a/Assets/Tests/PlayMode/LootFxTests.cs b/Assets/Tests/PlayMode/LootFxTests.cs new file mode 100644 index 00000000..4941d37d --- /dev/null +++ b/Assets/Tests/PlayMode/LootFxTests.cs @@ -0,0 +1,156 @@ +using System.Collections; +using System.IO; +using NUnit.Framework; +using TKS.OutGame; +using UnityEngine; +using UnityEngine.SceneManagement; +using UnityEngine.TestTools; + +namespace TKS.Tests +{ + /// + /// 전투 중 전리품 연출 · 결과 창 전리품 줄(2026-11-23 스테이지 보상 드랍 요청서 §2-2 · §2-3) — 적 처치 → 금화 · 상자가 표시칸으로 날아가 합계가 오르고, + /// 전부 처치하면 표시칸 = 그 판 골드 총량 · 상자 수 = 결과 보상. 캡처(Explicit) = Logs/loot_capture/(월드맵 표식 · 스테이지 정보 · 전투 드랍 · 결과 창). + /// 기대값은 표 · 규칙 함수에서 읽는다(C45). + /// + public class LootFxTests + { + OutGameRoot og; + BattleManager bm; + WorldMapScreen wm; + bool unlockWas; + + [SetUp] + public void SetUp() + { + unlockWas = TestOptions.UnlockAllStages; + } + + [TearDown] + public void TearDown() + { + TestOptions.UnlockAllStages = unlockWas; // 이 PC 의 플레이 테스트 옵션을 그대로 돌려놓는다 + SaveStore.UseMemory(false); + } + + IEnumerator Boot() + { + WorldProgress.Reset(); + SaveStore.UseMemory(true); + SceneManager.LoadScene("Battle"); + yield return null; + yield return null; + og = OutGameRoot.Instance; + bm = BattleManager.Instance; + wm = WorldMapScreen.Instance; + Assert.IsNotNull(og); + } + + static IEnumerator Wait(float sec) + { + float t0 = Time.realtimeSinceStartup; + while (Time.realtimeSinceStartup - t0 < sec) yield return null; + } + + [UnityTest] + public IEnumerator Loot_KillDrops_ChipTotals_ResultSpoils() + { + yield return Boot(); + var s = og.Session; + og.OpenWorldMap(); + yield return null; + s.Save.stamina = EconomyRules.StaminaMax(s.Db, s.Save); + wm.EnterStage(0, 0); + yield return null; + var fx = og.LootFx; + Assert.IsNotNull(fx, "전리품 연출"); + Assert.IsTrue(fx.Active, "출정 스테이지 = 표시칸 켜짐"); + int gold, exp; + EconomyRules.StageGoldExp(s.Db, s.Save, bm.Stage, true, out gold, out exp); + Assert.AreEqual(gold, fx.GoldTotal, "표시칸 총량 = 그 판 골드(첫 클리어 · 지역 배율)"); + Assert.AreEqual(s.PendingLoot != null ? s.PendingLoot.gearIds.Count : 0, fx.ChestTotal, "상자 수 = 출전 때 굴린 전리품"); + Assert.AreEqual(0, fx.GoldShown); + + // 1기 처치 → 금화가 튀어나와 표시칸으로 + Unit first = null; + foreach (var u in bm.AliveUnits(Faction.Enemy)) { first = u; break; } + first.TakeDamage(first.Hp); + Assert.Greater(fx.FlyCount, 0, "처치 = 떨어지는 그림"); + yield return Wait(2f); + Assert.AreEqual(0, fx.FlyCount, "날아가 사라짐"); + Assert.Greater(fx.GoldShown, 0, "표시칸 골드가 오름"); + Assert.Less(fx.GoldShown, fx.GoldTotal, "1기 몫 = 총량의 일부"); + + // 전부 처치 → 표시칸 = 총량 = 결과 보상 + foreach (var u in bm.AliveUnits(Faction.Enemy)) u.TakeDamage(u.Hp); + bm.CheckBattleEnd(); + yield return null; + Assert.AreEqual(BattlePhase.StageClear, bm.Phase); + var r = s.LastReward; + Assert.IsNotNull(r); + Assert.AreEqual(r.gold, fx.GoldShown, "표시칸 골드 = 결과 골드"); + Assert.AreEqual(r.gearIds.Count, fx.ChestsShown, "표시칸 상자 = 결과 전리품 수"); + Assert.IsNull(s.PendingLoot, "미리 굴린 전리품은 지급하고 비움"); + Assert.IsTrue(og.ResultVisible); + bm.ContinueAfterResult(); + yield return null; + Assert.IsFalse(fx.Active, "전투를 떠나면 표시칸 숨김"); + } + + /// 실행: test run --mode playmode --filter Capture_Loot --include-explicit --async-tests → Logs/loot_capture/*.png + [UnityTest, Explicit] + public IEnumerator Capture_Loot() + { + LogAssert.ignoreFailingMessages = true; + TestOptions.UnlockAllStages = true; // 보스 스테이지(첫 클리어 확정 상자)에 바로 들어가기 위해 · TearDown 에서 되돌림 + yield return Boot(); + string dir = Path.Combine(Path.GetDirectoryName(Application.dataPath), "Logs/loot_capture"); + Directory.CreateDirectory(dir); + og.OpenWorldMap(); + yield return Wait(0.6f); + yield return Shot(dir, "01_worldmap"); + int bossNode = 0; + for (int n = 0; n < 30; n++) + { + int si = wm.StageIndexOf(0, n); + if (si < 0) break; + if (bm.Config.stages[si].kind == StageKind.Boss) { bossNode = n; break; } + } + wm.OpenPopup(bossNode); + yield return Wait(0.4f); + yield return Shot(dir, "02_stage_popup"); + wm.ConfirmPopup(); + float t0 = Time.realtimeSinceStartup; // 보스 등장 연출이 끝나 아군 턴이 될 때까지 + while (bm.Phase != BattlePhase.PlayerTurn && Time.realtimeSinceStartup - t0 < 30f) yield return null; + yield return Wait(1.0f); + var fx = og.LootFx; + Unit boss = null; + int killed = 0; + foreach (var u in bm.AliveUnits(Faction.Enemy)) + { + if (u.IsBoss) { boss = u; continue; } + if (killed++ < 2) u.TakeDamage(u.Hp); + } + if (boss != null) boss.TakeDamage(boss.Hp); + yield return Wait(0.42f); + yield return Shot(dir, "03_battle_drop"); + yield return Wait(1.6f); + yield return Shot(dir, "04_battle_chip"); + foreach (var u in bm.AliveUnits(Faction.Enemy)) u.TakeDamage(u.Hp); + bm.CheckBattleEnd(); + yield return Wait(1.6f); + yield return Shot(dir, "05_result"); + Debug.Log("[TKS] loot capture gold " + (fx != null ? fx.GoldShown + "/" + fx.GoldTotal : "-") + " chests " + (fx != null ? fx.ChestsShown + "/" + fx.ChestTotal : "-")); + } + + static IEnumerator Shot(string dir, string name) + { + string path = Path.Combine(dir, name + ".png"); + if (File.Exists(path)) File.Delete(path); + ScreenCapture.CaptureScreenshot(path); + float t0 = Time.realtimeSinceStartup; + while (!File.Exists(path) && Time.realtimeSinceStartup - t0 < 5f) yield return null; + yield return null; + } + } +} diff --git a/Assets/Tests/PlayMode/LootFxTests.cs.meta b/Assets/Tests/PlayMode/LootFxTests.cs.meta new file mode 100644 index 00000000..f1b02407 --- /dev/null +++ b/Assets/Tests/PlayMode/LootFxTests.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c31e54ee4926f284da9e2b4a12325607 \ No newline at end of file diff --git a/Assets/Tests/PlayMode/OutGameTests.cs b/Assets/Tests/PlayMode/OutGameTests.cs index 817a599d..c7ffed66 100644 --- a/Assets/Tests/PlayMode/OutGameTests.cs +++ b/Assets/Tests/PlayMode/OutGameTests.cs @@ -359,18 +359,20 @@ namespace TKS.Tests var rng = new System.Random(5); var s = FirstStage(StageKind.Normal); var row = Db.Rewards.For(s.chapter); - float baseGold = row.goldBase + s.stage * e.GoldPerStage; + var sd = Db.Gear.FocusFor(s.chapter, s.stage); // 지역 배율(stage_drop · 2026-11-23) + float baseGold = (row.goldBase + s.stage * e.GoldPerStage) * sd.goldMult; + float baseExp = row.expBase * sd.expMult; var r = EconomyRules.Compute(Db, d, s, true, true, 1, false, rng); Assert.IsTrue(r.first); Assert.AreEqual(Mathf.RoundToInt(baseGold * e.FirstClearGoldMult), r.gold); - Assert.AreEqual(row.expBase, r.exp); + Assert.AreEqual(Mathf.RoundToInt(baseExp), r.exp); Assert.AreEqual(row.gemFirst, r.gem); Assert.AreEqual(3, r.stars); int gold = d.gold; var ids = new List(e.StartHeroes); EconomyRules.Apply(d, r, ids); Assert.AreEqual(gold + r.gold, d.gold); - Assert.AreEqual(row.expBase, d.Hero(ids[0]).exp, "출전 전원 경험"); + Assert.AreEqual(r.exp, d.Hero(ids[0]).exp, "출전 전원 경험"); Assert.AreEqual(3, EconomyRules.StarsOf(d, s)); Assert.AreEqual(1, d.Stage(s.chapter, s.stage, false).clears); Assert.IsTrue(EconomyRules.CanSweep(d, s)); @@ -378,7 +380,7 @@ namespace TKS.Tests var rep = EconomyRules.Compute(Db, d, s, true, false, row.starTurns + 1, false, rng); Assert.IsFalse(rep.first); Assert.AreEqual(Mathf.RoundToInt(baseGold * e.RepeatRewardMult), rep.gold, "반복 ×0.5"); - Assert.AreEqual(Mathf.RoundToInt(row.expBase * e.RepeatRewardMult), rep.exp); + Assert.AreEqual(Mathf.RoundToInt(baseExp * e.RepeatRewardMult), rep.exp); Assert.AreEqual(0, rep.gem); Assert.AreEqual(1, rep.stars, "생존·턴 조건 미달 = 별 1"); EconomyRules.Apply(d, rep, ids); @@ -392,12 +394,14 @@ namespace TKS.Tests var boss = FirstStage(StageKind.Boss); var br = EconomyRules.Compute(Db, d, boss, true, true, 1, false, rng); Assert.AreEqual(row.gemFirst + row.gemBoss, br.gem, "보스 첫 클리어 보옥"); - Assert.IsNotNull(br.gearId, "보스 장비 확정"); + Assert.IsNotNull(br.gearId, "보스 첫 클리어 확정 상자"); + Assert.AreEqual(Db.Gear.rules.bossFirstChest, br.fixedChests); Assert.Contains(Db.Gear.Get(br.gearId).grade, Db.Gear.DropFor(boss.chapter).grades, "등급 = gear_drop_chapters(2026-11-20 · gear_grade_max 대신)"); var lose = EconomyRules.Compute(Db, d, boss, false, false, 3, false, rng); Assert.AreEqual(0, lose.gold + lose.exp + lose.gem + lose.stars); Assert.IsNull(lose.gearId); + Assert.AreEqual(0, lose.gearIds.Count); } [Test] diff --git a/CLAUDE.md b/CLAUDE.md index 4943c150..fac02ec0 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -83,6 +83,7 @@ Unity.exe -projectPath -executeMethod TKS.EditorTools.ProjectSetup.AutoPl - **사거리 표시(PD 2026-11-04)**: 유닛 탭(아군·적군) → `RangeIndicator`(슬링샷 최대 거리 = 얇은 반투명 원 · 궁병 = 슬링샷 범위 ~ ×(1+비율) 채워진 붉은 도넛 · 범위 안 적이 없으면 회색). - **임무(미션) 메뉴(PD 2026-11-20 컨펌 · 요청서 조직 레포 `공유/기획팀_산출물/삼국지슬링샷/개발요청_임무메뉴_2026-11-20.md` · 목업 `미션_img/`)** — 표 5장 = `Assets/Data/OutGame/{mission_config,mission_list,mission_point_rewards,achievements,mission_counters}.csv`(기획 `tables/` 사본) → 메뉴 `TKS/Import Missions`(`DataImporter.ImportMissions` = MissionDb 하나만 · 오류 시 불변 · 전체 임포트에도 포함) → `Resources/OutGame/MissionDb.asset`(검증 `OutGameTables.Mission.cs`: Main 포인트 합 = 상한 · 대체 임무 = 같은 칸 Fallback · State 카운터 = `MissionRules.StateKeys` 만). 규칙 = `OutGame/Mission/MissionRules`(세이브 `SaveData.mission` · 기기 우편 `SaveData.mail` · 기간 = 기기 현지 시각 + `daily_reset`(cfg:common.daily_reset_hour) · `weekly_reset` 요일;시 · 초기화 = 지난 하루를 먼저 닫음(자동 더함 → 상한이면 daily_full → 닿은 구간 = 우편) · 칸 = 초기화 순간 잠김 판정(대체 임무) · 업적 = 받은 단계 수 · 연쇄 · 반복 단계). 카운터 = `MissionRules.Count`(세션 `CountMission` · 전투 이벤트 `OutGameRoot.OnBattleEvent` → `CountEvent`(s_key 또는 s_code_now 가 같은 것 · 보물 누적은 `BattleEvents.Keys` 만) · 전투 끝 `OutGameRoot.OnPhase` → `BattleEnd`(출정 승리 · 연무장 종류별 · 처치 = 쓰러진 적(구출 대상 · 연병장 허수아비 · 연습 판 제외)) · 치명타 `Combat.DamageCore` · 연쇄 `BattleManager` · 골드/보옥 사용 = `Commit` 차이 · 화면 성공 뒤 1줄(성장 · 수확 · 등용 · 상자 · 보물 강화 · 소탕 · 군량)). 화면 = `MissionScreen`(탭 3 · 포인트 판 · 줄 · 팝업 · 시계 칩 = 자기 Event 캔버스) · `MailBox`(기기 우편함 · 서버 모드 = 기존 `Net/MailPanel`) · 로비 「임무」 = unlock_stage 클리어 뒤 · **기기 세이브 모드만**(서버 임무 API 없음) · 빨간 점 = 세 탭 합. 글자 = `Resources/UI/Mission/mission_text.csv`(UiText) · 아이콘·색·바로가기 = `mission_screen.csv`. 테스트 = `Tests/PlayMode/MissionTests`(8 + 캡처 `Capture_MissionScreens` Explicit → `Logs/mission_capture/` 7장 = 목업 이름과 같음). **화풍 재디자인(PD 2026-11-20 「미션 메뉴에 적합한 UI 배경 · UI 디자인을 Fable 제안 받아 반영」 · 초안 `C:/ArtRnD/sprite_gen/ui_illust/samguk/mission_ui/design/디자인기획_초안_r1.md` · 컨셉 = 본영 마당의 방(榜) 게시판 · 레시피 R37)** = 배경 `Resources/UI/Mission/bg_mission`(군막 앞 마당 1080×1920 · 화면 비가 달라도 덮음 · 어둠 한 겹 color.dim · Static SceneArt) · 포인트 판 = 붉은 현판(이벤트 parts/sign) + 금 테(frame_line) + 금 테 시계 알약 + 네모 판 없는 구간 상자(접지 그림자 · 받을 것 = glow_circle 깜빡임 · 받음 = UiGray 탈색) · 나무 게시판(card 테 + soft 안쪽 + 못 · Static BoardArt · 탭 바꿀 때만) · 줄 = 크림 card + 왼쪽 금 띠(금 card 위에 크림 몸 card 를 덮어 경계 = 외곽선 · 곧은 도형 금지) · 받은 줄 = 덮개 한 장 color.row_dim(CanvasGroup α 는 판마다 곱해져 줄무늬) · 새 스티커 아이콘 8 `Samguk/mission/ic_ms_*`(아틀라스 UI_Mission) · 팝업 보상 칸 = 등급 틀 스킨 frame_<색>(reward_frame.*) · 업적 팝업 = 크림 줄 + 금 합계 판 · 우편 칸 = 크림 · 버튼 · 탭 = 팩 그대로. 좌표 · 색 · 그림 = 전부 mission_screen.csv(V() = `a|b|c` 숫자 · Res() = Resources 그림). **2차(PD 2026-11-20)** = 포인트 원 배지 · 줄 보상 = 임무 포인트 아이콘 `Samguk/mission/ic_ms_point`(로비 임무 상아 M 별 · 표 point_icon · 줄은 어두운 알약 안 별 + 수량 = 크림 줄에 묻히지 않게) · 업적 보상 · 업적 팝업 줄 = `MissionScreen.RewardCell`(등급 틀 + 재화 + 수량 칩 · 팝업 RewardRow 와 공용) · **우편 팝업 = 포상 조서 두루마리**(`MailBox` · Fable `mission_ui/design/디자인기획_r2.md` §A · 판 = 테마 아이콘 `mail_scroll`(9 분할 L126 B135 R126 T146 · 가운데 단색이라 원본은 가운데를 잘라낸 308×337) · 제목 띠 투명 → 축 위 글자 · 봉랍 서신 장식 + 2통부터 통 수 배지 · 통 블록(제목 38 · 붉은 괘선 · 본문 30 · 보상 받침 + 등급 틀 칸 112) · **버튼 = 「받기」 하나**(`ModalCustom` 버튼 0개 + 판 위 `MailClaim` · 보이는 우편 전부 · 전부 받으면 닫힘 mail_close_after) · 본영 인장(mail_seal) · 닫기 X = 틀 그대로 윗 축 위 · 3통부터 종이 안 스크롤 · 값 = mission_screen mail_*) · **3차(PD 2026-11-21)**: 포인트 판 = 붉은 칠 띠(card + UiGradient points_top/bottom) · 왼쪽 M 별(point_big) + 지금 포인트 숫자만 · 막대 위 상자 · 상자 밑 숫자 알약(box_pill) · 시계 작게(현판 · 원 · 상한 · 안내 글 · 받기 꼬리표 없음) · 받을 상자 빛 = `ReadyGlow`(gacha_fx_core 덧셈 · 상자의 4.6 배 · 막대보다 먼저) · **우편 두루마리 펼침** = `OutGame/UI/UiUnroll`(판 높이 닫힘(9 분할 위 + 아래 테두리) → 열림 · 표 mail_unroll · 캡처 · 시험 = `Seek(k)`) + 종이 = `Reveal`(RectMask2D · 두 축 안쪽) 안 고정 크기 `Paper` · 받은 뒤 다시 열 땐 펼친 채 · **4차(PD 2026-11-21 「배경 패널을 컨셉으로 다시」 · Fable `mission_ui/design/디자인기획_r3.md`)**: 포인트 띠 = 붉은 옻칠 현판 그림(`Samguk/mission/ms_plaque` · 9 분할 좌우 158 · 표 points_art) + 금 고리 2(ms_hook · points_hook) · 목록 판 = 나무 게시대 그림(ms_board · L40 B22 R40 T55 · 표 board_art · board_art.<탭> = x|위 y|폭|아래 여백 · `Board()`) · 그림이 없으면 예전 색 판 · `SlicedArt` · 막대 홈 = `Groove`(팩 bar_bg 가 어두워 색 칸을 깖) · 업적 목록 시작 102 · **최종(PD 2026-11-21 5~11차)**: 현판 = 깨끗한 금 테 다시 생성(ms_plaque 253×250 · L/R 112) · 포인트 아이콘 = 일일 백호 · 주간 청룡(타이틀 로고 그림 · 표 point_icon.<종류> · `PointIcon(kind)` = 띠 + 줄 알약) · 막대 0 % = 아이콘 가운데(아이콘이 막대 끝을 덮음 · SetAsLastSibling) · 상자 104 가 막대에 얹힘 · 정보 = 현판 세로 가운데(A안 · 장식 없음 · points_pattern 빈 값 · 대안 B 홈 · C `points_next` 안내 한 줄은 코드만) · 시계 = 게시대 제목 줄(`ListHead` · 탭 이름 + 시계 · 업적 없음) · 시계 받침 = ms_plaque 를 배율 3.38 로 작게(`list_timer_rect_art`) + 금 향로 아이콘(ic_ms_incense) · 첫 임무 줄 370 · 문고리(ms_hook) = 가운데 구멍만 투명. - **장비 등급 7 · 병종 장비 · 장별 드랍(PD 2026-11-20 구현 지시 · 요청서 조직 레포 `공유/기획팀_산출물/삼국지슬링샷/개발요청_장비등급드랍_2026-11-20.md`)** — 표 = `Assets/Data/OutGame/{gear_grades,gear_kinds,gear_drop_chapters,gear_drop_stages,gear_items,hero_gear,promotion,awaken_slots}.csv`(기획 `tables/_gear_class_gen.py` 생성분 포함) → 메뉴 `TKS/Import Gear`(`DataImporter.ImportGear` = 전체 해석·검증 뒤 GearDb · HeroDb · PromotionTable · AwakenDb 넷만 씀) · 검증 `OutGameTables.Gear.cs`. 장비 = 병종 5 × 부위 6 × 등급 7(일반 white ~ 전설 orange · 불멸 red · 신화 rainbow) = 210 · 등급 순서 · 이름 · 색 = `GearDb.grades`(`UiKit.GearGradeKo` · 승급 배지 글자는 `UiKit.GradeKo` = 녹 … 금 · 적 · 채) · 아이콘 = `gear_items.icon` · 신화 무지개 = s_color 7색 → `UiRainbow`(`UiKit.GradeTint` · 승급 배지 · 장비 칸). 승급 7단계 = 장비 등급 n 의 6칸 · 각성 칸 5 · 6 = 불멸 · 신화. 스테이지 드랍 = `EconomyRules.RollGear`(등급 = gear_drop_chapters 가중치 · f_focus_pct % = 그 스테이지 지정 장비 · 나머지 = 그 등급 30종 균등 · stage_rewards.gear_grade_max 는 투기장만 씀) · 스테이지 정보 창 = 지정 장비 「확률↑」 줄. 옛 장비 id = `HeroRules.Sanitize` 가 정리. 테스트 = `Tests/PlayMode/GearTests`(6 + 캡처 `Capture_GearScreens` Explicit → `Logs/gear_capture/` 5장). +- **스테이지 보상 · 적 처치 드랍 v2 · 군량 체계(PD 2026-11-23~24 「실제 게임에 모두 반영」 · 요청서 조직 레포 `공유/기획팀_산출물/삼국지슬링샷/개발요청_스테이지보상드랍_2026-11-23.md` · 위 줄의 스테이지 드랍 부분을 대신함)** — 표 = `Assets/Data/OutGame/{stage_drop(새 · 145줄 · gear_drop_stages 대신),drop_rules(새),gear_drop_chapters,stage_rewards,gear_items,economy,dev_tree}.csv` → 메뉴 `TKS/Import OutGame Data`(전체 임포트는 `CostumeDb` 의 유닛 알파 경계를 비우므로 뒤에 `TKS/Import Costume` 을 다시 돌리거나 그 자산을 되돌린다). **전리품 = 출전할 때 미리 굴림**(`EconomyRules.RollLoot` → `OutGameSession.PendingLoot` · 굴림 `chest_rolls` 회 · 1회 확률 = 상자 기대 개수(`stage_rewards.gear_drop_pct` × `stage_drop.f_gear_mult`) ÷ 굴림 수 · 보스 첫 클리어 = 확정 상자) → 전투 종료 `Compute(…, loot)` 가 그대로 지급(`StageReward.gearIds` · `fixedChests` · 옛 `gearId` = 첫 장비) · 소탕 = 그 자리에서 굴림 · 서버 모드 = 서버 응답(`reward.gearIds` 있으면 사용 · 서버 쪽 규칙은 아직 옛 것). 골드 · 경험 = `StageGoldExp`(지역 · 보스 배율 `f_gold_mult` · `f_exp_mult`) · 지정 장비 = 한 병종 부위 2개(`FocusKinds` · `focus_pct`) · 군량 = 일반 5 · 보스 10 · 최대 50(`stamina_max_limit` 200 을 넘지 않음 · 내정 군량 상한 +15/레벨) · 충전 300초. 화면 = 월드맵 노드 지역 표식(`WorldMapScreen.NodeDecor` ← `OutGameRoot.NodeBadge`) · 스테이지 정보 창(지역 줄 · 지정 2칸 · 상자 확률) · 전투 중 전리품 연출 `OutGame/UI/BattleLootFx`(표 `Resources/UI/Battle/battle_loot.csv` · `Unit.Died` 구독 · 캔버스 `BattleLootCanvas` 150 · 출정 스테이지만) · 결과 창 「전리품」 줄(`BattleResultPanel.Spoils` · 꼬리표 「지정 장비」 · 「필요 영웅」 · 패널 높이 1340). 테스트 = `GearTests`(11) · `LootFxTests`(1 + 캡처 `Capture_Loot` Explicit → `Logs/loot_capture/`). 금화 · 경험치 · 상자 그림 = 임시(테마 `cur_gold` · `cur_exp` · `chest_bronze` · `chest_gold`) · 병종별 장비 아이콘 = 아트 요청 중(조직 레포 `아트요청/장비아이콘_지시서.md`). - **영웅 각성 · 진화 · 스킬 강화(PD 2026-11-20 구현 지시 · 요청서 조직 레포 `공유/기획팀_산출물/삼국지슬링샷/개발요청_각성진화_2026-11-20.md` §0~§5 · 목업 `각성진화_img/` 9장)** — 표 11장 = `Assets/Data/OutGame/{evolve_stars,awaken_config,awaken_cost,awaken_grades,awaken_stats,awaken_slots,evolve_config,evolve_items,goods_awaken_evolve,skill_upgrade,skill_config}.csv` + `hero_levels.csv`(Lv100) → 메뉴 `TKS/Import Awaken · Evolve`(`DataImporter.ImportAwaken` = 전체 해석·검증 뒤 EvolveTable · AwakenDb · LevelTable 셋만 씀) · **진화 표 SOT = `evolve_stars.csv`(옛 `evolve.csv` 는 더 읽지 않음 · EvolveTable 행 = n_star_to 상태 + 재료 · 최대 레벨)** · 검증 `OutGameTables.Awaken.cs`(설정 값은 코드가 아는 값만 통과 = `CfgIs`). 규칙 = `OutGame/Awaken/AwakenRules`(진화 = ★ 최대 레벨 도달 + 영웅 진영 비서 × n + 골드 → ★+1 · 각성 칸과 무관 · 레벨 상한 = min(★ 최대 레벨, 챕터 상한) = `HeroLevelCap` · `HeroRules.CanLevelUp` 이 ★ 상한에서 멈춤 / **각성 칸 = 승급 장비 등급(awaken_slots · 저장 없이 `FilledGearOrder` 로 계산 · 승급해도 유지 · 6칸째 장착 = `OutGameSession.Equip` 이 새 칸 무료 1회 + `LastSlotOpen` → 「각성 칸 열림」 창 · 넘는 저장 줄 = `Shown` 밖 보관)** / 각성 = 보이는 줄 가운데 잠그지 않은 줄 다시 굴림(등급 → 능력치(겹침 제외) → 값) · 잠금 상한 = 열린 칸 − n · 비용 = 잠금 수 · warn_grade 이상 경고 / 비서 교환 = 같은 진영 보유 영웅 조각(남는 몫 = 보유 − 스킬 강화에 남은 조각 · 많은 순 · 미보유 영웅 조각은 안 씀) 또는 등용 포인트(명장 등용 1회 = recruit_point) · 비서별 주간 한도 = `MissionRules.WeekStartFor(shop_reset)`). **스킬 강화 = `Runtime/Skills/SkillRules`(비용 = skill_upgrade n_shard 그 영웅 조각 → 모자란 몫만 만능 조각 · `SkillUp(id, i, allowUniv)` · 만능이 필요하면 `NeedUniv` → 확인 팝업 · 최고 = skill_config max_lv_* · 상한 = 영웅 레벨이 닿은 n_need_hero_lv + ★ active_lv · 전투 배율 최고 = `SkillCatalog` 이 skill_config 로 덮음 · skill_levels(스킬서 + 골드)는 안 씀)**. 세이브 = `HeroState.awaken` · `inv.goods`(s_key → 수) · `tomeShop`. 능력치 반영 = 공·체·방 % → `HeroRules.Compute` 곱셈 1항(전투력 포함) · 나머지 7종 → `LineupEntry.extraEffects` → `Unit.ExtraEffects` → `SkillMods.Get`(단위 변환 = `AwakenRules.Effects` · 「받는 ~ 피해 감소」 = 음수 · 반영법을 모르는 능력치 = 임포트 오류 `AwakenRules.Known`). 창 = `AwakenWindows`(각성 · 확률 · 경고 · 진화 · 진화 완료 · 비서 교환 · 각성 칸 열림 · 스킬 강화 · 만능 조각 확인 · 고른 영웅 카드 ◀ ▶ = `HeroDetailScreen.StepHero`) · 영웅 정보 메뉴 진화 · 각성 버튼 · 스킬 줄 「강화」가 연다 · 글자 = `Resources/UI/Awaken/awaken_text.csv` · 아이콘·색 = `awaken_screen.csv`. 서버 모드 진화 · 스킬 강화는 기존 서버 API(옛 조각 · 스킬서 규칙)로 가므로 서버 쪽 변경 필요(열린 항목). 테스트 = `Tests/PlayMode/AwakenTests`(7 + 캡처 `Capture_AwakenScreens` Explicit → `Logs/awaken_capture/` 9장) · `OutGameTests.Evolve_TomesToNextStar`. - 보고는 실측·추정·미확인을 분리한다(C23 · C5). 커밋은 의도 변경 파일만.