将风伤加成对染色伤害的惩罚前移

This commit is contained in:
restid 2024-11-30 14:38:48 +08:00
parent 7effa2567a
commit a605cdcbe3

View File

@ -323,6 +323,9 @@ export default class Avatar extends Base {
this.attr[key] = artisMain.value
else
this.attr[key] = 0
if (artisMain.key === 'anemo')
for (let key of ['pyro', 'hydro', 'electro', 'cryo'])
this.attr[key] = -artisMain.value
}
this.base = attr.getBase()
}