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