11 lines
466 B
Python
Raw Normal View History

2018-01-10 14:10:20 -05:00
from card.basic.card_action import Action
from card.basic.card_reaction import Reaction
2018-01-10 14:10:20 -05:00
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)