2022-11-22 20:25:36 +00:00
|
|
|
|
const attr = function (key, val, elem = '', unit = '%') {
|
2022-11-20 20:45:27 +00:00
|
|
|
|
const keyMap = {
|
|
|
|
|
hp: '生命值',
|
|
|
|
|
hpPlus: '生命值',
|
|
|
|
|
atk: '攻击力',
|
|
|
|
|
def: '防御力',
|
|
|
|
|
cpct: '暴击率',
|
|
|
|
|
dmg: '元素伤害',
|
|
|
|
|
phy: '物理伤害',
|
|
|
|
|
shield: '护盾强效',
|
|
|
|
|
heal: '治疗',
|
|
|
|
|
mastery: '元素精通'
|
|
|
|
|
}
|
2022-11-22 20:25:36 +00:00
|
|
|
|
let ret = {
|
2022-11-20 20:45:27 +00:00
|
|
|
|
title: `${keyMap[key]}提高${val}${unit}`,
|
|
|
|
|
isStatic: true,
|
2022-11-22 20:25:36 +00:00
|
|
|
|
data: {}
|
2022-11-20 20:45:27 +00:00
|
|
|
|
}
|
2022-11-22 20:25:36 +00:00
|
|
|
|
ret.data[key] = val
|
|
|
|
|
if (elem) {
|
|
|
|
|
ret.elem = elem
|
|
|
|
|
}
|
|
|
|
|
return ret
|
2022-11-20 20:45:27 +00:00
|
|
|
|
}
|
|
|
|
|
|
2022-09-24 22:42:48 +00:00
|
|
|
|
const buffs = {
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
行者之心: {
|
2022-11-21 21:26:06 +00:00
|
|
|
|
2: attr('atkPct', 18),
|
2022-11-20 20:45:27 +00:00
|
|
|
|
4: {
|
|
|
|
|
title: '重击的暴击率提高30%',
|
|
|
|
|
data: {
|
|
|
|
|
a2Cpct: 30
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
勇士之心: {
|
2022-11-21 21:26:06 +00:00
|
|
|
|
2: attr('atkPct', 18),
|
2022-11-20 20:45:27 +00:00
|
|
|
|
4: {
|
|
|
|
|
title: '对生命值高于50%的敌人,造成的伤害增加30%',
|
|
|
|
|
data: {
|
|
|
|
|
dmg: 30
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
守护之心: {
|
2022-11-21 21:26:06 +00:00
|
|
|
|
2: attr('defPct', 30)
|
2022-09-24 12:20:50 +00:00
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
奇迹: {},
|
|
|
|
|
|
|
|
|
|
战狂: {
|
|
|
|
|
2: attr('cpct', 12),
|
|
|
|
|
4: {
|
|
|
|
|
title: '生命值低于70%时,暴击率提升24%',
|
|
|
|
|
data: {
|
|
|
|
|
cpct: 24
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
武人: {
|
|
|
|
|
2: {
|
|
|
|
|
title: '普攻与重击造成的伤害提高15%',
|
|
|
|
|
data: {
|
|
|
|
|
aDmg: 15,
|
|
|
|
|
a2Dmg: 15
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
4: {
|
|
|
|
|
title: '施放元素战技后的8秒内,普攻和重击伤害提升25%',
|
|
|
|
|
data: {
|
|
|
|
|
aDmg: 25,
|
|
|
|
|
a2Dmg: 25
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
教官: {
|
|
|
|
|
2: attr('mastery', 80),
|
|
|
|
|
4: {
|
|
|
|
|
title: '触发元素反应后,队伍中所有角色的元素精通提高120点',
|
|
|
|
|
data: {
|
|
|
|
|
mastery: 120,
|
|
|
|
|
masteryInc: 120
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
赌徒: {
|
|
|
|
|
2: {
|
|
|
|
|
title: '元素战技造成的伤害提升20%',
|
|
|
|
|
data: {
|
|
|
|
|
eDmg: 20
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
流放者: {
|
|
|
|
|
2: attr('recharge', 20)
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
冒险家: {
|
2022-11-22 20:25:36 +00:00
|
|
|
|
2: attr('hpPlus', 1000, '', '点')
|
2022-11-20 20:45:27 +00:00
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
幸运儿: {
|
2022-11-22 20:25:36 +00:00
|
|
|
|
2: attr('defPlus', 100, '', '点')
|
2022-11-20 20:45:27 +00:00
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
学士: {
|
|
|
|
|
2: attr('recharge', 20)
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// TODO 此处是受治疗
|
|
|
|
|
游医: {
|
|
|
|
|
2: attr('heal', 20)
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
冰风迷途的勇士: {
|
2022-11-22 20:25:36 +00:00
|
|
|
|
2: attr('dmg', 15, '冰'),
|
2022-11-20 20:45:27 +00:00
|
|
|
|
4: {
|
|
|
|
|
check: ({ element }) => element === '冰',
|
|
|
|
|
title: '攻击处于冰元素影响下的敌人时,暴击率提高20%',
|
|
|
|
|
data: {
|
|
|
|
|
cpct: 20
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
平息鸣雷的尊者: {
|
|
|
|
|
4: {
|
|
|
|
|
check: ({ element }) => element === '雷',
|
|
|
|
|
title: '对处于雷元素影响下的敌人造成的伤害提升35%',
|
|
|
|
|
data: {
|
|
|
|
|
dmg: 35
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
渡过烈火的贤人: {
|
|
|
|
|
4: {
|
|
|
|
|
check: ({ element }) => element === '火',
|
|
|
|
|
title: '对处于火元素影响下的敌人造成的伤害提升35%',
|
|
|
|
|
data: {
|
|
|
|
|
dmg: 35
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
被怜爱的少女: {
|
|
|
|
|
2: attr('heal', 15),
|
|
|
|
|
4: {
|
|
|
|
|
title: '施放元素战技或元素爆发后,受治疗效果加成提高20%',
|
|
|
|
|
data: {
|
|
|
|
|
healInc: 20
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
角斗士的终幕礼: {
|
2022-11-22 20:25:36 +00:00
|
|
|
|
2: attr('atkPct', 18),
|
2022-11-20 20:45:27 +00:00
|
|
|
|
4: {
|
2022-11-26 08:12:32 +00:00
|
|
|
|
check: ({ weaponTypeName }) => ['单手剑', '双手剑', '长柄武器'].includes(weaponTypeName),
|
2022-11-20 20:45:27 +00:00
|
|
|
|
title: '角色普通攻击造成的伤害提高35%',
|
|
|
|
|
data: {
|
|
|
|
|
aDmg: 35
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
翠绿之影: {
|
2022-11-22 20:25:36 +00:00
|
|
|
|
2: attr('dmg', 15, '风'),
|
2022-11-20 20:45:27 +00:00
|
|
|
|
4: {
|
|
|
|
|
title: '扩散反应造成的伤害提升60%,降低对应元素抗性40%',
|
|
|
|
|
sort: 5,
|
|
|
|
|
data: {
|
|
|
|
|
swirl: 60,
|
|
|
|
|
fykx: 40
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
流浪大地的乐团: {
|
|
|
|
|
2: attr('mastery', 80),
|
|
|
|
|
4: {
|
2022-11-26 08:12:32 +00:00
|
|
|
|
check: ({ weaponTypeName }) => ['法器', '弓'].includes(weaponTypeName),
|
2022-11-20 20:45:27 +00:00
|
|
|
|
title: '乐团4:角色重击造成的伤害提高35%',
|
|
|
|
|
data: {
|
|
|
|
|
a2Dmg: 35
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
如雷的盛怒: {
|
2022-11-22 20:25:36 +00:00
|
|
|
|
2: attr('dmg', 15, '雷'),
|
2022-11-20 20:45:27 +00:00
|
|
|
|
4: {
|
|
|
|
|
title: '超载、感电、超导反应造成的伤害提升40%,超激化反应带来的伤害提升提高20%',
|
|
|
|
|
data: {
|
|
|
|
|
overloaded: 40,
|
|
|
|
|
electroCharged: 40,
|
|
|
|
|
superConduct: 40,
|
|
|
|
|
aggravate: 20
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
炽烈的炎之魔女: {
|
2022-11-22 20:25:36 +00:00
|
|
|
|
2: attr('dmg', 15, '火'),
|
2022-11-20 20:45:27 +00:00
|
|
|
|
4: {
|
|
|
|
|
check: ({ element }) => element === '火',
|
|
|
|
|
title: '蒸发、融化伤害提高15%,[buffCount]层额外提高[dmg]%火元素伤害加成,超载、燃烧、烈绽放反应造成的伤害提升40%',
|
|
|
|
|
data: {
|
|
|
|
|
vaporize: 15,
|
|
|
|
|
melt: 15,
|
|
|
|
|
overloaded: 40,
|
|
|
|
|
burning: 40,
|
|
|
|
|
burgeon: 40,
|
|
|
|
|
dmg: ({ params }) => (params.monv || 1) * 7.5,
|
|
|
|
|
buffCount: ({ params }) => params.monv || 1
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
昔日宗室之仪: {
|
|
|
|
|
2: {
|
|
|
|
|
title: '元素爆发造成的伤害提升20%',
|
|
|
|
|
data: {
|
|
|
|
|
qDmg: 20
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
4: {
|
|
|
|
|
title: '施放元素爆发后,攻击力提升20%',
|
|
|
|
|
check: ({ currentTalent }) => !currentTalent || currentTalent === 'q',
|
|
|
|
|
data: {
|
|
|
|
|
atkPct: 20
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
染血的骑士道: {
|
|
|
|
|
2: attr('phy', 25),
|
|
|
|
|
4: {
|
|
|
|
|
title: '染血4:击败敌人后的10秒内,重击造成的伤害提升50%',
|
|
|
|
|
data: {
|
|
|
|
|
a2Dmg: 50
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
悠古的磐岩: {
|
2022-11-22 20:25:36 +00:00
|
|
|
|
2: attr('dmg', 15, '岩'),
|
2022-11-20 20:45:27 +00:00
|
|
|
|
4: {
|
|
|
|
|
title: '获得元素反应晶片,对应元素伤害提高35%',
|
|
|
|
|
data: {
|
|
|
|
|
dmg: 35
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
逆飞的流星: {
|
|
|
|
|
2: attr('shield', 35),
|
|
|
|
|
4: {
|
|
|
|
|
title: '处于护盾庇护下时,获得40%普攻和重击伤害加成',
|
|
|
|
|
data: {
|
|
|
|
|
aDmg: 40,
|
|
|
|
|
a2Dmg: 40
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
沉沦之心: {
|
2022-11-22 20:25:36 +00:00
|
|
|
|
2: attr('dmg', 15, '水'),
|
2022-11-20 20:45:27 +00:00
|
|
|
|
4: {
|
|
|
|
|
title: '施放元素战技后,普攻与重击伤害提高30%',
|
|
|
|
|
data: {
|
|
|
|
|
aDmg: 30,
|
|
|
|
|
a2Dmg: 30
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
千岩牢固: {
|
2022-11-21 21:26:06 +00:00
|
|
|
|
2: attr('hpPct', 20),
|
2022-11-20 20:45:27 +00:00
|
|
|
|
4: {
|
|
|
|
|
title: '元素战技命中敌人后,攻击力提升20%',
|
|
|
|
|
data: {
|
|
|
|
|
atkPct: 20
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
苍白之火: {
|
|
|
|
|
2: attr('phy', 25),
|
|
|
|
|
4: {
|
|
|
|
|
title: '2层提高18%攻击力,物理伤害额外提高25%',
|
|
|
|
|
data: {
|
|
|
|
|
atkPct: 18,
|
|
|
|
|
phy: 25
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
追忆之注连: {
|
2022-11-22 20:25:36 +00:00
|
|
|
|
2: attr('atkPct', 18),
|
2022-11-20 20:45:27 +00:00
|
|
|
|
4: {
|
|
|
|
|
title: '施放元素战技后,普通攻击、重击、下落攻击造成的伤害提高50%',
|
|
|
|
|
data: {
|
|
|
|
|
aDmg: 50,
|
|
|
|
|
a2Dmg: 50,
|
|
|
|
|
a3Dmg: 50
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
绝缘之旗印: {
|
|
|
|
|
2: attr('recharge', 20),
|
|
|
|
|
4: {
|
|
|
|
|
title: '基于元素充能效率提高元素爆发[qDmg]%伤害',
|
|
|
|
|
data: {
|
|
|
|
|
qDmg: ({ attr }) => Math.min(75, (attr.recharge.base + attr.recharge.plus) * 0.25)
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
2022-11-20 20:45:27 +00:00
|
|
|
|
华馆梦醒形骸记: {
|
2022-11-21 21:26:06 +00:00
|
|
|
|
2: attr('defPct', 30),
|
2022-11-20 20:45:27 +00:00
|
|
|
|
4: {
|
|
|
|
|
title: '满层获得24%防御及24%岩伤加成',
|
|
|
|
|
sort: 0,
|
|
|
|
|
data: {
|
|
|
|
|
defPct: 24,
|
|
|
|
|
dmg: 24
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
海染砗磲: {
|
|
|
|
|
2: attr('heal', 15)
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
辰砂往生录: {
|
2022-11-21 21:26:06 +00:00
|
|
|
|
2: attr('atkPct', 18),
|
2022-11-20 20:45:27 +00:00
|
|
|
|
4: {
|
|
|
|
|
title: '满层提高48%攻击力',
|
|
|
|
|
data: {
|
|
|
|
|
atkPct: 48
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
来歆余响: {
|
2022-11-21 21:26:06 +00:00
|
|
|
|
2: attr('atkPct', 18),
|
2022-11-20 20:45:27 +00:00
|
|
|
|
4: {
|
|
|
|
|
title: '触发提高普攻[aPlus]伤害',
|
2023-02-28 17:22:57 +00:00
|
|
|
|
sort: 10,
|
2022-11-20 20:45:27 +00:00
|
|
|
|
data: {
|
2022-12-03 19:47:23 +00:00
|
|
|
|
aPlus: ({ attr }) => (attr.atk.base + attr.atk.plus + attr.atk.pct * attr.atk.base / 100) * 0.35
|
2022-11-20 20:45:27 +00:00
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
深林的记忆: {
|
2022-11-22 20:25:36 +00:00
|
|
|
|
2: attr('dmg', 15, '草'),
|
2022-11-20 20:45:27 +00:00
|
|
|
|
4: {
|
|
|
|
|
title: '元素战技或元素爆发命中敌人后,使命中目标的草元素抗性降低30%',
|
2023-03-31 20:03:05 +00:00
|
|
|
|
check: ({ element }) => element === '草',
|
2022-11-20 20:45:27 +00:00
|
|
|
|
data: {
|
|
|
|
|
kx: 30
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
饰金之梦: {
|
|
|
|
|
2: attr('mastery', 80),
|
|
|
|
|
4: {
|
|
|
|
|
title: '队伍存在其他3个不同元素类型角色时,精通提高150',
|
2023-02-28 17:22:57 +00:00
|
|
|
|
sort: 0,
|
2022-11-20 20:45:27 +00:00
|
|
|
|
data: {
|
|
|
|
|
mastery: 150
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
沙上楼阁史话: {
|
2022-11-22 20:25:36 +00:00
|
|
|
|
2: attr('dmg', 15, '风'),
|
2022-11-20 20:45:27 +00:00
|
|
|
|
4: {
|
|
|
|
|
title: '重击命中敌人后,普攻重击与下落攻击伤害提升40',
|
|
|
|
|
data: {
|
|
|
|
|
aDmg: 40,
|
|
|
|
|
a2Dmg: 40,
|
|
|
|
|
a3Dmg: 40
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-20 20:45:27 +00:00
|
|
|
|
|
|
|
|
|
乐园遗落之花: {
|
|
|
|
|
2: attr('mastery', 80),
|
|
|
|
|
4: {
|
|
|
|
|
title: '满层提高绽放、超绽放、烈绽放反应造成的伤害提升80%',
|
|
|
|
|
data: {
|
|
|
|
|
bloom: 80,
|
|
|
|
|
burgeon: 80,
|
|
|
|
|
hyperBloom: 80
|
|
|
|
|
}
|
2022-09-24 12:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-09-24 22:42:48 +00:00
|
|
|
|
export default buffs
|