def test_faerie_dragon(): game, p0, p1 = newGame() fd = fae.faerieDragon(owner=p0, game=game, zone=p0.faceups) destroy(fd) assert fd.zone is p0.hand
def beforeEndTurn(self): destroy(self)
def onSpawn(self, target): destroy(target)
def onSpawn(self, target): if target.facedown: destroy(target)
def afterFight(self, enemy): destroy(enemy) self.controller.drawCard()
def destroyAll(self, fltr=lambda c: True): for card in [c for c in self if fltr(c)]: destroy(card)
def onSpawn(self, target): destroy(target) self.controller.drawCard()
def onSpawn(self, target): if (target.faceup and not target.spell): destroy(target)