mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
更新迪希雅组队与单人伤害,以及迪希雅评分 (#475)
This commit is contained in:
parent
b85057239a
commit
1f5ebc1381
@ -64,5 +64,6 @@ export const usefulAttr = {
|
||||
流浪者: { hp: 0, atk: 80, def: 0, cpct: 100, cdmg: 100, mastery: 0, dmg: 100, phy: 0, recharge: 35, heal: 0 },
|
||||
珐露珊: { hp: 0, atk: 75, def: 0, cpct: 100, cdmg: 100, mastery: 0, dmg: 75, phy: 0, recharge: 75, heal: 0 },
|
||||
瑶瑶: { hp: 100, atk: 75, def: 0, cpct: 100, cdmg: 100, mastery: 75, dmg: 100, phy: 0, recharge: 75, heal: 100 },
|
||||
艾尔海森: { hp: 0, atk: 75, def: 0, cpct: 100, cdmg: 100, mastery: 100, dmg: 100, phy: 0, recharge: 35, heal: 0 }
|
||||
艾尔海森: { 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 }
|
||||
}
|
||||
|
7
resources/meta/character/迪希雅/artis.js
Normal file
7
resources/meta/character/迪希雅/artis.js
Normal file
@ -0,0 +1,7 @@
|
||||
export default function ({ attr, artis, rule, def }) {
|
||||
if (artis.is('hp', '3,4,5') && attr.hp > 40000 && attr.cpct * 2 + attr.cdmg < 100) {
|
||||
// 血牛迪希雅,其余词缀权重不高于41.84,确保小生命命中副词缀最高权重
|
||||
return rule('迪希雅-血牛', { hp: 100, atk: 30, cpct: 41, cdmg: 41, recharge: 30 })
|
||||
}
|
||||
return def({ hp: 75, atk: 75, cpct: 100, cdmg: 100, dmg: 100, phy: 0, recharge: 75 })
|
||||
}
|
61
resources/meta/character/迪希雅/calc.js
Normal file
61
resources/meta/character/迪希雅/calc.js
Normal file
@ -0,0 +1,61 @@
|
||||
export const details = [{
|
||||
title: 'E释放伤害',
|
||||
params: { e2: false},
|
||||
dmg: ({ talent }, dmg) => dmg(talent.e['净焰昂藏伤害'], 'e')
|
||||
}, {
|
||||
title: 'E协同伤害',
|
||||
params: { e2: true},
|
||||
dmg: ({ talent, calc, attr, cons }, { basic }) => {
|
||||
const td = talent.e['领域伤害2']
|
||||
const hp = calc(attr.hp)
|
||||
const atk = calc(attr.atk)
|
||||
return basic(td[0] * atk / 100 + td[1] * hp / 100, 'e')
|
||||
}
|
||||
}, {
|
||||
title: 'Q炽鬃拳伤害',
|
||||
dmg: ({ talent, calc, attr, cons }, { basic }) => {
|
||||
const td = talent.q['炽鬃拳伤害2']
|
||||
const hp = calc(attr.hp)
|
||||
const atk = calc(attr.atk)
|
||||
return basic(td[0] * atk / 100 + td[1] * hp / 100, 'q')
|
||||
}
|
||||
}, {
|
||||
title: 'Q炽鬃拳蒸发伤害',
|
||||
dmg: ({ talent, calc, attr, cons }, { basic }) => {
|
||||
const td = talent.q['炽鬃拳伤害2']
|
||||
const hp = calc(attr.hp)
|
||||
const atk = calc(attr.atk)
|
||||
return basic(td[0] * atk / 100 + td[1] * hp / 100, 'q', '蒸发')
|
||||
}
|
||||
}]
|
||||
|
||||
export const defDmgIdx = 2
|
||||
export const mainAttr = 'hp,atk,cpct,cdmg'
|
||||
|
||||
export const defParams = {
|
||||
e2: true
|
||||
}
|
||||
|
||||
export const buffs = [{
|
||||
title: '迪希雅1命:生命值上限提升20%,e伤害提高[ePlus],q伤害提高[qPlus]',
|
||||
cons: 1,
|
||||
data: {
|
||||
hpPct: 20,
|
||||
ePlus: ({ attr, calc }) => calc(attr.hp) * 0.036,
|
||||
qPlus: ({ attr, calc }) => calc(attr.hp) * 0.06
|
||||
}
|
||||
}, {
|
||||
check: ({ params }) => params.e2 === true,
|
||||
title: '迪希雅2命:净焰剑狱下次协同攻击造成的伤害提升50%',
|
||||
cons: 2,
|
||||
data: {
|
||||
eDmg:50
|
||||
}
|
||||
}, {
|
||||
title: '迪希雅6命:暴击率增加10%,暴击伤害增加60%(默认叠满)',
|
||||
cons: 6,
|
||||
data: {
|
||||
cpct: 10,
|
||||
cdmg: 60
|
||||
}
|
||||
},'vaporize']
|
138
resources/meta/character/迪希雅/calc_auto.js
Normal file
138
resources/meta/character/迪希雅/calc_auto.js
Normal file
@ -0,0 +1,138 @@
|
||||
export const details = [{
|
||||
title: '单人E释放伤害',
|
||||
params: { team: false ,e2: false},
|
||||
dmg: ({ talent }, dmg) => dmg(talent.e['净焰昂藏伤害'], 'e')
|
||||
}, {
|
||||
title: '单人E协同伤害',
|
||||
params: { team: false ,e2: true},
|
||||
dmg: ({ talent, calc, attr, cons }, { basic }) => {
|
||||
const td = talent.e['领域伤害2']
|
||||
const hp = calc(attr.hp)
|
||||
const atk = calc(attr.atk)
|
||||
return basic(td[0] * atk / 100 + td[1] * hp / 100, 'e')
|
||||
}
|
||||
}, {
|
||||
title: '单人Q炽鬃拳伤害',
|
||||
params: { team: false },
|
||||
dmg: ({ talent, calc, attr, cons }, { basic }) => {
|
||||
const td = talent.q['炽鬃拳伤害2']
|
||||
const hp = calc(attr.hp)
|
||||
const atk = calc(attr.atk)
|
||||
return basic(td[0] * atk / 100 + td[1] * hp / 100, 'q')
|
||||
}
|
||||
},{
|
||||
title: '组队E释放伤害',
|
||||
params: { team: true ,e2: false},
|
||||
dmg: ({ talent }, dmg) => dmg(talent.e['净焰昂藏伤害'], 'e')
|
||||
}, {
|
||||
title: '组队E协同伤害',
|
||||
params: { team: true ,e2: true},
|
||||
dmg: ({ talent, calc, attr, cons }, { basic }) => {
|
||||
const td = talent.e['领域伤害2']
|
||||
const hp = calc(attr.hp)
|
||||
const atk = calc(attr.atk)
|
||||
return basic(td[0] * atk / 100 + td[1] * hp / 100, 'e')
|
||||
}
|
||||
}, {
|
||||
title: '组队Q炽鬃拳伤害',
|
||||
params: { team: true },
|
||||
dmg: ({ talent, calc, attr, cons }, { basic }) => {
|
||||
const td = talent.q['炽鬃拳伤害2']
|
||||
const hp = calc(attr.hp)
|
||||
const atk = calc(attr.atk)
|
||||
return basic(td[0] * atk / 100 + td[1] * hp / 100, 'q')
|
||||
}
|
||||
}, {
|
||||
title: '组队Q炽鬃拳蒸发伤害',
|
||||
params: { team: true },
|
||||
dmg: ({ talent, calc, attr, cons }, { basic }) => {
|
||||
const td = talent.q['炽鬃拳伤害2']
|
||||
const hp = calc(attr.hp)
|
||||
const atk = calc(attr.atk)
|
||||
return basic(td[0] * atk / 100 + td[1] * hp / 100, 'q', '蒸发')
|
||||
}
|
||||
}]
|
||||
|
||||
export const defDmgIdx = 5
|
||||
export const mainAttr = 'hp,atk,cpct,cdmg'
|
||||
|
||||
export const defParams = {
|
||||
team:true,e2: true
|
||||
}
|
||||
|
||||
export const buffs = [{
|
||||
title: '迪希雅1命:生命值上限提升20%,e伤害提高[ePlus],q伤害提高[qPlus]',
|
||||
cons: 1,
|
||||
data: {
|
||||
hpPct: 20,
|
||||
ePlus: ({ attr, calc }) => calc(attr.hp) * 0.036,
|
||||
qPlus: ({ attr, calc }) => calc(attr.hp) * 0.06
|
||||
}
|
||||
}, {
|
||||
check: ({ params }) => params.e2 === true,
|
||||
title: '迪希雅2命:净焰剑狱下次协同攻击造成的伤害提升50%',
|
||||
cons: 2,
|
||||
data: {
|
||||
eDmg:50
|
||||
}
|
||||
}, {
|
||||
title: '迪希雅6命:暴击率增加10%,暴击伤害增加60%(默认叠满)',
|
||||
cons: 6,
|
||||
data: {
|
||||
cpct: 10,
|
||||
cdmg: 60
|
||||
}
|
||||
}, {check: ({ params }) => params.team === true,
|
||||
title: '风鹰宗室班+双火:增加[atkPlus]点攻击力与[atkPct]%攻击力,获得[dmg]%增伤',
|
||||
data: {
|
||||
atkPct: 45,
|
||||
dmg: 15,
|
||||
atkPlus: 1202.35
|
||||
}
|
||||
}, {check: ({ cons,params }) => cons <= 1 && params.team === true,
|
||||
title: '精1苍古0命万叶:获得[dmg]%增伤(苍古普攻16增伤),增加[atkPct]%攻击,减抗[kx]%',
|
||||
data: {
|
||||
aDmg:16,
|
||||
a2Dmg:16,
|
||||
a3Dmg:16,
|
||||
dmg: 40,
|
||||
atkPct:20,
|
||||
kx:40,
|
||||
}
|
||||
}, {check: ({ cons,params }) => ((cons < 6 && cons >1) && params.team === true),
|
||||
title: '精1苍古2命万叶:获得[dmg]%增伤(苍古普攻16增伤),增加[atkPct]%攻击,减抗[kx]%,精通[mastery]',
|
||||
data: {
|
||||
aDmg:16,
|
||||
a2Dmg:16,
|
||||
a3Dmg:16,
|
||||
dmg: 48,
|
||||
atkPct:20,
|
||||
kx:40,
|
||||
mastery:200
|
||||
}
|
||||
}, {check: ({ cons,params }) => (cons >= 6 && params.team === true),
|
||||
title: '精5苍古6命万叶:获得[dmg]%增伤(苍古普攻32增伤),增加[atkPct]%攻击,减抗[kx]%,精通[mastery]',
|
||||
data: {
|
||||
aDmg:32,
|
||||
a2Dmg:32,
|
||||
a3Dmg:32,
|
||||
dmg: 48,
|
||||
atkPct:40,
|
||||
kx:40,
|
||||
mastery:200
|
||||
}
|
||||
}, {check: ({ cons,params }) => (cons >= 2&& params.team === true),
|
||||
title: '讨龙千岩满命莫娜:获得[dmg]%增伤,暴击[cpct]%,攻击[atkPct]%',
|
||||
data: {
|
||||
dmg: 60,
|
||||
vaporize:15,
|
||||
cpct:15,
|
||||
atkPct:68
|
||||
}
|
||||
}, {check: ({ cons,params }) => (cons < 2&& params.team === true),
|
||||
title: '讨龙千岩0命莫娜:获得[dmg]%增伤,攻击[atkPct]%',
|
||||
data: {
|
||||
dmg: 60,
|
||||
atkPct:68
|
||||
}
|
||||
}, 'vaporize']
|
@ -149,16 +149,11 @@ export default function (step, staticStep) {
|
||||
mastery: step(48)
|
||||
}
|
||||
},
|
||||
苇海信标: [{
|
||||
苇海信标: [staticStep('hpPct', 32), {
|
||||
title: '元素战技命中敌人并受伤害后提升攻击力[atkPct]%',
|
||||
refine: {
|
||||
atkPct: step(40)
|
||||
}
|
||||
}, {
|
||||
title: '不处于护盾下时,提高[hpPct]%生命值',
|
||||
refine: {
|
||||
hpPct: step(32)
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user