From a605cdcbe3968bc8a54c775e154541c17ef5b438 Mon Sep 17 00:00:00 2001 From: restid <1-4134-5386-4941> Date: Sat, 30 Nov 2024 14:38:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E9=A3=8E=E4=BC=A4=E5=8A=A0=E6=88=90?= =?UTF-8?q?=E5=AF=B9=E6=9F=93=E8=89=B2=E4=BC=A4=E5=AE=B3=E7=9A=84=E6=83=A9?= =?UTF-8?q?=E7=BD=9A=E5=89=8D=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/Avatar.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/models/Avatar.js b/models/Avatar.js index 9e14e3ac..4cf9f517 100644 --- a/models/Avatar.js +++ b/models/Avatar.js @@ -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() }