from ..utils import *


##
# Minions

class OG_281:
	"""Beckoner of Evil"""
	play = Buff(CTHUN, "OG_281e", atk=2, max_health=2)


class OG_283:
	"""C'Thun's Chosen"""
	play = Buff(CTHUN, "OG_281e", atk=2, max_health=2)


class OG_284:
	"""Twilight Geomancer"""
	play = Buff(CTHUN, "OG_284e")


OG_284e = buff(taunt=True)


class OG_286:
	"""Twilight Elder"""
	events = OWN_TURN_END.on(Buff(CTHUN, "OG_281e", atk=1, max_health=1))


class OG_138:
	"""Nerubian Prophet"""
	class Hand:
		events = OWN_TURN_BEGIN.on(Buff(SELF, "OG_138e"))


class OG_138e:
	events = REMOVED_IN_PLAY
	tags = {GameTag.COST: -1}


class OG_150:
	"""Aberrant Berserker"""
	enrage = Refresh(SELF, buff="OG_150e")


OG_150e = buff(atk=2)


class OG_151:
	"""Tentacle of N'Zoth"""
	deathrattle = Hit(ALL_MINIONS, 1)


class OG_156:
	"""Bilefin Tidehunter"""
	play = Summon(CONTROLLER, "OG_156a")


class OG_158:
	"""Zealous Initiate"""
	deathrattle = Buff(RANDOM_FRIENDLY_MINION, "OG_158e")


OG_158e = buff(+1, +1)


class OG_249:
	"""Infested Tauren"""
	deathrattle = Summon(CONTROLLER, "OG_249a")


class OG_256:
	"""Spawn of N'Zoth"""
	deathrattle = Buff(FRIENDLY_MINIONS, "OG_256e")


OG_256e = buff(+1, +1)


class OG_295:
	"""Cult Apothecary"""
	play = Heal(FRIENDLY_HERO, Count(ENEMY_MINIONS) * 2)


class OG_323:
	"""Polluted Hoarder"""
	deathrattle = Draw(CONTROLLER)
