Commit Graph

115 Commits

Author SHA1 Message Date
waynebian01
579bc3cbd7 添加“特殊”状态分类,更新相关状态块逻辑,优化状态获取和更新功能。各职业类中新增特殊状态支持,确保状态管理更加灵活和准确。 2026-09-02 21:29:29 +08:00
waynebian01
1c4a84aef5 更新版本至 1.2.1.20,添加沸点状态支持并优化模块依赖快照保存逻辑。修复宏键池和状态块的相关功能,确保模块保存时正确处理依赖关系。 2026-09-02 20:40:13 +08:00
waynebian01
ab2165eaa8 修复 HTTP 请求异常处理中的 URL 获取逻辑
将 `response.RequestUri` 替换为 `response.RequestMessage?.RequestUri`,确保在处理 HTTP 404 和其他错误时正确获取请求的 URL。
2026-09-02 13:31:43 +08:00
Cursor Agent
345e53c92c 下载失败时提示到 GitHub Releases 手动下载
失败弹窗固定给出 https://github.com/waynebian01/Shigure/releases ,
并说明把 SpellIcons.shgpack 放到程序目录的 data 文件夹;可选择立即打开页面。

Co-authored-by: Wayne-Arasaka <waynebian01@users.noreply.github.com>
2026-09-02 03:21:02 +00:00
Cursor Agent
b5c8d00fe1 修复检查更新 404:GitHub API 失败时回退到发布页直链
/releases/latest 在未标记 latest 或 api.github.com 不可达时会返回 404。
现在依次尝试正式版 API、发布列表、latest/download 直链,以及当前版本
(1.2.1.19)的 SpellIcons.shgpack 下载地址。

Co-authored-by: Wayne-Arasaka <waynebian01@users.noreply.github.com>
2026-09-02 03:18:12 +00:00
Cursor Agent
aa3f0d79a5 保存宏时同步写入该职业模块依赖快照
宏页保存原先只更新 keymap 和插件,模块快照仍停留在旧宏。改为走与配置页相同的回调,按当前职业捕获并保存模块。

Co-authored-by: Wayne-Arasaka <waynebian01@users.noreply.github.com>
2026-09-01 13:36:31 +00:00
Cursor Agent
8701a2d71b 条件编辑将技能改为冷却并分出技能/物品分类
类型下拉由「技能」改为「冷却」;分类提供「技能」与「物品」,分别列出法术冷却与物品冷却字段。

Co-authored-by: Wayne-Arasaka <waynebian01@users.noreply.github.com>
2026-09-01 13:00:14 +00:00
waynebian01
48bb27b34b Enhance item management by adding '插入物品' command and integrating item handling into the Fuyutsui framework. Update README to reflect new item insertion functionality and modify class blocks across all character classes to include item insertion. Implement item indexing and retrieval methods in core logic, ensuring consistency with spell handling. Update UI components to support item conditions and improve overall item management experience. 2026-09-01 20:44:51 +08:00
Cursor Agent
0fa9112a91 物品列表改为带 index 的表项并增加索引列
Fuyutsui.itemsList 保存为 [itemId] = { index, name };编辑器增加索引列,添加时自动分配空闲序号,允许同名、禁止同 ID 与同索引。

Co-authored-by: Wayne-Arasaka <waynebian01@users.noreply.github.com>
2026-09-01 12:22:49 +00:00
Cursor Agent
78222ad022 冷却页技能表增加 spellId/名称筛选
左侧技能冷却与右侧物品冷却对齐,输入 spellId 或名称即可过滤行;上下移动会跳过被筛掉的行。

Co-authored-by: Wayne-Arasaka <waynebian01@users.noreply.github.com>
2026-09-01 12:15:57 +00:00
Cursor Agent
4a991bc85b 物品列表移到末页,允许同名并改为字符串表
将物品列表页签放到技能列表右侧;添加与校验只禁止重复 itemId;保存格式改为 [itemId] = "名称"。

Co-authored-by: Wayne-Arasaka <waynebian01@users.noreply.github.com>
2026-09-01 12:09:21 +00:00
Cursor Agent
75bf8a3518 配置页改为冷却双栏与职业级物品列表
将配置页「法术」改为「冷却」(左技能冷却、右专精物品冷却),「物品」改为职业级 Fuyutsui.itemsList 编辑;保存时缺表则在 spellsList 后插入。

Co-authored-by: Wayne-Arasaka <waynebian01@users.noreply.github.com>
2026-09-01 12:01:05 +00:00
waynebian01
8b009cbdb2 Cursor: Apply local changes for cloud agent 2026-09-01 19:50:23 +08:00
waynebian01
bc68363ea4 更新 README 文档以包含免责声明和 MIT 许可证信息;在状态管理中添加新的状态字段显示记录,增强图标支持;优化用户界面以更好地展示应用信息和法律声明。 2026-09-01 17:24:32 +08:00
waynebian01
ccd670dfb5 更新版本号至 1.2.1.19,优化 README 文档中的功能描述,增强用户对技能和物品图标数据包的理解。添加对物品 ID 的支持,改进状态管理和条件字段显示,确保用户界面信息展示更加清晰。 2026-09-01 17:05:20 +08:00
waynebian01
3a5b4e8db5 Refactor configuration for Shaman, Warlock, and Warrior classes
- Adjusted step values for various configuration options to maintain order and consistency.
- Reintroduced "治疗药水" and "治疗石" for Warlock and Shaman with updated steps and properties.
- Removed "鲁莽药水" from Warrior configuration and added it back with updated properties.
- Ensured all changes maintain the integrity of the configuration structure.
2026-09-01 16:19:20 +08:00
waynebian01
1cd4e7c084 Refactor item categories and IDs across multiple class configurations
- Removed unused skill entries and adjusted step numbers in DemonHunter.json.
- Updated item categories and added item IDs for healing items in Paladin.json, Priest.json, Shaman.json, Warlock.json, and Warrior.json.
- Ensured consistent naming for healing items across classes.
2026-09-01 14:04:03 +08:00
waynebian01
dcd5542df0 优化特殊宏的注释管理,确保技能名由用户手动填写并固定为无目标、无宏条件;更新相关文档和界面显示。 2026-09-01 13:24:19 +08:00
waynebian01
3e8168b84b 添加条件格式化支持和优化状态显示,增强用户界面信息展示 2026-08-31 01:49:46 +08:00
waynebian01
020541961c 添加条件字段显示名称的管理,优化条件表达式的格式化显示 2026-08-30 19:45:18 +08:00
waynebian01
8cda3cea73 Update cooldown metrics and display types for Warlock and Warrior abilities
- Added "displayType" field with Chinese translations for cooldown metrics in Warlock.json and Warrior.json.
- Ensured consistency in the structure of cooldown entries across both files.
2026-08-30 14:16:28 +08:00
waynebian01
4c435e3c7f 重构条件编辑器,优化单元格点击事件处理,添加首领战下拉选择功能 2026-08-30 12:58:27 +08:00
waynebian01
232fa91aa2 Add SpellFieldKey class for managing spell and aura keys
- Introduced a new class `SpellFieldKey` to encapsulate constants and methods related to spell and aura identifiers.
- Added methods for generating keys for spells and auras, including parsing functionality for spell and aura strings.
- Implemented utility methods for stripping prefixes and canonicalizing aura IDs.
2026-08-30 10:22:51 +08:00
waynebian01
9b9127c90c 一键辅助, 插入法术, 施法技能使用spellId作为唯一标识符 2026-08-29 20:16:54 +08:00
waynebian01
03d2d2c72e 保存配置会将当前职业的所有模块一起保存, 覆盖掉可能冲突项 2026-08-29 17:16:01 +08:00
waynebian01
630004eac9 会自动清理模块中不存在的字段 2026-08-29 16:59:41 +08:00
waynebian01
48593d5729 添加默认模块选择 2026-08-29 16:40:20 +08:00
waynebian01
51398f91f9 Refactor MainForm layout and improve SpellIconCatalog functionality
- Increased RowCount in MainForm's layout to accommodate additional elements.
- Adjusted margins for various cards in MainForm to enhance spacing.
- Removed unnecessary column span setting for spellIconPackageCard in MainForm.
- Introduced a new dictionary to map spell IDs to names in SpellIconCatalog.
- Added functionality to promote pending packages in SpellIconCatalog.
- Modified the Register method in SpellIconCatalog to allow overwriting spell names.
- Implemented ResolveSuggestionName and GetRegisteredSpellNamesSnapshot methods in SpellIconCatalog.
- Removed the SpellSuggestionPopup class as it is no longer needed.
- Updated build script to ignore the SpellIconPackage directory during the build process.
2026-08-29 15:03:08 +08:00
waynebian01
f7a7309085 feat: Update navigation and settings descriptions, enhance UI theme, and implement spell icon package download service
- Updated navigation item description in StatusForm for clarity.
- Added new item to the UI theme for customizable item foreground colors.
- Removed obsolete spell icon package building logic from the Python script.
- Updated documentation to reflect changes in spell icon handling and packaging.
- Introduced SpellIconPackageDownloadService for downloading and validating spell icon packages from GitHub.
2026-08-29 01:39:47 +08:00
waynebian01
698e19dd19 Update version to 1.2.1.13 and enhance spell suggestion functionality
- Updated version numbers in Fuyutsui.toc and Shigure.csproj to 1.2.1.13.
- Added a HashSet to track deleted spell IDs in ClassBlocksStore.
- Enhanced spell list entry updates to handle deleted spells.
- Implemented spell suggestion dropdown in ClassConfigEditorControl.
- Added methods for searching and displaying spell suggestions in SpellIconCatalog.
- Improved UI layout in ClassConfigEditorControl and ClassMacrosEditorControl.
- Introduced automatic configuration updates when the target game process is detected.
2026-08-28 18:44:11 +08:00
waynebian01
ab4a5b25b3 Refactor ComboBox to UiDropDown and enhance styling
- Replaced instances of ComboBox with a custom UiDropDown control in UnitEditorForm.
- Updated the StyleComboBox method to accept UiDropDown instead of ComboBox.
- Introduced UiDropDown class to provide a unified dark-themed dropdown control.
- Implemented custom drawing for dropdown items and buttons to improve UI consistency.
- Added functionality for handling dropdown item selection and display.
2026-08-28 17:57:50 +08:00
waynebian01
955518df6a 为宠物添加支持,包括状态、生命值和更新逻辑 2026-08-28 16:50:53 +08:00
waynebian01
600aac1702 Update keymaps for Priest, Rogue, Shaman, and Warrior; adjust unit values and skills, and enhance documentation for plugin directory handling. 2026-08-28 16:23:31 +08:00
waynebian01
6f4163cf89 优化单位编辑器窗口大小的保存与恢复逻辑,调整相关UI组件属性 2026-08-28 15:37:33 +08:00
waynebian01
7347258968 feat: 更新条件编辑器和状态表单,添加单元格格式化功能并调整导航项名称 2026-08-25 16:48:43 +08:00
waynebian01
58994ba90b Enhance Warrior configuration: Added categories for various attributes and spells, reorganized steps for clarity, and introduced new mouse-related parameters. 2026-08-25 16:22:37 +08:00
waynebian01
da2eeb3b39 Refactor UI components for improved theming and accessibility
- Updated UiCardPanel to use UiTheme.CardCornerRadius for consistent corner styling.
- Modified UiPillTab to enable TabStop and set AccessibleRole to PageTab, enhancing keyboard navigation.
- Implemented keyboard handling in UiPillTab for Enter and Space keys to trigger click events.
- Enhanced focus visuals in UiPillTab with focus rectangle drawing.
- Introduced new constants in UiTheme for CardPadding, PageGap, ActionButtonHeight, GridRowHeight, TabBarHeight, CardCornerRadius, and ControlCornerRadius for better layout management.
- Updated UnitEditorForm to utilize new theming constants and improved layout with UiCardPanel for better visual structure.
- Refined action button styling in UnitEditorForm for consistent button sizes and margins.
- Adjusted labeled row height in UnitEditorForm for better alignment.
2026-08-25 15:58:44 +08:00
waynebian01
c8b38ce932 feat: 添加玩家分类支持,更新条件编辑器以使用新的分类显示名称 2026-08-24 21:55:37 +08:00
waynebian01
d7021f2f20 feat: add rule comment functionality with dedicated editor
- Introduced a new column for rule comments in the ModuleEditorControl.
- Implemented a RuleTextEditorForm for editing comments.
- Enhanced the rules grid to support comment display and editing.
- Updated data handling to include comments in rule metadata.
- Improved UI responsiveness and aesthetics for the comment editor.
2026-08-24 20:32:06 +08:00
waynebian01
708bb67dc1 Refactor Warlock and Warrior configuration files to enhance spell and ability tracking
- Updated spell and ability names for clarity and consistency in Warlock.json and Warrior.json.
- Renamed various attributes to include timing indicators (正计时 and 倒计时) for better tracking of spell casting.
- Adjusted step values for spells and abilities to maintain proper order after renaming.
- Added new attributes for focus spells and their interruptibility in both configuration files.
- Ensured all changes maintain compatibility with existing functionality while improving readability.
2026-08-24 17:28:24 +08:00
waynebian01
9d48c5adb4 添加首领单位支持,更新相关状态和施法逻辑,移除不必要的 EXBoss 文件,调整配置和文档 2026-08-24 16:07:54 +08:00
waynebian01
e913f6a690 移除不必要的救赎之魂光环槽,添加打断施法功能,更新相关配置和文档 2026-08-24 14:48:18 +08:00
waynebian01
93a49ab18d 更新版本号至 1.2.1.10,删除面板备份文件,添加当前职业法术 ID 管理功能 2026-08-24 13:13:36 +08:00
waynebian01
fc1b9a62f7 更新法术图标管理,生成只读数据包并优化构建流程 2026-08-23 23:27:25 +08:00
waynebian01
4b110ae804 改用外置法术图标目录 2026-08-23 22:13:34 +08:00
waynebian01
8e6f8904f6 按 spellId 合并模块配置 2026-08-23 21:43:13 +08:00
waynebian01
139c6451f7 重构法术图标管理,添加只读数据包支持并更新相关资源处理逻辑 2026-08-23 20:45:29 +08:00
waynebian01
0c046c6c4e 导入了更多图标 2026-08-23 16:50:33 +08:00
waynebian01
ff218fd1c5 重建了图标库 2026-08-23 15:36:11 +08:00
waynebian01
e1155086e5 重构触发键状态接口,添加读取键状态的方法并引入触发键样本结构 2026-08-22 20:46:04 +08:00