Small fixes for playtesting

This commit is contained in:
2024-04-26 16:07:57 +02:00
parent be993fd1be
commit 0487576a60
6 changed files with 104 additions and 33 deletions
+2 -2
View File
@@ -47,8 +47,8 @@ class Game(Serializable):
await self.distribute_market_cards()
async def instanciate_card(self, card_parser: CardParser) -> Card:
effects = create_card_effects(card_parser)
for e in effects:
effects, card_effects = create_card_effects(card_parser)
for e in card_effects:
self.effects.append(e)
await self.notify_controller("create", e.serialize())
card = create_card(card_parser, effects)