refactor(skill&buff): 优化计时buff配置方式
移除冗余的7112/7113buff配置,统一复用7111基础配置 通过新增buff_duration参数实现持续时间和数值的灵活覆写 简化占卜师技能buff的多档成长配置逻辑
This commit is contained in:
@@ -156,6 +156,7 @@ export interface SkillConfig {
|
||||
buff_type?: Attrs, // Buff 类型 (单一职责)
|
||||
timed_buff_id?: number, // 计时性 buff 配置 id(指向 BuffList),存在时走 buffManager 而非永久 add_*
|
||||
buff_value?: number, // 覆写计时 buff 的修饰数值(modifiers.value / tick.damage_or_heal),由药水卡自定义档位
|
||||
buff_duration?: number, // 覆写计时 buff 的持续时间(秒),不配置则用 BuffList 默认值
|
||||
call_hero?: number, // 召唤技能召唤英雄id(可选)
|
||||
is_accel?: boolean, // 是否逐渐加速飞行
|
||||
info: string, // 技能描述
|
||||
@@ -174,6 +175,7 @@ export interface SkillOverrides {
|
||||
buff_type?: Attrs;
|
||||
timed_buff_id?: number;
|
||||
buff_value?: number;
|
||||
buff_duration?: number;
|
||||
call_hero?: number;
|
||||
is_accel?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user