feat: 新增麻痹异常状态机制

1.  新增麻痹概率属性与相关属性计算方法
2.  为英雄普攻和技能添加麻痹触发逻辑
3.  配置闪电系技能默认30%麻痹概率
4.  更新英雄技能说明与配置参数
This commit is contained in:
pan
2026-08-19 17:05:50 +08:00
parent 5585149b12
commit 54591c78dd
7 changed files with 45 additions and 24 deletions

View File

@@ -122,6 +122,7 @@ export class SCastSystem extends ecs.ComblockSystem implements ecs.ISystemUpdate
mockAttrs.critical = 0;
mockAttrs.freeze_chance = 0;
mockAttrs.stun_chance = 0;
mockAttrs.paralyze_chance = 0;
mockAttrs.puncture_chance = 0;
mockAttrs.fac = FacSet.HERO;
mockAttrs.type = HType.Long; // 假定为远程,拥有较长索敌范围