mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
薇薇安伤害计算
This commit is contained in:
parent
297be2d481
commit
7ace8908ff
9 changed files with 240 additions and 53 deletions
|
|
@ -264,7 +264,7 @@ export class ZZZAvatarInfo {
|
|||
this.level_rank = Math.floor(this.level / 10);
|
||||
const weight = scoreFnc[this.id] && scoreFnc[this.id](this);
|
||||
this.weightRule = weight?.[0] || '默认';
|
||||
this.scoreWeight = formatScoreWeight(weight?.[1]) || scoreWeight[this.id];
|
||||
this.scoreWeight = Object.assign(formatScoreWeight(weight?.[1]) || {}, scoreWeight[this.id]);
|
||||
for (const equip of this.equip) {
|
||||
equip.get_score(this.scoreWeight);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue