mirror of
https://github.com/ldericher/fftcgtool
synced 2025-01-15 06:53:00 +00:00
fix for opus 15+
This commit is contained in:
parent
23dcf42227
commit
5c81c9eb65
1 changed files with 10 additions and 1 deletions
|
@ -23,7 +23,16 @@ class Opus(Cards):
|
|||
if opus_id.isnumeric():
|
||||
name = f"Opus {opus_id} ({self.__language.short})"
|
||||
self.__number = opus_id
|
||||
params = {"set": [f"Opus {roman.toRoman(int(opus_id)).upper()}"]}
|
||||
|
||||
if (opus_id := int(opus_id)) <= 14:
|
||||
params = {"set": [f"Opus {roman.toRoman(opus_id).upper()}"]}
|
||||
|
||||
else:
|
||||
opus_map = {
|
||||
15: "Crystal Dominion",
|
||||
16: "Emissaries of Light",
|
||||
}
|
||||
params = {"set": [opus_map[opus_id]]}
|
||||
|
||||
elif opus_id == "chaos":
|
||||
name = f"Boss Deck Chaos ({self.__language.short})"
|
||||
|
|
Loading…
Reference in a new issue