🎨 修改 abyss 插件使用的角色图标为侧面图标

This commit is contained in:
洛水居室 2022-10-06 11:46:06 +08:00
parent 3e643f8b54
commit c51e7692f1
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -65,23 +65,23 @@ class Abyss(Plugin, BasePlugin):
"total_stars": spiral_abyss_info.total_stars, "total_stars": spiral_abyss_info.total_stars,
"most_played_list": [], "most_played_list": [],
"most_kills": { "most_kills": {
"icon": await url_to_file(ranks.most_kills[0].icon), "icon": await url_to_file(ranks.most_kills[0].side_icon),
"value": ranks.most_kills[0].value, "value": ranks.most_kills[0].value,
}, },
"strongest_strike": { "strongest_strike": {
"icon": await url_to_file(ranks.strongest_strike[0].icon), "icon": await url_to_file(ranks.strongest_strike[0].side_icon),
"value": ranks.strongest_strike[0].value "value": ranks.strongest_strike[0].value
}, },
"most_damage_taken": { "most_damage_taken": {
"icon": await url_to_file(ranks.most_damage_taken[0].icon), "icon": await url_to_file(ranks.most_damage_taken[0].side_icon),
"value": ranks.most_damage_taken[0].value "value": ranks.most_damage_taken[0].value
}, },
"most_bursts_used": { "most_bursts_used": {
"icon": await url_to_file(ranks.most_bursts_used[0].icon), "icon": await url_to_file(ranks.most_bursts_used[0].side_icon),
"value": ranks.most_bursts_used[0].value "value": ranks.most_bursts_used[0].value
}, },
"most_skills_used": { "most_skills_used": {
"icon": await url_to_file(ranks.most_skills_used[0].icon), "icon": await url_to_file(ranks.most_skills_used[0].side_icon),
"value": ranks.most_skills_used[0].value "value": ranks.most_skills_used[0].value
} }
} }