mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-27 18:01:23 +00:00
387dfa9759
* 修复 峡湾长歌被动没有被计算 * 4.0武器伤害计算被动 * 勘误
189 lines
5.0 KiB
JavaScript
189 lines
5.0 KiB
JavaScript
export default function (step, staticStep) {
|
||
return {
|
||
翡玉法球: {
|
||
check: ({ element }) => element === '水',
|
||
title: '触发蒸发、感电、冰冻或水元素扩散反应后的12秒内,攻击力提高[atkPct]%',
|
||
refine: {
|
||
atkPct: step(20)
|
||
}
|
||
},
|
||
魔导绪论: {
|
||
check: ({ element }) => ['水', '雷'].includes(element),
|
||
title: '对处于水元素或雷元素影响下的敌人,造成的伤害提高[dmg]%',
|
||
refine: {
|
||
dmg: step(12)
|
||
}
|
||
},
|
||
甲级宝珏: {
|
||
title: '击败敌人后攻击力提升[atkPct]%',
|
||
refine: {
|
||
atkPct: step(12, 2)
|
||
}
|
||
},
|
||
黑岩绯玉: {
|
||
title: '击败敌人后,满层攻击力提升[atkPct]%',
|
||
buffCount: 3,
|
||
refine: {
|
||
atkPct: step(12)
|
||
}
|
||
},
|
||
万国诸海图谱: {
|
||
title: '触发元素反应后,满层提高[dmg]%的元素伤害',
|
||
buffCount: 2,
|
||
refine: {
|
||
dmg: step(8)
|
||
}
|
||
},
|
||
宗室秘法录: {
|
||
title: '3层状态下提高暴击率[cpct]%',
|
||
buffCount: 3,
|
||
refine: {
|
||
cpct: step(8)
|
||
}
|
||
},
|
||
匣里日月: {
|
||
title: '普攻提高元素战技与爆发伤害[eDmg]%,元素战技与爆发提高普攻伤害[aDmg]%',
|
||
refine: {
|
||
aDmg: step(20),
|
||
eDmg: step(20),
|
||
qDmg: step(20)
|
||
}
|
||
},
|
||
流浪乐章: {
|
||
title: '咏叹调下全元素伤害提升[dmg]%',
|
||
refine: {
|
||
dmg: step(48, 12)
|
||
}
|
||
},
|
||
暗巷的酒与诗: {
|
||
title: '冲刺后攻击力提升[atkPct]%',
|
||
refine: {
|
||
atkPct: step(20)
|
||
}
|
||
},
|
||
嘟嘟可故事集: {
|
||
title: '普攻提高重击伤害[a2Dmg]%,重击提高攻击力[atkPct]%',
|
||
refine: {
|
||
a2Dmg: step(16),
|
||
atkPct: step(8)
|
||
}
|
||
},
|
||
白辰之环: {
|
||
title: '与雷元素反应后提高元素反应加成[dmg]%',
|
||
refine: {
|
||
dmg: step(10, 2.5)
|
||
}
|
||
},
|
||
证誓之明瞳: {
|
||
title: '施放元素战技后,元素充能效率提升[recharge]%',
|
||
refine: {
|
||
recharge: step(24)
|
||
}
|
||
},
|
||
四风原典: {
|
||
title: '满层获得[dmg]%的元素伤害加成',
|
||
buffCount: 4,
|
||
refine: {
|
||
dmg: step(8)
|
||
}
|
||
},
|
||
天空之卷: {
|
||
title: '元素伤害加成提升[dmg]%',
|
||
refine: {
|
||
dmg: step(12)
|
||
}
|
||
},
|
||
尘世之锁: [{
|
||
title: '护盾强效提升[shield]%',
|
||
refine: {
|
||
shield: step(20)
|
||
}
|
||
}, {
|
||
title: '护盾+满层情况下攻击力提高[atkPct]%',
|
||
buffCount: 10,
|
||
refine: {
|
||
atkPct: step(4),
|
||
shield: step(20)
|
||
}
|
||
}],
|
||
不灭月华: [staticStep('heal', 10, 2.5), {
|
||
title: '治疗加成提高[_heal]%,普攻伤害增加[aPlus]',
|
||
refine: {
|
||
_heal: step(10, 2.5)
|
||
},
|
||
data: {
|
||
aPlus: ({ attr, calc, refine }) => calc(attr.hp) * step(1, 0.5)[refine] / 100
|
||
}
|
||
}],
|
||
神乐之真意: {
|
||
title: '满层提高元素战技伤害[eDmg]%,元素伤害提高[dmg]%',
|
||
refine: {
|
||
eDmg: [12 * 3, 15 * 3, 18 * 3, 21 * 3, 24 * 3],
|
||
dmg: step(12)
|
||
}
|
||
},
|
||
盈满之实: {
|
||
title: '满层提高元素精通[mastery],攻击力降低25%',
|
||
refine: {
|
||
mastery: step(24 * 5, 3 * 5),
|
||
atkPct: -25
|
||
}
|
||
},
|
||
流浪的晚星: {
|
||
title: '基于元素精通提升攻击力[atkPlus]',
|
||
data: {
|
||
atkPlus: ({ attr, calc, refine }) => step(24)[refine] * calc(attr.mastery) / 100
|
||
}
|
||
},
|
||
图莱杜拉的回忆: {
|
||
title: '满Buff下提高普攻伤害[aDmg]%',
|
||
refine: {
|
||
aDmg: step(48)
|
||
}
|
||
},
|
||
千夜浮梦: {
|
||
title: '3个不同元素队友满层,元素伤害提高[dmg]%',
|
||
buffCount: 3,
|
||
refine: {
|
||
dmg: step(10, 4)
|
||
}
|
||
},
|
||
碧落之珑: {
|
||
title: '释放元素爆发后基于生命值提高元素伤害[dmg]%',
|
||
data: {
|
||
dmg: ({ attr, calc, refine }) => Math.min(Math.floor(calc(attr.hp) / 1000) * step(0.3, 0.2)[refine], step(12, 8)[refine])
|
||
}
|
||
},
|
||
纯水流华: [staticStep('hpPct', 20), {
|
||
title: '生命之契提升[dmg]%全部元素伤害加成',
|
||
data: {
|
||
dmg: ({ attr, calc, refine }) => Math.min(Math.floor(calc(attr.hp) / 1000) * 2 * step(0.24)[refine], step(12)[refine])
|
||
},
|
||
}, {
|
||
title: '释放元素战技全部元素伤害加成提升[dmg]%',
|
||
refine: {
|
||
dmg: step(8),
|
||
}
|
||
}],
|
||
金流监督: [{
|
||
title: '攻击力提升[atkPlus]%',
|
||
refine: {
|
||
atkPlus: step(12)
|
||
}
|
||
}, {
|
||
title: '满层下,普通攻击造成的伤害提升[aDmg]%,重击造成的伤害提升[a2Dmg]%',
|
||
refine: {
|
||
aDmg: step(14 * 3),
|
||
a2Dmg: step(12 * 3)
|
||
}
|
||
}],
|
||
遗祀玉珑: [staticStep('hpPct', 16), {
|
||
title: '处于队伍后台超过6秒后,生命值上限提升[_hpPct]%,元素精通提升[mastery]点',
|
||
refine: {
|
||
_hpPct: step(32),
|
||
mastery: step(40)
|
||
}
|
||
}]
|
||
}
|
||
}
|