mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-05-31 04:30:29 +08:00
优化:武器的数值显示
This commit is contained in:
parent
a79c139077
commit
a4f8b3f12b
@ -389,7 +389,7 @@ async def weapon_wiki(name,level = None):
|
||||
else:
|
||||
sp = ""
|
||||
im = (data["name"] + "\n等级:" + str(data2["level"]) + "(突破" + str(data2["ascension"]) + ")" +
|
||||
"\n攻击力:" + str(math.floor(data2["attack"])) + "\n" + sp)
|
||||
"\n攻击力:" + str(round(data2["attack"])) + "\n" + sp)
|
||||
else:
|
||||
name = data['name']
|
||||
type = data['weapontype']
|
||||
|
Loading…
x
Reference in New Issue
Block a user