Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
dwagon committed Oct 19, 2023
1 parent 244970c commit dd2eda5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions dominion/cards/Card_BlackCat.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ def hook_all_players_gain_card(self, game, player, owner, card):
return
if card.isVictory():
for plr in owner.attack_victims():
plr.output(f"{owner.name}'s Black Cat Cursed you")
plr.output(f"{owner.name}'s Black Cat cursed you")
plr.gain_card("Curse", callhook=False)
player.output(f"Your Black Cat cursed {plr.name}")


###############################################################################
class Test_Black_Cat(unittest.TestCase):
class TestBlackCat(unittest.TestCase):
def setUp(self):
self.g = Game.TestGame(numplayers=2, initcards=["Black Cat"])
self.g.start_game()
Expand Down
2 changes: 1 addition & 1 deletion dominion/cards/Card_Horsetraders.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __init__(self):
self.cost = 4

def special(self, game, player):
player.plr_discard_cards(num=2)
player.plr_discard_cards(num=2, force=True)

def todo(self): # TODO
"""When another player plays an Attack card, you may set
Expand Down

0 comments on commit dd2eda5

Please sign in to comment.