49 Commits

Author SHA1 Message Date
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
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
3e8168b84b 添加条件格式化支持和优化状态显示,增强用户界面信息展示 2026-08-31 01:49:46 +08:00
waynebian01
020541961c 添加条件字段显示名称的管理,优化条件表达式的格式化显示 2026-08-30 19:45:18 +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
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
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
6f4163cf89 优化单位编辑器窗口大小的保存与恢复逻辑,调整相关UI组件属性 2026-08-28 15:37:33 +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
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
93a49ab18d 更新版本号至 1.2.1.10,删除面板备份文件,添加当前职业法术 ID 管理功能 2026-08-24 13:13:36 +08:00
waynebian01
ff218fd1c5 重建了图标库 2026-08-23 15:36:11 +08:00
waynebian01
e1bebefe06 添加列宽缓存功能,支持在多个 UI 控件中保存和恢复列宽设置 2026-08-22 15:08:37 +08:00
waynebian01
fc0ae0d433 Add new potion images for Recklessness and Silvermoon City Health Potions
- Added 'recklessness-potion.jpg' to the Assets/Spell directory.
- Added 'silvermoon-city-health-potion.png' to the Assets/Spell directory.
2026-08-22 14:30:14 +08:00
waynebian01
ca98389811 Add script to download WoW spell icons and create a catalog for local usage
- Introduced `Download-WowSpellIcons.ps1` to fetch and cache spell icons from Wowhead and Zamimg.
- Implemented `SpellIconCatalog.cs` to provide a read-only directory mapping spell names/IDs to local embedded icons.
- The catalog loads spell data from a generated manifest, ensuring offline access during editor runtime.
2026-08-22 10:00:37 +08:00
liantian-cn
fd5b04463a feat: 模块目录迁移至用户配置目录
模块存储位置从 exe 旁 baseDirectory/module 迁移到 {UserProfile}/.config/{AppName}/module
(AppName 动态取程序集名,Windows 下为 C:\Users\<用户名>\.config\Shigure\module)。

- ModuleStore.ResolveModuleDirectory 改为无参静态方法,删除 Shigure.csproj 检测死代码
- AppInfo 新增 AppName(程序集名单一来源,与 Version 惯例一致)
- Program.cs 新增启动迁移提示:旧目录有内容且新目录无模块文件时弹纯文案提示
- StatusForm 关于页在路径位于 exe 目录外时显示完整路径;编辑器打开文件夹跟随新路径
- csproj 删除 module 复制项;仓库根 module/ 示例目录保留
- 文档同步更新(README/CLAUDE/打包说明/Obsidian 01/11/00/10)
- 旧模块不自动迁移,由提示引导用户手动移动
2026-08-15 11:21:10 +08:00
waynebian01
99300fb702 feat: Implement module dependency management and unsaved changes tracking
- Added `HasUnsavedChanges` property to `ClassConfigEditorControl` and `ClassMacrosEditorControl` to track unsaved changes.
- Introduced `ModuleDependencyService` for handling module dependencies, including capturing and importing configurations and macros.
- Implemented atomic file writing in `AtomicFile` to ensure safe file operations.
- Enhanced `MainForm` to check for unsaved changes before importing module dependencies and added feedback mechanisms for users.
- Updated `ModuleEditorControl` to support dependency capturing and module reloading.
- Created data structures for module dependency snapshots, configurations, and macros.
- Improved error handling and user notifications during module import processes.
2026-08-14 17:36:45 +08:00
waynebian01
ad244fa337 更新条件编辑器和模块编辑器,添加动态条件字段验证和新法术配置 2026-08-13 21:26:18 +08:00
waynebian01
3740a21746 新增模块操作按钮并优化链接图标绘制逻辑 2026-08-11 11:22:23 +08:00
waynebian01
88eb47146c 新增动态数值类别并更新相关字段处理逻辑 2026-08-11 11:03:23 +08:00
waynebian01
993f596bb1 Refactor ModuleEditorControl and StatusForm for improved UI consistency and functionality
- Updated ModuleEditorControl to utilize UiCardPanel for sidebar and footer layouts, enhancing visual coherence.
- Introduced UiPillTab for tab navigation, providing a more modern and responsive design.
- Adjusted padding, margins, and background colors across various controls for a cleaner appearance.
- Implemented new methods for handling button styles and actions, including a new OpenModuleFolder method for better user experience.
- Refined StatusForm layout, integrating UiCardPanel for information display and adjusting component arrangements for clarity.
- Removed redundant graphics path creation methods, centralizing functionality in UiTheme.
- Enhanced overall code readability and maintainability through consistent styling and structure.
2026-08-11 01:53:06 +08:00
waynebian01
bfd1c05b6e 新增模块网站链接并优化导航按钮样式 2026-08-11 01:16:34 +08:00
waynebian01
c4149daf57 增强模块编辑器的下拉框功能,优化组合框显示和绘制,确保与系统主题一致 2026-08-10 18:16:45 +08:00
waynebian01
6df48157d3 Enhance UI Theme and Add UiCardPanel Component
- Updated color definitions in UiTheme.cs for improved UI aesthetics.
- Introduced ButtonKind enum for better button styling options.
- Added CreateButton method to streamline button creation with different styles.
- Improved item height calculations in various controls for better layout.
- Implemented ListColumn and ListColumnLayoutState for dynamic ListView column management.
- Added FitListViewColumns method to ensure ListView columns adjust properly to available space.
- Created UiCardPanel class for rounded card-like UI elements with custom painting.
2026-08-10 17:13:55 +08:00
waynebian01
ef40fcc326 feat: 添加宏条件支持到 keymap,更新 priest.json 中的技能条目 2026-08-06 14:54:51 +08:00
waynebian01
5a00da85d5 Refactor and implement runtime session management
- Removed the UnitSelector class from UI and added a new UnitSelector class in Modules.
- Introduced RuntimeSessionCoordinator to manage runtime sessions, ensuring safe concurrent operations.
- Created ShigureRuntimeFactory to handle the creation of ShigureRuntime instances.
- Added WindowsTriggerKeyState and WindowsVirtualKeyMap for handling key states and virtual key mappings.
- Implemented IKeymapResolver interface for key mapping resolution.
- Established runtime dependencies with interfaces for screen scanning, state building, logic evaluation, and key output.
2026-08-06 01:17:28 +08:00
waynebian01
e0a2a2ba1b feat(UI): Enhance ClassConfigEditorControl with spellsList display and improve ModuleEditorControl UI
- Added a new DataGridView for displaying spellsList in ClassConfigEditorControl.
- Updated tab structure to include spellsList page and adjusted column counts accordingly.
- Implemented FillSpellsListGrid method to populate spellsList data.
- Modified ModuleEditorControl to include a button for fetching modules from the website.
- Improved button layout and styling for better user experience.
- Added watermark functionality in StatusForm with a transparent background for better aesthetics.
- Enhanced the About panel with additional information fields and improved layout.
2026-07-31 02:11:57 +08:00
waynebian01
b7dbe1e5a6 feat: update warrior keymap and add priest keymap with new skills and hotkeys
- Modified warrior keymap to change the unit for "拳击" and ensure proper formatting.
- Introduced a new ReservedUnit class to manage reserved units and their display names.
- Added a comprehensive priest keymap with multiple skills and corresponding hotkeys, enhancing gameplay functionality.
2026-07-30 01:32:16 +08:00
waynebian01
3ecba771ad 优化界面 2026-07-29 17:24:46 +08:00
waynebian01
1794059fcc 添加治疗吸收字段支持,更新屏幕扫描结果结构,调整状态构建逻辑以包含治疗吸收数据,并在模块编辑器中添加相应选项。 2026-07-27 16:33:43 +08:00
waynebian01
ff188ed501 更新模块解析逻辑,添加推荐天赋字段,调整职业文件命名为英文,优化配置文件读取,删除无用的配置文件,修复光环识别相关问题。 2026-07-27 01:27:14 +08:00
waynebian01
789058de52 删除了光环识别 2026-07-25 14:34:00 +08:00
waynebian01
f251aefedd 可以在"识别光环"里获取光环的层数了, 最大20层 2026-06-20 14:09:59 +08:00
waynebian01
2be6bbf168 Release 1.2.0.0 2026-06-19 23:29:19 +08:00
waynebian01
1fdf3af69f 调整了UI界面 2026-06-19 01:06:54 +08:00
waynebian01
769bd907fc 添加了版本号, 作者选项 2026-06-19 00:45:16 +08:00
waynebian01
654e99cabd 优化了戒律-队伍-神谕者的逻辑 2026-06-17 14:54:51 +08:00
waynebian01
d4fadfbdf5 细微调整UI的宽度 2026-06-17 14:36:08 +08:00
waynebian01
e0c01a0be5 "动态数值"可选择分类了 2026-06-17 11:45:44 +08:00
waynebian01
645095f0e4 改进16 2026-06-16 00:21:55 +08:00
waynebian01
eb53afa819 改进14 2026-06-15 16:31:03 +08:00
waynebian01
c29a59e22c CC改进13 2026-06-15 16:21:33 +08:00
waynebian01
7c05dc0245 改进12 2026-06-15 15:36:41 +08:00
waynebian01
ae5997acce 改进11 2026-06-15 14:33:53 +08:00
waynebian01
37171a1e62 添加了icon, 一键辅助 2026-06-14 13:30:00 +08:00
waynebian01
82333279a8 整合文件夹 2026-06-14 01:13:58 +08:00