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 = "简单"
|
diff = "简单"
|
||||||
elif data.abyss_data.stat.difficulty == TheaterDifficulty.NORMAL:
|
elif data.abyss_data.stat.difficulty == TheaterDifficulty.NORMAL:
|
||||||
diff = "普通"
|
diff = "普通"
|
||||||
else:
|
elif data.abyss_data.stat.difficulty == TheaterDifficulty.HARD:
|
||||||
diff = "困难"
|
diff = "困难"
|
||||||
if data.abyss_data.stat.medal_num == 8 and data.abyss_data.stat.difficulty == TheaterDifficulty.HARD:
|
if data.abyss_data.stat.medal_num >= 8:
|
||||||
honor = "👑"
|
honor = "👑"
|
||||||
|
else:
|
||||||
|
diff = "卓越"
|
||||||
|
if data.abyss_data.stat.medal_num >= 10:
|
||||||
|
honor = "👑"
|
||||||
|
|
||||||
return f"{time} {data.abyss_data.stat.medal_num} ★ {diff} {honor}"
|
return f"{time} {data.abyss_data.stat.medal_num} ★ {diff} {honor}"
|
||||||
|
|
||||||
|
@ -42,6 +42,8 @@
|
|||||||
{% set diff_str = "普通" %}
|
{% set diff_str = "普通" %}
|
||||||
{% elif diff == 3 %}
|
{% elif diff == 3 %}
|
||||||
{% set diff_str = "困难" %}
|
{% set diff_str = "困难" %}
|
||||||
|
{% elif diff == 4 %}
|
||||||
|
{% set diff_str = "卓越" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div>挑战难度:{{ diff_str }}</div>
|
<div>挑战难度:{{ diff_str }}</div>
|
||||||
<div>最佳记录: 第 {{ stat.max_round_id }} 幕</div>
|
<div>最佳记录: 第 {{ stat.max_round_id }} 幕</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user