
from ..utils import *


# Hardpacked Snowballs
class TB_GiftExchange_Snowball:
	play = Bounce(RANDOM_ENEMY_MINION) * 3


# Winter's Veil Gift
class TB_GiftExchange_Treasure:
	deathrattle = Give(CURRENT_PLAYER, "TB_GiftExchange_Treasure_Spell")


# Stolen Winter's Veil Gift
class TB_GiftExchange_Treasure_Spell:
	# Surely none of this even sort of works.
	RandomGift = RandomCollectible(
		COST >= 5,
		CLASS_CARD=Attr(Controller(OWNER), GameTag.CLASS)
	)
	play = Discover(RandomGift).then(Buff(Discover.CARDS, "TB_GiftExchange_Enchantment"))


# Cheap Gift
TB_GiftExchange_Enchantment = buff(cost=-5)


from ..utils import *


# Hardpacked Snowballs
class TB_GiftExchange_Snowball:
	play = Bounce(RANDOM_ENEMY_MINION) * 3


# Winter's Veil Gift
class TB_GiftExchange_Treasure:
	deathrattle = Give(CURRENT_PLAYER, "TB_GiftExchange_Treasure_Spell")


# Stolen Winter's Veil Gift
class TB_GiftExchange_Treasure_Spell:
	# Surely none of this even sort of works.
	RandomGift = RandomCollectible(
		# COST >= 5,
		card_class=Attr(Controller(OWNER), GameTag.CLASS)
	)
	play = Discover(RandomGift).then(Buff(Discover.CARDS, "TB_GiftExchange_Enchantment"))


# Cheap Gift
TB_GiftExchange_Enchantment = buff(cost=-5)

Drop cost filtering from TB_GiftExchange_Treasure_Spell
Drop cost filtering from TB_GiftExchange_Treasure_Spell

It doesn't work, and makes things harder than they need to be.

  
  from ..utils import *
  
  
  # Hardpacked Snowballs
  class TB_GiftExchange_Snowball:
  	play = Bounce(RANDOM_ENEMY_MINION) * 3
  
  
  # Winter's Veil Gift
  class TB_GiftExchange_Treasure:
  	deathrattle = Give(CURRENT_PLAYER, "TB_GiftExchange_Treasure_Spell")
  
  
  # Stolen Winter's Veil Gift
  class TB_GiftExchange_Treasure_Spell:
  	# Surely none of this even sort of works.
  	RandomGift = RandomCollectible(
- 		COST >= 5,
+ 		# COST >= 5,
- 		CLASS_CARD=Attr(Controller(OWNER), GameTag.CLASS)
+ 		card_class=Attr(Controller(OWNER), GameTag.CLASS)
  	)
  	play = Discover(RandomGift).then(Buff(Discover.CARDS, "TB_GiftExchange_Enchantment"))
  
  
  # Cheap Gift
  TB_GiftExchange_Enchantment = buff(cost=-5)
  
Drop cost filtering from TB_GiftExchange_Treasure_Spell
## Code Before:

from ..utils import *


# Hardpacked Snowballs
class TB_GiftExchange_Snowball:
	play = Bounce(RANDOM_ENEMY_MINION) * 3


# Winter's Veil Gift
class TB_GiftExchange_Treasure:
	deathrattle = Give(CURRENT_PLAYER, "TB_GiftExchange_Treasure_Spell")


# Stolen Winter's Veil Gift
class TB_GiftExchange_Treasure_Spell:
	# Surely none of this even sort of works.
	RandomGift = RandomCollectible(
		COST >= 5,
		CLASS_CARD=Attr(Controller(OWNER), GameTag.CLASS)
	)
	play = Discover(RandomGift).then(Buff(Discover.CARDS, "TB_GiftExchange_Enchantment"))


# Cheap Gift
TB_GiftExchange_Enchantment = buff(cost=-5)

## Instruction:
Drop cost filtering from TB_GiftExchange_Treasure_Spell
## Code After:

from ..utils import *


# Hardpacked Snowballs
class TB_GiftExchange_Snowball:
	play = Bounce(RANDOM_ENEMY_MINION) * 3


# Winter's Veil Gift
class TB_GiftExchange_Treasure:
	deathrattle = Give(CURRENT_PLAYER, "TB_GiftExchange_Treasure_Spell")


# Stolen Winter's Veil Gift
class TB_GiftExchange_Treasure_Spell:
	# Surely none of this even sort of works.
	RandomGift = RandomCollectible(
		# COST >= 5,
		card_class=Attr(Controller(OWNER), GameTag.CLASS)
	)
	play = Discover(RandomGift).then(Buff(Discover.CARDS, "TB_GiftExchange_Enchantment"))


# Cheap Gift
TB_GiftExchange_Enchantment = buff(cost=-5)
