mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-21 22:48:13 +00:00
修复冰系带冰套打融化能吃到四件套效果的问题
This commit is contained in:
parent
3c669cd780
commit
43599bcf66
@ -129,7 +129,10 @@ let DmgAttr = {
|
||||
let aCfg = attrMap[reduceAttr]
|
||||
attr[reduceAttr][aCfg.calc] -= aCfg.value
|
||||
}
|
||||
|
||||
|
||||
lodash.forEach(buffs, (buff) => {
|
||||
meta.mastery = meta.mastery || buff.mastery // 先反应
|
||||
})
|
||||
lodash.forEach(buffs, (buff) => {
|
||||
let ds = DmgAttr.getDs(attr, meta, params)
|
||||
|
||||
|
@ -122,7 +122,7 @@ const buffs = {
|
||||
冰风迷途的勇士: {
|
||||
2: attr('dmg', 15, '冰'),
|
||||
4: {
|
||||
check: ({ element }) => element === '冰',
|
||||
check: ({ element, mastery }) => element === '冰' && mastery != 'melt',
|
||||
title: '攻击处于冰元素影响下的敌人时,暴击率提高20%',
|
||||
data: {
|
||||
cpct: 20
|
||||
|
Loading…
Reference in New Issue
Block a user