mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
fix: 计算
This commit is contained in:
parent
4604f888af
commit
39b84180bf
4 changed files with 22 additions and 11 deletions
|
|
@ -103,6 +103,17 @@ export class EquipMainProperty {
|
|||
}
|
||||
return this.score;
|
||||
}
|
||||
|
||||
/** @type {string} */
|
||||
get short_name() {
|
||||
if (this.property_name.includes('属性伤害加成')) {
|
||||
return this.property_name.replace('属性伤害加成', '伤加成');
|
||||
}
|
||||
if (this.property_name === '能量自动回复') {
|
||||
return '能量回复';
|
||||
}
|
||||
return this.property_name;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue