This commit is contained in:
Aluxes 2024-04-02 02:20:43 +08:00
parent 20bdcf2573
commit 475fa37c02
No known key found for this signature in database
GPG Key ID: 6696152F9C003087
2 changed files with 8 additions and 8 deletions

View File

@ -45,7 +45,7 @@ export const buffs = [{
title: '天赋-翩舞永世之梦:丰穰之核增伤[bloom]%',
sort: 9,
data: {
bloom: ({ calc, attr }) => Math.min(400, (calc(attr.hp) - 30000) / 1000 * 9)
bloom: ({ attr }) => Math.min(400, attr.hp <= 30000 ? 0 : (attr.hp - 30000) / 1000 * 9)
}
}, {
title: '妮露1命水月造成的伤害提升65%',
@ -70,7 +70,7 @@ export const buffs = [{
cons: 6,
sort: 9,
data: {
cpct: ({ calc, attr }) => Math.min(30, calc(attr.hp) / 1000 * 0.6),
cdmg: ({ calc, attr }) => Math.min(60, calc(attr.hp) / 1000 * 1.2)
cpct: ({ attr }) => Math.min(30, attr.hp / 1000 * 0.6),
cdmg: ({ attr }) => Math.min(60, attr.hp / 1000 * 1.2)
}
}, 'vaporize']

View File

@ -77,7 +77,7 @@ export const buffs = [{
title: '天赋-翩舞永世之梦:丰穰之核增伤[bloom]%',
sort: 9,
data: {
bloom: ({ calc, attr }) => Math.min(400, (calc(attr.hp) - 30000) / 1000 * 9)
bloom: ({ attr }) => Math.min(400, attr.hp <= 30000 ? 0 : (attr.hp - 30000) / 1000 * 9)
}
}, {
title: '妮露1命水月造成的伤害提升65%',
@ -152,8 +152,8 @@ export const buffs = [{
cons: 6,
sort: 9,
data: {
cpct: ({ calc, attr }) => Math.min(30, calc(attr.hp) / 1000 * 0.6),
cdmg: ({ calc, attr }) => Math.min(60, calc(attr.hp) / 1000 * 1.2)
cpct: ({ attr }) => Math.min(30, attr.hp / 1000 * 0.6),
cdmg: ({ attr }) => Math.min(60, attr.hp / 1000 * 1.2)
}
}, {
check: ({ params }) => team2.is(params),