feat(skill): add support for FEnd trigger type

1. 新增FEnd触发类型到TRIGGER_KEYS列表
2. 更新技能箱组件的触发技能遍历逻辑
3. 调整图鉴面板的触发技能排序和注释说明
This commit is contained in:
panFD
2026-09-14 17:02:08 +08:00
parent 3bbf4a7eb6
commit 923d81c2a0
3 changed files with 6 additions and 4 deletions

View File

@@ -249,8 +249,8 @@ export class SSkillBoxComp extends CCComp {
// 普攻/大招
const hSkill = hero.skills?.[this.s_uuid];
if (hSkill?.name) return hSkill.name;
// 触发技能组(call/dead/fstart/atking/atked)
for (const type of [SkillTriggerType.Call, SkillTriggerType.Dead, SkillTriggerType.FStart, SkillTriggerType.Atking, SkillTriggerType.Atked]) {
// 触发技能组(call/dead/fstart/fend/atking/atked)
for (const type of [SkillTriggerType.Call, SkillTriggerType.Dead, SkillTriggerType.FStart, SkillTriggerType.FEnd, SkillTriggerType.Atking, SkillTriggerType.Atked]) {
const grouped = hero[type] as TriggerGrouped | undefined;
if (grouped?.[this.s_uuid]?.length) return getGroupedTriggerName(grouped, this.s_uuid);
}