Archived
fixes #4; lock champions at beginning of turn
This commit is contained in:
+3
-1
@@ -158,7 +158,9 @@ class Turn(Serializable):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
async def start_turn(self) -> None:
|
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):
|
def serialize(self):
|
||||||
data = super().serialize() | {
|
data = super().serialize() | {
|
||||||
|
|||||||
Reference in New Issue
Block a user