feat: 新增麻痹控制机制,优化击晕与技能CD逻辑
1. 新增麻痹控制相关属性、buff配置与逻辑实现 2. 调整击晕时长与CD削减机制,优化技能CD更新逻辑 3. 修正多个技能预制件的参数与动画配置 4. 扩展控制类型检测与游戏配置项
This commit is contained in:
@@ -110,7 +110,7 @@ class BuffManagerImpl {
|
||||
* 判断目标是否处于指定类型的控制状态下。
|
||||
* 唯一判定来源:BuffComp 中是否存在对应 control_kind 的活跃控制 buff。
|
||||
*/
|
||||
hasControl(target: ecs.Entity, kind: 'frost' | 'stun'): boolean {
|
||||
hasControl(target: ecs.Entity, kind: 'frost' | 'stun' | 'paralyze'): boolean {
|
||||
if (!target.has(BuffComp)) return false;
|
||||
const buffComp = target.get(BuffComp);
|
||||
for (const [buffId, layers] of buffComp.buffs) {
|
||||
|
||||
Reference in New Issue
Block a user