mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-21 22:48:13 +00:00
修复语法错误(建议下次提PR先自己测一遍)
This commit is contained in:
parent
831f7f365c
commit
a4374f300b
@ -6,11 +6,11 @@ export const details = [{
|
|||||||
dmg: ({ talent }, dmg) => dmg(talent.e['喷火伤害'], 'e', 'vaporize')
|
dmg: ({ talent }, dmg) => dmg(talent.e['喷火伤害'], 'e', 'vaporize')
|
||||||
}, {
|
}, {
|
||||||
title: '旋火轮单次伤害',
|
title: '旋火轮单次伤害',
|
||||||
let i = 1,
|
params: { isQ: true},
|
||||||
dmg: ({ talent }, dmg) => dmg(talent.q['旋火轮伤害'], 'q')
|
dmg: ({ talent }, dmg) => dmg(talent.q['旋火轮伤害'], 'q')
|
||||||
}, {
|
}, {
|
||||||
title: '旋火轮单次蒸发',
|
title: '旋火轮单次蒸发',
|
||||||
let i = 1,
|
params: { isQ: true },
|
||||||
dmg: ({ talent }, dmg) => dmg(talent.q['旋火轮伤害'], 'q', 'vaporize')
|
dmg: ({ talent }, dmg) => dmg(talent.q['旋火轮伤害'], 'q', 'vaporize')
|
||||||
}]
|
}]
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ export const buffs = [{
|
|||||||
kx: 15
|
kx: 15
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
check: i !== 1,
|
check: ({ params }) => !params.isQ,
|
||||||
title: '香菱6命:旋火轮持续期间获得15%火伤加成',
|
title: '香菱6命:旋火轮持续期间获得15%火伤加成',
|
||||||
cons: 6,
|
cons: 6,
|
||||||
data: {
|
data: {
|
||||||
|
@ -8,20 +8,15 @@ export const details = [{
|
|||||||
dmg: ({ talent }, dmg) => dmg(talent.e['喷火伤害'], 'e', 'vaporize')
|
dmg: ({ talent }, dmg) => dmg(talent.e['喷火伤害'], 'e', 'vaporize')
|
||||||
}, {
|
}, {
|
||||||
title: ' 旋火轮单次伤害',
|
title: ' 旋火轮单次伤害',
|
||||||
let i = 1,
|
params: { team: false, isQ: true },
|
||||||
params: { team: false },
|
|
||||||
dmg: ({ talent }, dmg) => dmg(talent.q['旋火轮伤害'], 'q')
|
dmg: ({ talent }, dmg) => dmg(talent.q['旋火轮伤害'], 'q')
|
||||||
}, {
|
}, {
|
||||||
title: '雷国旋火轮单次蒸发',
|
title: '雷国旋火轮单次蒸发',
|
||||||
let i = 1,
|
params: { team: true, isQ: true, x: 2 },
|
||||||
let x = 2,
|
|
||||||
params: { team: true },
|
|
||||||
dmg: ({ talent }, dmg) => dmg(talent.q['旋火轮伤害'], 'q', 'vaporize')
|
dmg: ({ talent }, dmg) => dmg(talent.q['旋火轮伤害'], 'q', 'vaporize')
|
||||||
},{
|
},{
|
||||||
title: '万达旋火轮单次蒸发',
|
title: '万达旋火轮单次蒸发',
|
||||||
let i = 1,
|
params: { team: true, isQ: true, x: 1 },
|
||||||
let x = 1,
|
|
||||||
params: { team: true },
|
|
||||||
dmg: ({ talent }, dmg) => dmg(talent.q['旋火轮伤害'], 'q', 'vaporize')
|
dmg: ({ talent }, dmg) => dmg(talent.q['旋火轮伤害'], 'q', 'vaporize')
|
||||||
}]
|
}]
|
||||||
|
|
||||||
@ -39,7 +34,7 @@ export const buffs = [{
|
|||||||
kx: 15
|
kx: 15
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
check: i !== 1,
|
check: ({ params }) => !params.isQ,
|
||||||
title: '香菱6命:旋火轮持续期间获得15%火伤加成',
|
title: '香菱6命:旋火轮持续期间获得15%火伤加成',
|
||||||
cons: 6,
|
cons: 6,
|
||||||
data: {
|
data: {
|
||||||
@ -52,19 +47,19 @@ export const buffs = [{
|
|||||||
atkPlus: 1202.35
|
atkPlus: 1202.35
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
check: ({ params , artis }) => params.team === true && artis.昔日宗室之仪 !== 4 ,
|
check: ({ params , artis }) => params.team === true && artis['昔日宗室之仪'] !== 4 ,
|
||||||
title: '班尼特-昔日宗室之仪:增加攻击[atkPct]%',
|
title: '班尼特-昔日宗室之仪:增加攻击[atkPct]%',
|
||||||
data: {
|
data: {
|
||||||
atkPct: 20
|
atkPct: 20
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
check: x == 2,
|
check: ({ params }) => params.x === 2,
|
||||||
title: '雷电将军增伤:获得[qDmg]%元素爆发增伤',
|
title: '雷电将军增伤:获得[qDmg]%元素爆发增伤',
|
||||||
data: {
|
data: {
|
||||||
qDmg: 24
|
qDmg: 24
|
||||||
}
|
}
|
||||||
},{
|
},{
|
||||||
check: ({ cons, params }) => cons <= 1 && params.team === true && x == 1,
|
check: ({ cons, params }) => cons <= 1 && params.team === true && params.x === 1,
|
||||||
title: '精1苍古0命万叶:获得[dmg]%增伤(苍古普攻16增伤),增加[atkPct]%攻击,减抗[kx]%',
|
title: '精1苍古0命万叶:获得[dmg]%增伤(苍古普攻16增伤),增加[atkPct]%攻击,减抗[kx]%',
|
||||||
data: {
|
data: {
|
||||||
aDmg: 16,
|
aDmg: 16,
|
||||||
@ -75,7 +70,7 @@ export const buffs = [{
|
|||||||
kx: 40
|
kx: 40
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
check: ({ cons, params }) => ((cons < 6 && cons > 1) && params.team === true && x == 1),
|
check: ({ cons, params }) => ((cons < 6 && cons > 1) && params.team === true && params.x === 1),
|
||||||
title: '精1苍古2命万叶:获得[dmg]%增伤(苍古普攻16增伤),增加[atkPct]%攻击,减抗[kx]%,精通[mastery]',
|
title: '精1苍古2命万叶:获得[dmg]%增伤(苍古普攻16增伤),增加[atkPct]%攻击,减抗[kx]%,精通[mastery]',
|
||||||
data: {
|
data: {
|
||||||
aDmg: 16,
|
aDmg: 16,
|
||||||
@ -87,7 +82,7 @@ export const buffs = [{
|
|||||||
mastery: 200
|
mastery: 200
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
check: ({ cons, params }) => (cons >= 6 && params.team === true && x == 1),
|
check: ({ cons, params }) => (cons >= 6 && params.team === true && params.x === 1),
|
||||||
title: '精5苍古6命万叶:获得[dmg]%增伤(苍古普攻32增伤),增加[atkPct]%攻击,减抗[kx]%,精通[mastery]',
|
title: '精5苍古6命万叶:获得[dmg]%增伤(苍古普攻32增伤),增加[atkPct]%攻击,减抗[kx]%,精通[mastery]',
|
||||||
data: {
|
data: {
|
||||||
aDmg: 32,
|
aDmg: 32,
|
||||||
|
Loading…
Reference in New Issue
Block a user