feat(web): 新增 timed_buff_id 覆写组件支持与 buff 列表配置
1. 扩展 SUPPORT_ULT 技能列表,新增6517号技能 2. 为 OVERRIDE_KEYS 添加buff类型标记与注释说明 3. 新增buffOptions参数透传机制,实现timed_buff_id下拉选择 4. 新增buff类型覆写编辑器,支持搜索创建与类型归一化
This commit is contained in:
@@ -52,7 +52,7 @@ export const ROLE_ULT_SKILL = {
|
||||
}
|
||||
|
||||
// 辅助类技能(任意职业可用作大招)
|
||||
export const SUPPORT_ULT = [6301, 6302, 6407, 6412, 6413, 6414, 6501, 6514, 6515, 6516]
|
||||
export const SUPPORT_ULT = [6301, 6302, 6407, 6412, 6413, 6414, 6501, 6514, 6515, 6516, 6517]
|
||||
|
||||
export function defaultHero() {
|
||||
return {
|
||||
@@ -108,7 +108,8 @@ export const OVERRIDE_KEYS = [
|
||||
{ key: 'para', label: 'para 麻痹概率' },
|
||||
{ key: 'bck', label: 'bck 击退' },
|
||||
{ key: 'bck_chance', label: 'bck_chance 击退概率' },
|
||||
{ key: 'timed_buff_id', label: 'timed_buff_id 计时buff' },
|
||||
// buff 型覆写:值为 BuffList 配置 id,前端用 meta.BuffList 渲染下拉(支持 allow-create 手输兜底)
|
||||
{ key: 'timed_buff_id', label: 'timed_buff_id 计时buff', type: 'buff' },
|
||||
{ key: 'buff_value', label: 'buff_value 修饰数值' },
|
||||
{ key: 'buff_duration', label: 'buff_duration 持续时间' },
|
||||
{ key: 'buff_chance', label: 'buff_chance 附加概率' },
|
||||
|
||||
Reference in New Issue
Block a user