mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
🐛 Fix TheaterDifficulty missed VISIONARY
This commit is contained in:
parent
43176fc564
commit
2a20785a94
@ -316,10 +316,14 @@ class RoleCombatPlugin(Plugin):
|
||||
diff = "简单"
|
||||
elif data.abyss_data.stat.difficulty == TheaterDifficulty.NORMAL:
|
||||
diff = "普通"
|
||||
else:
|
||||
elif data.abyss_data.stat.difficulty == TheaterDifficulty.HARD:
|
||||
diff = "困难"
|
||||
if data.abyss_data.stat.medal_num == 8 and data.abyss_data.stat.difficulty == TheaterDifficulty.HARD:
|
||||
honor = "👑"
|
||||
if data.abyss_data.stat.medal_num >= 8:
|
||||
honor = "👑"
|
||||
else:
|
||||
diff = "卓越"
|
||||
if data.abyss_data.stat.medal_num >= 10:
|
||||
honor = "👑"
|
||||
|
||||
return f"{time} {data.abyss_data.stat.medal_num} ★ {diff} {honor}"
|
||||
|
||||
|
@ -42,6 +42,8 @@
|
||||
{% set diff_str = "普通" %}
|
||||
{% elif diff == 3 %}
|
||||
{% set diff_str = "困难" %}
|
||||
{% elif diff == 4 %}
|
||||
{% set diff_str = "卓越" %}
|
||||
{% endif %}
|
||||
<div>挑战难度:{{ diff_str }}</div>
|
||||
<div>最佳记录: 第 {{ stat.max_round_id }} 幕</div>
|
||||
|
Loading…
Reference in New Issue
Block a user