refactor(skill tooltip): 移除技能提示的触发类型相关参数
1. 移除TooltipCom中triggerType相关属性和setupTriggerBg方法 2. 简化各层调用时的triggerType参数传递 3. 删除未使用的SkillTriggerType导入
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user