SepComet
7106e0adbe
feat: Introduce new services and refactor existing code for better structure
...
- Added ISpriteCacheService, IStaticDataService, and ITextService interfaces for improved service management.
- Implemented RunContracts for managing run states and node execution contexts.
- Created EnemyTagStatusRuntime to handle enemy status effects and their application.
- Refactored ShopPriceRuleService to utilize static data service for shop prices.
- Enhanced InventoryTowerEnduranceUtility to manage tower endurance reduction.
- Updated EventFormUseCase to work with new EventOptionExecutionContext.
- Removed unused dictionary loading code from ProcedurePreload.
- Cleaned up various utility classes and ensured consistent naming conventions.
- Updated tests to reflect changes in context and service usage.
2026-05-13 22:18:47 +08:00
SepComet
9fc0ef2216
拆分程序集,统一修改 Core 区域类的命名空间,暂不修复编译问题
2026-05-13 16:48:09 +08:00
SepComet
2e54acbc85
为 RepoForm 添加出售功能,ShopNode 只承载玩家购买组件的逻辑
2026-03-16 17:52:23 +08:00
SepComet
dc2aa59d58
补全部分 EventComponent 设计
2026-03-16 11:53:24 +08:00
SepComet
c76fd85a2c
A1 + A2
2026-03-13 17:58:09 +08:00
SepComet
777c58b812
修复已知问题
2026-03-13 14:55:17 +08:00
SepComet
aa44170d56
InventoryGenerationComponent + TagRegistryComponent 收口
2026-03-13 11:06:14 +08:00
SepComet
53b6b261dd
InventoryGenerationComponent G2
2026-03-12 17:34:00 +08:00
SepComet
4962b98714
重构
...
- 统一 ItemDescForm/RewardItem/GoodsItem 的描述格式
- 减少组件属性的 Clone 数量,目前只在合并仓库、组装防御塔时才进行复制
- 删除先前留下的冗余 fallback 代码
2026-03-12 15:58:14 +08:00
SepComet
99ed963faa
G1-01 + G1-02
2026-03-12 13:20:02 +08:00
SepComet
3840f8e65a
S7-03 + S7-04 + S7-05
2026-03-12 11:24:38 +08:00
SepComet
185ea43323
S7-01 + S7-02
2026-03-12 10:46:11 +08:00
SepComet
09ebe6e3f3
S6 回归与文档收尾
2026-03-11 21:19:53 +08:00
SepComet
9c5871b518
S5-04
2026-03-11 16:48:26 +08:00
SepComet
113decb414
S5-01 + S5-02 + S5-03
2026-03-11 15:36:18 +08:00
SepComet
c019f9f527
S4 收尾
2026-03-11 15:02:44 +08:00
SepComet
515fe95441
S4-07 process 3
...
- 组件 Tag 数量预算不再写死在 ResolveTagBudget(...) 里,而是走 RarityTagBudget.txt -> DRRarityTagBudget -> RarityTagBudgetRuleRegistry -> InventoryTagRuleService 这条表驱动链。
- TagBudget.txt:1 新增了按品质的 MinCount/MaxCount,预算缓存和加载入口分别在 RarityTagBudgetRuleRegistry.cs:7 和 ProcedurePreload.cs:18。
- 生成逻辑已经接到新规则,InventoryTagRuleService.cs:10 现在会先按 Tag.txt 过滤/加权,再按 RarityTagBudget 决定抽几个 Tag。
2026-03-11 13:16:33 +08:00
SepComet
b1b68ebde5
S4-07 process 2
...
当前 `Tag.txt -> DRTag -> TagGenerationRuleRegistry` 已形成组件 Tag 生成规则闭环:
- `InventoryTagRuleService` 不再主要依赖内部 `MinRarity` 硬编码,而是统一消费 `DRTag` 提供的 `MinRarity + Weight`
- `ShopFormUseCase`、`EnemyDropResolver`、`InventorySeedUtility` 也已切回这一统一入口。
- 现阶段的职责边界明确为:`Tag.txt` 负责基础字典与生成规则,`TagConfig.txt` 负责触发阶段、描述与效果参数。
2026-03-11 11:20:16 +08:00
SepComet
9de2e50262
S4-07 process 1
2026-03-11 10:18:14 +08:00
SepComet
52f9e212b9
Start Tag System
2026-03-10 13:11:30 +08:00
SepComet
34ef001ef3
- S4-03 | 先固化 Tag 系统设计与首发范围
...
- S4-04 | 实现组件实例 Tag 的统一生成入口
- S4-05 | 实现组塔后的 Tag 汇总与展示入口
2026-03-09 21:06:43 +08:00
SepComet
73b7adedb8
- S4-01 先确定 M1 需要的品质 / Tag
...
- S4-02 把品质计算整理成单一入口 规则边界
- S4-03 先固化 Tag 系统设计与首发范围
2026-03-09 20:34:22 +08:00
SepComet
af20eeecfa
阶段 S3 - 收口出战合法性
2026-03-09 19:47:46 +08:00
SepComet
88641f17b0
S3-01 + S3-02
2026-03-09 17:50:49 +08:00
SepComet
793a87c171
补全 S1 测试
...
- 调整 CombatNode 正常结束与异常的变量语义,现在是 DidCombatWin 与 Exception
- 补充测试样例
- 完成 S1 目标
2026-03-08 21:10:03 +08:00
SepComet
1023239880
迁移测试文件,建立主程序集
2026-03-08 18:08:13 +08:00