mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-21 22:58:05 +00:00
🐛 fix /material
rarity icon
This commit is contained in:
parent
b02a791084
commit
725ab1806c
@ -62,26 +62,26 @@ class MaterialPlugin(Plugin):
|
||||
{
|
||||
"num": 1,
|
||||
"rarity": 2,
|
||||
"icon": (await ascension_material.icon()).as_uri(),
|
||||
"name": MATERIAL_DATA[str(ascension_material.id)]["name"],
|
||||
"icon": (await self.assets_service.material(ascension_material.id - 3).icon()).as_uri(),
|
||||
"name": MATERIAL_DATA[str(ascension_material.id - 3)]["name"],
|
||||
},
|
||||
{
|
||||
"num": 9,
|
||||
"rarity": 3,
|
||||
"icon": (await self.assets_service.material(ascension_material.id - 1).icon()).as_uri(),
|
||||
"name": MATERIAL_DATA[str(ascension_material.id - 1)]["name"],
|
||||
"icon": (await self.assets_service.material(ascension_material.id - 2).icon()).as_uri(),
|
||||
"name": MATERIAL_DATA[str(ascension_material.id - 2)]["name"],
|
||||
},
|
||||
{
|
||||
"num": 9,
|
||||
"rarity": 4,
|
||||
"icon": (await self.assets_service.material(str(ascension_material.id - 2)).icon()).as_uri(),
|
||||
"name": MATERIAL_DATA[str(ascension_material.id - 2)]["name"],
|
||||
"icon": (await self.assets_service.material(str(ascension_material.id - 1)).icon()).as_uri(),
|
||||
"name": MATERIAL_DATA[str(ascension_material.id - 1)]["name"],
|
||||
},
|
||||
{
|
||||
"num": 6,
|
||||
"rarity": 5,
|
||||
"icon": (await self.assets_service.material(ascension_material.id - 3).icon()).as_uri(),
|
||||
"name": MATERIAL_DATA[str(ascension_material.id - 3)]["name"],
|
||||
"icon": (await ascension_material.icon()).as_uri(),
|
||||
"name": MATERIAL_DATA[str(ascension_material.id)]["name"],
|
||||
},
|
||||
{
|
||||
"num": 168,
|
||||
|
Loading…
Reference in New Issue
Block a user