feat(skill): 添加技能buff附加概率配置与判定逻辑

1. 新增SkillOverrides接口的buff_chance字段,配置buff附加概率
2. 在web常量中添加buff_chance的配置项说明
3. 在HeroAtkSystem中实现基于buff_chance的buff触发判定,默认100%触发
This commit is contained in:
pan
2026-09-03 14:30:05 +08:00
parent df61d55bc3
commit 94acab2a5c
3 changed files with 9 additions and 4 deletions

View File

@@ -111,6 +111,7 @@ export const OVERRIDE_KEYS = [
{ key: 'timed_buff_id', label: 'timed_buff_id 计时buff' },
{ key: 'buff_value', label: 'buff_value 修饰数值' },
{ key: 'buff_duration', label: 'buff_duration 持续时间' },
{ key: 'buff_chance', label: 'buff_chance 附加概率' },
{ key: 'summon_count', label: 'summon_count 召唤数' },
{ key: 'num', label: 'num 额外释放次数' },
{ key: 'call_hero', label: 'call_hero 召唤英雄id' },