mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-21 14:38:30 +00:00
5.2内容计算
This commit is contained in:
parent
566f891824
commit
5682e92b08
@ -128,6 +128,7 @@ export default class ProfileDmg extends Base {
|
||||
let talent = this.talent()
|
||||
|
||||
let meta = {
|
||||
characterName: this.char?.name,
|
||||
level: profile.level,
|
||||
cons: profile.cons * 1,
|
||||
talent,
|
||||
|
@ -9,11 +9,11 @@ export const erType = {
|
||||
crystallize: { type: 'shield', num: () => 1, title: '结晶' },
|
||||
// 剧变反应
|
||||
burning: { type: 'fusion', num: () => 1, title: '燃烧' },
|
||||
superConduct: { type: 'fusion', num: () => 2, title: '超导' },
|
||||
superConduct: { type: 'fusion', num: () => 6, title: '超导' },
|
||||
swirl: { type: 'fusion', num: () => 2.4, title: '扩散' },
|
||||
electroCharged: { type: 'fusion', num: () => 4.8, title: '感电' },
|
||||
shatter: { type: 'fusion', num: () => 6, title: '碎冰' },
|
||||
overloaded: { type: 'fusion', num: () => 8, title: '超载' },
|
||||
electroCharged: { type: 'fusion', num: () => 8, title: '感电' },
|
||||
shatter: { type: 'fusion', num: () => 12, title: '碎冰' },
|
||||
overloaded: { type: 'fusion', num: () => 11, title: '超载' },
|
||||
bloom: { type: 'fusion', num: () => 8, title: '绽放' },
|
||||
burgeon: { type: 'fusion', num: () => 12, title: '烈绽放' },
|
||||
hyperBloom: { type: 'fusion', num: () => 12, title: '超绽放' },
|
||||
|
@ -124,14 +124,19 @@ export default function (step, staticStep) {
|
||||
}
|
||||
},
|
||||
|
||||
掠食者: {
|
||||
掠食者: [{
|
||||
check: ({ element }) => element === '冰',
|
||||
title: '满Buff普攻与重击伤害提高[aDmg]%,埃洛伊攻击力提升66',
|
||||
title: '满Buff普攻与重击伤害提高[aDmg]%',
|
||||
refine: {
|
||||
aDmg: [20]
|
||||
}
|
||||
}, {
|
||||
check: ({ characterName }) => characterName === '埃洛伊',
|
||||
title: '攻击力提升66点',
|
||||
refine: {
|
||||
aDmg: [20],
|
||||
atkPlus: 66
|
||||
}
|
||||
},
|
||||
}],
|
||||
|
||||
曚云之月: {
|
||||
title: '满层元素爆发伤害提高[qDmg]%',
|
||||
@ -276,6 +281,25 @@ export default function (step, staticStep) {
|
||||
atkPct: [4.8 * 3, 6 * 3, 7.2 * 3, 8.4 * 3, 9.6 * 3],
|
||||
mastery: step(24)
|
||||
}
|
||||
},
|
||||
星鹫赤羽: [{
|
||||
check: ({ element }) => !['草', '岩'].includes(element),
|
||||
title: '触发扩散反应后,攻击力提高[atkPct]%',
|
||||
refine: {
|
||||
atkPct: step(24)
|
||||
}
|
||||
}, {
|
||||
title: '存在至少2名元素类型不同的角色,重击造成的伤害提高[a2Dmg]%,元素爆发伤害提高[qDmg]%',
|
||||
refine: {
|
||||
a2Dmg: step(48),
|
||||
qDmg: step(24)
|
||||
}
|
||||
}],
|
||||
缀花之翎: {
|
||||
title: '重击造成的伤害提升[a2Dmg]%',
|
||||
refine: {
|
||||
a2Dmg: step(6 * 6)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -206,6 +206,12 @@ export default function (step, staticStep) {
|
||||
data: {
|
||||
aDmg: ({ attr, calc, refine }) => Math.min(Math.floor(calc(attr.hp) / 1000) * step(0.6, 0.1)[refine], step(16)[refine])
|
||||
}
|
||||
},
|
||||
乘浪的回旋: {
|
||||
title: '施放元素战技后,生命值上限提升[hpPct]%',
|
||||
refine: {
|
||||
hpPct: step(44)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -15,7 +15,8 @@ export default function (step, staticStep) {
|
||||
}
|
||||
},
|
||||
降临之剑: {
|
||||
title: '旅行者攻击力提高[atkPlus]',
|
||||
check: ({ characterName }) => ['空', '荧'].includes(characterName),
|
||||
title: '攻击力提高[atkPlus]点',
|
||||
data: {
|
||||
atkPlus: 66
|
||||
}
|
||||
@ -285,6 +286,15 @@ export default function (step, staticStep) {
|
||||
data: {
|
||||
dmg: ({ attr, calc, refine }) => Math.min(calc(attr.def) / 1000 * step(8)[refine], step(25.6)[refine])
|
||||
}
|
||||
}]
|
||||
}],
|
||||
厄水之祸: {
|
||||
title: '处于护盾庇护下,普攻和重击造成伤害提升[aDmg]%暴击率提升[aCpct]%',
|
||||
refine: {
|
||||
aDmg: step(20),
|
||||
a2Dmg: step(20),
|
||||
aCpct: step(8),
|
||||
a2Cpct: step(8)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user