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