删除多余的回车

This commit is contained in:
liangshi 2023-12-22 22:45:20 +08:00
parent 65f196183b
commit e9eb8c1b5a
2 changed files with 20 additions and 40 deletions

View File

@ -1,17 +1,13 @@
export const details = [
{
export const details = [{
title: '下落攻击·踏云献瑞伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['下落攻击·踏云献瑞伤害'], 'a3')
},
{
},{
title: '下落攻击·踏云献瑞蒸发',
dmg: ({ talent }, dmg) => dmg(talent.e['下落攻击·踏云献瑞伤害'], 'a3', 'vaporize')
},
{
},{
title: '猊兽·文仔砸击伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['猊兽·文仔砸击伤害'], 'q')
},
{
},{
title: '猊兽·文仔砸击蒸发',
dmg: ({ talent }, dmg) => dmg(talent.q['猊兽·文仔砸击伤害'], 'q', 'vaporize')
}]
@ -19,30 +15,26 @@ export const details = [
export const defDmgIdx = 2
export const mainAttr = 'atk,cpct,cdmg'
export const buffs = [
{
export const buffs = [{
title: '嘉明天赋生命值低于50%时,获得[healInc]%受治疗加成。生命值高于或等于50%时,下落攻击·踏云献瑞造成的伤害提升[a3Dmg]%。',
data: {
healInc: 20,
a3Dmg: 20
}
},
{
},{
title: '嘉明2命受到治疗溢出,攻击力提升[atkPct]%',
sort: 1,
cons: 2,
data: {
atkPct: 20
}
},
{
},{
title: '嘉明6命下落攻击·踏云献瑞的暴击率提升[a3Cpct]%,暴击伤害提升[a3Cdmg]%',
cons: 6,
data: {
a3Cpct: 20,
a3Cdmg: 40
}
}
]
}]
export const createdBy = 'liangshi'

View File

@ -1,5 +1,4 @@
export const details = [
{
export const details = [{
title: '仙力助推下落攻击伤害提升值',
dmg: ({ calc, attr, cons }) => {
let cons2 = cons * 1 >= 2 ? ( Math.min( calc(attr.atk) * 136 / 100 , 6800 ) ) : 0
@ -7,31 +6,25 @@ export const details = [
avg: Math.min( calc(attr.atk) * 170 / 100 , 8500 ) + cons2
}
}
},
{
},{
title: '步天梯伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['仙人姿态路径伤害'], 'e')
},
{
},{
title: '一段跳冲击波伤害',
params: { btt: 1 },
dmg: ({ talent }, dmg) => dmg(talent.e['一段跳 · 鹤形追击伤害'], 'a3')
},
{
},{
title: '二段跳冲击波伤害',
params: { btt: 2 },
dmg: ({ talent }, dmg) => dmg(talent.e['二段跳 · 鹤形追击伤害'], 'a3')
},
{
},{
title: '三段跳冲击波伤害',
params: { btt: 3 },
dmg: ({ talent }, dmg) => dmg(talent.e['三段跳 · 鹤形追击伤害'], 'a3')
},
{
},{
title: '暮集竹星释放伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['施放瞬间伤害'], 'q')
},
{
},{
title: '暮集竹星释放治疗',
dmg: ({ attr, calc, talent, cons }, { heal }) => {
let xz = talent.q['施放瞬间治疗2'][0] * calc(attr.atk) / 100 + talent.q['施放瞬间治疗2'][1] * 1
@ -42,31 +35,27 @@ export const details = [
export const defDmgIdx = 0
export const mainAttr = 'atk,cpct,cdmg'
export const buffs = [
{
export const buffs = [{
title: '闲云天赋Q后下落攻击坠地冲击造成的伤害提升[a3Plus]',
sort: 9,
data: {
a3Plus: ({ attr, calc }) => Math.min( calc(attr.atk) * 136 / 100 , 8500 )
}
},
{
},{
title: '闲云2命施放朝起鹤云后攻击力提升[atkPct]%',
sort: 1,
cons: 2,
data: {
atkPct: 20
}
},
{
},{
title: '闲云2命Q后下落攻击坠地冲击造成的伤害额外提升[a3Plus]',
sort: 9,
cons: 2,
data: {
a3Plus: ({ attr, calc }) => Math.min( calc(attr.atk) * 170 / 100 , 6800 )
}
},
{
},{
check: ({ params }) => params.btt !== undefined ,
title: '闲云6命施展了[buffCount]次步天梯,闲云冲击波的暴击伤害提升[a3Cdmg]%',
cons: 6,
@ -74,7 +63,6 @@ export const buffs = [
buffCount: ({ params }) => Params.btt ,
a3Cdmg: ({ params }) => 15 + Math.floor( Params.btt / 2 ) * 20 + Math.floor( Params.btt / 3 ) * 35
}
}
]
}]
export const createdBy = 'liangshi'