dev
This commit is contained in:
@@ -233,6 +233,7 @@ def 锻造四维(装备等级, 品质, 锻造等级):
|
|||||||
'玄机弓': (1, 1, 1),
|
'玄机弓': (1, 1, 1),
|
||||||
'强攻弩': (1.05, 1, 1),
|
'强攻弩': (1.05, 1, 1),
|
||||||
'妖影弓': (0.95, 0.95, 1),
|
'妖影弓': (0.95, 0.95, 1),
|
||||||
|
'嵌合弓': (1, 1, 1),
|
||||||
}
|
}
|
||||||
|
|
||||||
MP系数 = {
|
MP系数 = {
|
||||||
|
|||||||
Binary file not shown.
@@ -94,19 +94,19 @@ const mainAttr = computed(() => {
|
|||||||
return info
|
return info
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// a.match(/\[(?!.*?技能).*?]/g)
|
||||||
|
|
||||||
const detail = computed(() =>
|
const detail = computed(() =>
|
||||||
props.equipment?.detail.replace(
|
props.equipment?.detail.replace(
|
||||||
/\[([^\[\]技能]+?)\]/g,
|
/\[(?![^\]]*技能)[^\[\]]+\]/g, match => `<span style="color:#3d9147">${match}</span>`
|
||||||
'<span style="color:#3d9147">[$1]</span>',
|
)
|
||||||
),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const bufferDetail = computed(() => {
|
const bufferDetail = computed(() => {
|
||||||
const detail = props.equipment?.bufferDetail
|
const detail = props.equipment?.bufferDetail
|
||||||
if (!detail || detail == '-') return undefined
|
if (!detail || detail == '-') return undefined
|
||||||
return props.equipment?.bufferDetail.replace(
|
return props.equipment?.bufferDetail.replace(
|
||||||
/\[([^\[\]技能]+?)\]/g,
|
/\[(?![^\]]*技能)[^\[\]]+\]/g, match => `<span style="color:#3d9147">${match}</span>`
|
||||||
'<span style="color:#3d9147">[$1]</span>',
|
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user