import random
import fireplace.cards
from ..actions import *
from ..enums import CardType, GameTag, Race, Rarity, Zone
from ..targeting import *


def hand(func):
	"""
	@hand helper decorator
	The decorated event listener will only listen while in the HAND Zone
	"""
	func.zone = Zone.HAND
	return func

drawCard = lambda self, *args: self.controller.draw()


def randomCollectible(**kwargs):
	return random.choice(fireplace.cards.filter(collectible=True, **kwargs))

import random
import fireplace.cards
from ..actions import *
from ..enums import CardType, GameTag, Race, Rarity, Zone
from ..targeting import *


def hand(func):
	"""
	@hand helper decorator
	The decorated event listener will only listen while in the HAND Zone
	"""
	func.zone = Zone.HAND
	return func

drawCard = lambda self, *args: self.controller.draw()


def RandomCard(**kwargs):
	return random.choice(fireplace.cards.filter(**kwargs))


def randomCollectible(**kwargs):
	return RandomCard(collectible=True, **kwargs)

Implement a RandomCard helper for definitions
Implement a RandomCard helper for definitions
