fixes #4; lock champions at beginning of turn

This commit is contained in:
2024-05-06 14:53:31 +02:00
parent 5a90c9da6f
commit d4c7540b6f
+3 -1
View File
@@ -158,7 +158,9 @@ class Turn(Serializable):
return True
async def start_turn(self) -> None:
pass
for c in self.player.board:
if c.card_type == CardType.CHAMPION:
self.lock_card(str(c.card_id))
def serialize(self):
data = super().serialize() | {