29 Commits

Author SHA1 Message Date
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
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
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
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
be8f97eca8 feat: 更新模块目录和缓存路径,添加职责筛选功能 2026-08-15 16:14:15 +08:00
liantian-cn
4179af4f4d feat: 模块目录迁移至我的文档目录
模块存储位置从 {UserProfile}/.config/{AppName}/module 迁移至
Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)/{AppName}/module
(Windows 下跟随用户已知文件夹重定向,本机为 E:\Documents\Shigure\module)。

- ModuleStore.ResolveModuleDirectory() 返回表达式改为 MyDocuments 版本,三个无参调用点自动跟随
- Program.cs 迁移提示文案「用户配置目录」改为「我的文档目录」,检测逻辑不变(仅检测 exe 旁 module/)
- 7 个文档同步更新(README/CLAUDE/打包说明/Obsidian 00/01/10/11),路径统一写 {MyDocuments}/Shigure/module
- 旧目录(含 .config 版本)不自动迁移、不删除,由提示引导手动移动
2026-08-15 13:09:52 +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
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
b91298e669 Refactor keymap service to support specialization selection, enhance pixel scanner error reporting, and improve UI for dynamic spec management
- Updated KeymapService to handle class and specialization selection, allowing for more granular hotkey management.
- Added MapVirtualKeyW method to NativeMethods for virtual key mapping.
- Enhanced ModuleLogic to include rate limiting and improved logging for rule execution.
- Introduced new reserved units for channeling states in ReservedUnit.
- Modified PixelScanner to return detailed failure reasons for window scanning issues.
- Updated RenderSnapshot to include scan failure reasons for better debugging.
- Enhanced ShigureRuntime to track scan failure reasons and log them appropriately.
- Improved ClassMacrosEditorControl to manage dynamic specialization selection and UI updates.
- Updated MainForm to log scan failure reasons and step details for better traceability.
- Adjusted StatusForm layout and watermark settings for improved visual presentation.
- Updated UI theme to support dynamic spec icons in list boxes.
- Changed configuration files to standardize enemy count terminology from "敌人人数" to "敌人数量".
2026-08-05 23:46:28 +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
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
769bd907fc 添加了版本号, 作者选项 2026-06-19 00:45:16 +08:00
waynebian01
32e2f0dd5a 修复了动态条件不能正确修改数值的bug 2026-06-17 15:55:08 +08:00
waynebian01
645095f0e4 改进16 2026-06-16 00:21:55 +08:00
waynebian01
c29a59e22c CC改进13 2026-06-15 16:21:33 +08:00
waynebian01
ae5997acce 改进11 2026-06-15 14:33:53 +08:00
waynebian01
49bbe8315c 改进9 2026-06-14 23:21:35 +08:00
waynebian01
5f9443308a 随机名称, 随机哈希值 2026-06-14 20:58:00 +08:00
waynebian01
37171a1e62 添加了icon, 一键辅助 2026-06-14 13:30:00 +08:00
waynebian01
82333279a8 整合文件夹 2026-06-14 01:13:58 +08:00