mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
parent
aaf25da5ae
commit
08901a6f89
@ -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}`],
|
||||
|
BIN
resources/meta-sr/character/星·存护/imgs/tree-1.webp
Normal file
BIN
resources/meta-sr/character/星·存护/imgs/tree-1.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.4 KiB |
BIN
resources/meta-sr/character/星·存护/imgs/tree-2.webp
Normal file
BIN
resources/meta-sr/character/星·存护/imgs/tree-2.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
resources/meta-sr/character/星·存护/imgs/tree-3.webp
Normal file
BIN
resources/meta-sr/character/星·存护/imgs/tree-3.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Loading…
Reference in New Issue
Block a user