mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
添加白术伤害计算方式
This commit is contained in:
parent
cba2c2d207
commit
de1e421cf6
@ -17,7 +17,7 @@ export const usefulAttr = {
|
||||
香菱: { hp: 0, atk: 75, def: 0, cpct: 100, cdmg: 100, mastery: 75, dmg: 100, phy: 0, recharge: 55, heal: 0 },
|
||||
胡桃: { hp: 80, atk: 50, def: 0, cpct: 100, cdmg: 100, mastery: 75, dmg: 100, phy: 0, recharge: 0, heal: 0 },
|
||||
温迪: { hp: 0, atk: 75, def: 0, cpct: 100, cdmg: 100, mastery: 75, dmg: 100, phy: 0, recharge: 55, heal: 0 },
|
||||
珊瑚宫心海: { hp: 100, atk: 50, def: 0, cpct: 0, cdmg: 0, mastery: 100, dmg: 100, phy: 0, recharge: 55, heal: 100 },
|
||||
珊瑚宫心海: { hp: 100, atk: 50, def: 0, cpct: 0, cdmg: 0, mastery: 75, dmg: 100, phy: 0, recharge: 55, heal: 100 },
|
||||
莫娜: { hp: 0, atk: 75, def: 0, cpct: 100, cdmg: 100, mastery: 75, dmg: 100, phy: 0, recharge: 75, heal: 0 },
|
||||
阿贝多: { hp: 0, atk: 0, def: 100, cpct: 100, cdmg: 100, mastery: 0, dmg: 100, phy: 0, recharge: 0, heal: 0 },
|
||||
迪奥娜: { hp: 100, atk: 50, def: 0, cpct: 50, cdmg: 50, mastery: 0, dmg: 100, phy: 0, recharge: 90, heal: 100 },
|
||||
@ -67,5 +67,5 @@ export const usefulAttr = {
|
||||
艾尔海森: { hp: 0, atk: 75, def: 0, cpct: 100, cdmg: 100, mastery: 100, dmg: 100, phy: 0, recharge: 35, heal: 0 },
|
||||
迪希雅: { hp: 75, atk: 75, def: 0, cpct: 100, cdmg: 100, mastery: 100, dmg: 100, phy: 0, recharge: 55, heal: 0 },
|
||||
米卡: { hp: 75, atk: 55, def: 0, cpct: 100, cdmg: 100, mastery: 0, dmg: 75, phy: 75, recharge: 55, heal: 100 },
|
||||
白术: { hp: 100, atk: 0, def: 0, cpct: 100, cdmg: 100, mastery: 100, dmg: 100, phy: 0, recharge: 75, heal: 100 }
|
||||
白术: { hp: 100, atk: 0, def: 0, cpct: 100, cdmg: 100, mastery: 75, dmg: 100, phy: 0, recharge: 75, heal: 100 }
|
||||
}
|
||||
|
18
resources/meta/character/白术/calc.js
Normal file
18
resources/meta/character/白术/calc.js
Normal file
@ -0,0 +1,18 @@
|
||||
export const details = [{
|
||||
title: '游丝徵灵治疗量',
|
||||
dmg: ({ talent, calc, attr }, { heal }) => heal(calc(attr.hp) * talent.e['治疗量2'][0] / 100 + talent.e['治疗量2'][1])
|
||||
}, {
|
||||
title: '2命游丝徵灵·切治疗量',
|
||||
dmg: ({ talent, calc, attr }, { heal }) => heal((calc(attr.hp) * talent.e['治疗量2'][0] / 100 + talent.e['治疗量2'][1]) * 1.2)
|
||||
}, {
|
||||
title: 'Q每跳治疗量',
|
||||
dmg: ({ talent, calc, attr }, { heal }) =>
|
||||
heal(talent.q['无郤气护盾治疗量2'][0] * calc(attr.hp) / 100 + talent.q['无郤气护盾治疗量2'][1])
|
||||
}, {
|
||||
title: 'Q每跳护盾吸收量',
|
||||
dmg: ({ talent, calc, attr }, { shield }) => shield(talent.q['无郤气护盾吸收量2'][0] * calc(attr.hp) / 100 + talent.q['无郤气护盾吸收量2'][1])
|
||||
}]
|
||||
|
||||
export const mainAttr = 'atk,hp,cpct,cdmg'
|
||||
|
||||
export const buffs = []
|
Loading…
Reference in New Issue
Block a user