feat(skill): add support for FEnd trigger type
1. 新增FEnd触发类型到TRIGGER_KEYS列表 2. 更新技能箱组件的触发技能遍历逻辑 3. 调整图鉴面板的触发技能排序和注释说明
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user