feat(skill): 新增召唤技能配置与错峰发射逻辑

1.  为技能prefab新增summon_count、forceStart坐标与height_offset配置项
2.  新增全局SUMMON_INTERVAL配置用于控制召唤物发射间隔
3.  重构施法系统,支持按配置召唤多个技能实体并错峰执行
4.  为多发/召唤技能添加纵向偏移档位,优化弹道分布
5.  屏蔽召唤技能的风怒额外触发逻辑,修复普攻链计入问题
This commit is contained in:
panFD
2026-08-16 18:56:15 +08:00
parent 8a506d9b83
commit 284d124486
5 changed files with 107 additions and 40 deletions

View File

@@ -188,7 +188,8 @@ export class Skill extends ecs.Entity {
sMoveCom.endType = SView.endType;
sMoveCom.speed = SView.speed > 0 ? SView.speed : config.speed;
sMoveCom.bezierStartHeight = config.bezier_start_y ?? sMoveCom.bezierStartHeight;
sMoveCom.bezierMidHeight = config.bezier_mid_y ?? sMoveCom.bezierMidHeight;
// 抛射物高度增量:叠加视图层 height_offset抬高贝塞尔弹道顶点
sMoveCom.bezierMidHeight = (config.bezier_mid_y ?? sMoveCom.bezierMidHeight) + Math.max(0, SView.height_offset);
sMoveCom.bezierArc = config.bezier_arc ?? sMoveCom.bezierArc;
// 从SkillView获取移动参数位置初始化由SMoveSystem统一处理
sMoveCom.atk_x = SView.atk_x;