
EmakiAttribute
Full RPG attribute and damage engine with 40+ stats and multi-stage calculation
Список изменений
📦 EmakiAttribute 更新日志 / Changelog
中文版
✨ 新增特性
-
Lore 格式增强: 为所有 Lore 格式文件添加详细注释和元数据
default_flat.yml: 新增格式说明、优先级配置和正则匹配模式default_percent.yml: 新增百分比格式说明,优先级提升至 100default_regen.yml: 新增回复类格式说明,优先级 80default_resource.yml: 新增资源类格式说明,优先级 60
-
属性优先级配置: 调整多个属性文件的
read_priority值,确保 Lore 格式正确匹配physical_damage_bonus: 85 → 101projectile_damage_bonus: 91 → 93spell_crit_rate: 85 → 91spell_damage_bonus: 86 → 88
-
条件文件新增: 新增 Forge 和 Strengthen 的条件配置文件
conditions/forge.yml: Forge 模块的条件定义conditions/strengthen.yml: Strengthen 模块的条件定义
🐛 问题修复
- Lore 格式优先级冲突: 通过调整 read_priority 解决百分比格式与数值格式的匹配冲突
- 配置版本不一致: 将所有配置文件的版本统一升级到 3.0.0
🚀 优化与改进
-
配置文件注释增强: 为所有属性定义、Lore 格式和 Profile 文件添加详细的中文注释
- 说明每个配置的用途和示例输出
- 解释优先级的工作原理
- 标注正则匹配模式
-
属性定义优化: 确保百分比格式优先于普通数值格式匹配
- 调整 priority 配置避免 Lore 读取冲突
- 优化属性匹配顺序
♻️ 架构与底层
-
配置版本升级:
config.yml: 2.3.0 → 3.0.0lang/zh_CN.yml: 2.3.0 → 3.0.0- 所有属性定义和 Lore 格式文件版本同步升级
-
代码格式化: 统一导入格式和代码风格
English Version
✨ Features
-
Lore Format Enhancements: Added detailed comments and metadata to all Lore format files
default_flat.yml: Added format description, priority configuration, and regex matching patternsdefault_percent.yml: Added percentage format description, priority increased to 100default_regen.yml: Added regen format description, priority 80default_resource.yml: Added resource format description, priority 60
-
Attribute Priority Configuration: Adjusted
read_priorityvalues in multiple attribute files to ensure correct Lore format matchingphysical_damage_bonus: 85 → 101projectile_damage_bonus: 91 → 93spell_crit_rate: 85 → 91spell_damage_bonus: 86 → 88
-
Condition Files Added: Added condition configuration files for Forge and Strengthen modules
conditions/forge.yml: Condition definitions for Forge moduleconditions/strengthen.yml: Condition definitions for Strengthen module
🐛 Bug Fixes
- Lore Format Priority Conflicts: Resolved matching conflicts between percentage and numeric formats by adjusting read_priority
- Configuration Version Inconsistency: Unified all configuration files to version 3.0.0
🚀 Improvements & Optimizations
-
Configuration Comment Enhancements: Added detailed Chinese comments to all attribute definitions, Lore formats, and Profile files
- Explained the purpose and example output of each configuration
- Explained how priority works
- Annotated regex matching patterns
-
Attribute Definition Optimization: Ensured percentage format takes precedence over plain numeric format matching
- Adjusted priority configuration to avoid Lore reading conflicts
- Optimized attribute matching order
♻️ Chores & Refactoring
-
Configuration Version Upgrade:
config.yml: 2.3.0 → 3.0.0lang/zh_CN.yml: 2.3.0 → 3.0.0- All attribute definitions and Lore format files version synchronized
-
Code Formatting: Unified import format and code style
