Permalink
Browse files

Use ID() in Ysera Awakens, Quartermaster and Trade Prince Gallywix

  • Loading branch information...
jleclanche committed Jul 19, 2015
1 parent edfdcfa commit 93f7275bf2ecae687ece11758495a803c4015429
Showing with 4 additions and 8 deletions.
  1. +1 −3 fireplace/cards/classic/neutral_legendary.py
  2. +1 −3 fireplace/cards/gvg/paladin.py
  3. +2 −2 fireplace/cards/gvg/rogue.py
@@ -110,9 +110,7 @@ class EX1_572:
# Ysera Awakens
class DREAM_02:
def play(self):
for character in self.game.characters.exclude(id="EX1_572"):
yield Hit(character, 5)
play = Hit(ALL_CHARACTERS - ID("EX1_572"), 5)
# Dream
class DREAM_04:
@@ -6,9 +6,7 @@
# Quartermaster
class GVG_060:
def play(self):
for recruit in self.controller.field.filter(id="CS2_101t"):
yield Buff(recruit, "GVG_060e")
play = Buff(FRIENDLY_MINIONS + ID("CS2_101t"), "GVG_060e")
# Cobalt Guardian
@@ -21,8 +21,8 @@ class GVG_027:
# Trade Prince Gallywix
class GVG_028:
events = Play(OPPONENT, SPELL).on(
lambda self, player, card, *args: card.id != "GVG_028t" and (
events = Play(OPPONENT, SPELL - ID("GVG_028t")).on(
lambda self, player, card, *args: (
Give(player.opponent, card.id),
Give(player, "GVG_028t")
)

0 comments on commit 93f7275

Please sign in to comment.