refactor(skill tooltip): 移除技能提示的触发类型相关参数

1.  移除TooltipCom中triggerType相关属性和setupTriggerBg方法
2.  简化各层调用时的triggerType参数传递
3.  删除未使用的SkillTriggerType导入
This commit is contained in:
panFD
2026-09-07 21:05:01 +08:00
parent aa488d55e7
commit 95a8c0e1d6
5 changed files with 8 additions and 51 deletions

View File

@@ -324,7 +324,7 @@ export class SCastSystem extends ecs.ComblockSystem implements ecs.ISystemUpdate
if (castTimes > 1) {
val = "*" + castTimes.toString
}
heroView.skill_name(val, s_uuid, triggerType)
heroView.skill_name(val, s_uuid)
for (let i = 0; i < castTimes; i++) {
if (!heroView.node || !heroView.node.isValid) return;
// 多发/召唤按间隔错峰执行:i=0 立即,其余延迟 i*SUMMON_INTERVAL