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

@@ -50,6 +50,14 @@ export class SkillView extends CCComp {
@property({ type: CCFloat, tooltip: "强制出生点Y-1=不强制,>=0=强制世界坐标Y" })
forceStartY: number = -1;
/** 召唤数量SCastSystem 单次施法实例化的技能实体个数(<=1 为单体;>1 时按召唤物语义,不再参与风怒等额外触发) */
@property({ type: CCInteger, slide: true, range: [1, 8, 1], tooltip: "单次施法召唤的技能实体个数" })
summon_count: number = 1;
/** 抛射物高度增量(像素),贝塞尔弹道时叠加到 bezierMidHeight控制抛物线顶点抬高 */
@property({ type: CCFloat, slide: true, range: [0, 500, 5], tooltip: "抛射物高度增量(叠加到贝塞尔弹道中点高度)" })
height_offset: number = 0;
private debugMode: boolean = false;
anim: Animation = null;