!92 星铁主角面板图

* 星铁主角面板图
This commit is contained in:
其实雨很好 2024-05-14 11:13:40 +00:00 committed by Kokomi
parent aaf25da5ae
commit 08901a6f89
4 changed files with 16 additions and 1 deletions

View File

@ -53,7 +53,7 @@ const ProfileAvatar = {
},
getCostumeSplash (profile, game = 'gs') {
let { char, name } = profile
let { char, id, name } = profile
if (!Cfg.get('costumeSplash', true)) {
return char.getImgs(profile._costume).splash
}
@ -93,6 +93,21 @@ const ProfileAvatar = {
)) {
isSuper = true
}
// 特殊处理开拓者的情况
if (char.isTrailblazer) {
switch (id) {
case 8001:
case 8003:
case 8005:
name = '穹'
break
case 8002:
case 8004:
case 8006:
name = '星'
break
}
}
if (isSuper) {
return CharImg.getRandomImg(
[`profile/super-character/${name}`, `profile/normal-character/${name}`],

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB