refactor: 重构技能触发逻辑,将proc_skill从命中触发改为施法后触发
1. 调整proc_skill触发时机为施法出手时判定,一次施法仅判定一次,与命中/弹道数无关 2. 移除HeroAtkSystem中旧的proc_skill触发逻辑,新增SCastSystem的tryProcSkill方法 3. 更新技能配置注释、编辑器文案与文档说明,同步调整服务端技能描述显示 4. 全局设置Element Plus组件为small尺寸,优化编辑器UI布局 5. 清理冗余的proc_skill快照传递逻辑,移除unused的reviveOptions计算属性
This commit is contained in:
@@ -28,9 +28,19 @@ body {
|
||||
/* 行间距压缩:表单项下边距 + 行高收紧 */
|
||||
.hero-app .el-form-item { margin-bottom: 8px; line-height: 1.2; }
|
||||
.hero-app .el-form-item__label { line-height: 1.2; padding-bottom: 2px; }
|
||||
.hero-app .el-button { font-size: 12px; height: 26px; padding: 8px 10px; }
|
||||
.hero-app .el-button--small { height: 22px; padding: 5px 8px; }
|
||||
.hero-app .el-input__inner { --el-input-height: 26px; }
|
||||
.hero-app .el-button { font-size: 12px; height: 24px; padding: 5px 10px; }
|
||||
.hero-app .el-button--small { height: 20px; padding: 4px 8px; }
|
||||
/* 控件高度压缩:用 CSS 变量统一覆盖 Element Plus 各尺寸档(small 由 main.js 全局注册) */
|
||||
.hero-app {
|
||||
--el-component-size-small: 22px;
|
||||
--el-component-size: 24px;
|
||||
--el-component-size-large: 28px;
|
||||
--el-input-height: 22px;
|
||||
}
|
||||
.hero-app .el-input__wrapper { padding: 0 8px; }
|
||||
.hero-app .el-select__wrapper { min-height: 22px; padding: 0 8px; }
|
||||
.hero-app .el-input-number { width: auto; }
|
||||
.hero-app .el-input-number .el-input__inner { text-align: left; }
|
||||
.hero-app .el-tabs__item { font-size: 12px; height: 30px; }
|
||||
.hero-app .el-tabs__header { margin-bottom: 8px; }
|
||||
.hero-app .el-tabs__nav-wrap::after { height: 1px; }
|
||||
|
||||
Reference in New Issue
Block a user