1
0
Fork 0
mirror of https://github.com/ldericher/fftcgtool synced 2025-01-15 23:03:00 +00:00
fftcgtool/fftcg/opus.py

18 lines
342 B
Python
Raw Normal View History

2021-08-03 21:41:25 +00:00
from roman import toRoman
2021-08-03 17:45:35 +00:00
2021-08-03 21:41:25 +00:00
from .cards import Cards
2021-08-02 23:55:12 +00:00
2021-08-03 17:45:35 +00:00
2021-08-03 21:41:25 +00:00
class Opus(Cards):
def __init__(self, number):
if isinstance(number, int):
number = f"Opus {toRoman(number)}"
2021-08-02 23:55:12 +00:00
2021-08-03 21:41:25 +00:00
params = {
"text": "",
"element": ["fire"],
"set": [number],
}
2021-08-02 23:55:12 +00:00
2021-08-03 21:41:25 +00:00
Cards.__init__(self, params)