mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-24 00:21:29 +00:00
Update artis.js
This commit is contained in:
parent
939623c342
commit
7df716fe30
@ -1,15 +1,8 @@
|
||||
import { usefulAttr } from "../../artifact/artis-mark.js"
|
||||
|
||||
export default function ({ attr, weapon, rule, def }) {
|
||||
let title = []
|
||||
let recharge = 55
|
||||
if (weapon.name === '万世流涌大典') {
|
||||
title.push('万世流涌大典')
|
||||
recharge = 40
|
||||
}
|
||||
if (title.length > 0) {
|
||||
let role = usefulAttr['那维莱特'];
|
||||
return rule(`那维莱特-${title.join('')}`, { role.hp, role.atk, role.def, role.cpct, role.cdmg, role.mastery, role.dmg, role.phy, recharge, role.heal })
|
||||
return rule(`那维莱特-专武`, { hp: 100, atk: 0, def: 0, cpct: 100, cdmg: 100, mastery: 0, dmg: 100, phy: 0, recharge: 40, heal: 0 })
|
||||
}
|
||||
return def(usefulAttr['那维莱特'])
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user