def __init__(self): super(LandGrant, self).__init__('Land Grant') land_grant_action_land = Action('Land Grant', 'Land', requirements=[ CardNotInHand('Taiga'), CardInHand(self.name), CardInDeck('Taiga') ], consequences=[ MoveCard('Land Grant', 'Hand', 'Graveyard'), MoveCard('Taiga', 'Deck', 'Hand'), Shuffle(), AddStorm() ]) land_grant_action_no_land = Action( 'Land Grant', 'No land', requirements=[CardNotInHand('Taiga'), CardInHand(self.name)], consequences=[ MoveCard(self.name, 'Hand', 'Graveyard'), Shuffle(), AddStorm() ]) self.add_action(land_grant_action_land) self.add_action(land_grant_action_no_land)
def __init__(self): super(LotusPetal, self).__init__('Lotus Petal', is_permanent=True) lotus_petal_play = Action('Lotus Petal', 'Play', requirements=[CardInHand(self.name)], consequences=[ MoveCard(self.name, 'Hand', 'Battlefield'), AddStorm() ]) lotus_petal_activate = Action( 'Lotus Petal', 'Sacrifice', requirements=[CardInPlay(self.name)], consequences=[MoveCard(self.name, 'Battlefield', 'Graveyard')]) self.add_action(lotus_petal_play) self.add_mana_action(lotus_petal_activate, adding=[ColorDict({c: 1}) for c in COLORS])
def __init__(self): super(GitaxianProbe, self).__init__('Gitaxian Probe') gitaxian_probe_action = Action('Gitaxian Probe', 'Play', requirements=[CardInHand(self.name)], consequences=[ MoveCard(self.name, 'Hand', 'Graveyard'), DrawCard(), AddStorm() ]) self.add_action(gitaxian_probe_action)
def __init__(self): super(LionsEyeDiamond, self).__init__('Lions Eye Diamond', is_permanent=True) lions_eye_diamond_play = Action('Lions Eye Diamond', 'Play', requirements=[CardInHand(self.name)], consequences=[ MoveCard(self.name, 'Hand', 'Battlefield'), AddStorm() ]) lions_eye_diamond_activate = Action( 'Lions Eye Diamond', 'Sacrifice', requirements=[CardInPlay(self.name)], consequences=[ DiscardHand(), MoveCard(self.name, 'Battlefield', 'Graveyard') ]) self.add_action(lions_eye_diamond_play) self.add_mana_action(lions_eye_diamond_activate, adding=[ColorDict({c: 3}) for c in COLORS])
def __init__(self): super(RiteOfFlame, self).__init__('Rite of Flame') rite_of_flame_action = Action('Rite of Flame', 'Play', requirements=[ CardInHand(self.name), ManaInPool(ColorDict({'Red': 1})) ], consequences=[ MoveCard(self.name, 'Hand', 'Graveyard'), ReduceMana(ColorDict({'Red': 1})), AddStorm(), AddRiteMana() ]) self.add_action(rite_of_flame_action)
def __init__(self): super(EmptyTheWarrens, self).__init__('Empty the Warrens') empty_the_warrens_action = Action('Empty the Warrens', 'Play', requirements=[CardInHand(self.name)], consequences=[ AddStorm(), AddGoblins(), MoveCard(self.name, 'Hand', 'Graveyard') ]) self.add_mana_action(empty_the_warrens_action, paying=color_combinations( ColorDict({ 'Red': 1, 'Colorless': 3 })))
def __init__(self): super(DesperateRitual, self).__init__('Desperate Ritual') desperate_ritual_action = Action('Desperate Ritual', 'Play', requirements=[CardInHand(self.name)], consequences=[ AddMana({'Red': 3}), AddStorm(), MoveCard(self.name, 'Hand', 'Graveyard') ]) self.add_mana_action(desperate_ritual_action, paying=color_combinations( ColorDict({ 'Red': 1, 'Colorless': 1 })))
def __init__(self): super(SeethingSong, self).__init__('Seething Song') seething_song_action = Action('Seething Song', 'Play', requirements=[CardInHand(self.name)], consequences=[ AddMana(ColorDict({'Red': 5})), MoveCard(self.name, 'Hand', 'Graveyard'), AddStorm() ]) self.add_mana_action(seething_song_action, paying=color_combinations( ColorDict({ 'Red': 1, 'Colorless': 2 })))