diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d29ad39..aa5e52e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,10 @@ -# 2.5.1 dev +# 2.5.1 * 面板功能升级 * 角色面板展示圣遗物副词缀统计 * 星铁面板展示圣遗物评分与评级 * 功能重构与目录调整 + * **注意:** 由于底层架构与目录调整,如有其他miao-plugin相关功能(例如面板图或伤害计算等)可能会有不兼容情况,短期内请谨慎升级 * 重构Models的结构,重构Meta的数据处理逻辑 * 重构面板数据、圣遗物数据、角色属性的处理与保存逻辑 * 原神的面板数据迁移至 **/data/PlayerData/gs**,原神资源迁移至**resources/meta-gs** diff --git a/models/avatar/ProfileAvatar.js b/models/avatar/ProfileAvatar.js index f1d1a604..3d51d844 100644 --- a/models/avatar/ProfileAvatar.js +++ b/models/avatar/ProfileAvatar.js @@ -38,7 +38,7 @@ const ProfileAvatar = { return false } // 检查武器及天赋 - if (!avatar.weapon || lodash.isUndefined(avatar.weapon.promote) || !avatar.talent) { + if (avatar.isGs && (!avatar.weapon || lodash.isUndefined(avatar.weapon.promote) || !avatar.talent)) { return false } // 检查圣遗物词条是否完备 diff --git a/resources/character/profile-stat.css b/resources/character/profile-stat.css index dc5dca9a..175f72e6 100644 --- a/resources/character/profile-stat.css +++ b/resources/character/profile-stat.css @@ -370,4 +370,4 @@ body { .cont-notice span { margin-left: 5px; } -/*# sourceMappingURL=profile-stat.css.map */ +/*# sourceMappingURL=profile-stat.css.map */ \ No newline at end of file diff --git a/resources/character/rank-profile-list.css b/resources/character/rank-profile-list.css index a75ff810..3fdccb47 100644 --- a/resources/character/rank-profile-list.css +++ b/resources/character/rank-profile-list.css @@ -16,7 +16,7 @@ body { .group-rank-icon { width: 16px; height: 16px; - background: url("imgs/mark-icon.png"); + background: url("./imgs/mark-icon.png"); background-size: auto 100%; display: inline-block; vertical-align: bottom; @@ -55,7 +55,7 @@ body { width: 24px; height: 24px; margin: 13px 12px; - background: url('imgs/mark-icon.png'); + background: url('./imgs/mark-icon.png'); background-size: auto 100%; text-align: center; font-size: 12px; @@ -66,7 +66,7 @@ body { .char-idx .idx-icon.mode-dmg.idx-1 { width: 48px; margin: 13px 0; - background-image: url('imgs/mark-icon2.png'); + background-image: url('./imgs/mark-icon2.png'); color: rgba(0, 0, 0, 0); text-shadow: none; } @@ -342,3 +342,4 @@ body { font-size: 12px; color: #aaa; } +/*# sourceMappingURL=rank-profile-list.css.map */ \ No newline at end of file