got assets

This commit is contained in:
2023-04-20 17:54:02 -07:00
parent 99cb290793
commit 78bee91e9c
55 changed files with 18 additions and 1 deletions

View File

@@ -368,9 +368,12 @@ class Board:
stack.append(monster)
stack_index = (stack_index + 1) % 5 # move to the next stack
if self.playerCount != 5:
# Remove monsters with isExtra = True from each stack
for stack in self.monsterGrid:
# Remove monsters with isExtra = True from each stack
stack[:] = [monster for monster in stack if not monster.isExtra]
# Turn monsters face up
for monster in stack:
monster.is
for i, stack in enumerate(self.monsterGrid):
sorted_stack = sorted(stack, key=lambda monster: monster.order, reverse=True)
self.monsterGrid[i] = sorted_stack