Brad Stein e3ff6416ff
Add files via upload
Generalized out attack cards.  Fixed bugs.
2018-01-10 23:30:39 -05:00

11 lines
466 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.get_general_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)