mirror of
https://github.com/DavidGailleton/42-Piscine_Python.git
synced 2026-03-14 05:06:55 +01:00
16 lines
388 B
Python
16 lines
388 B
Python
from ex0.Card import Card
|
|
|
|
|
|
class SpellCard(Card):
|
|
def __init__(
|
|
self, name: str, cost: int, rarity: str, effect_type: str
|
|
) -> None:
|
|
super().__init__(name, cost, rarity)
|
|
self.effect_type = effect_type
|
|
|
|
def play(self, game_state: dict) -> dict:
|
|
return super().play(game_state)
|
|
|
|
def resolve_effect(self, targets: list) -> dict:
|
|
pass
|