mirror of
https://github.com/neogeek23/Dominion-Strategy-Simulator.git
synced 2026-02-04 11:08:18 +00:00
11 lines
459 B
Python
11 lines
459 B
Python
from card.basic.card_action import Action
|
|
from card.basic.card_reaction import Reaction
|
|
|
|
|
|
class Moat(Action, Reaction):
|
|
def react(self, what_attack):
|
|
owner = self.get_owner()
|
|
return "Y" == owner.take_input("Player " + str(owner.get_player_index()) + ", enter 'Y' if you'd "
|
|
"like to reveal " + str(self) + " to block the " + str(what_attack) +
|
|
" attack: ", str)
|