from ..utils import *


##
# Minions

# Hobgoblin
class GVG_104:
	def OWN_MINION_SUMMON(self, minion):
		if minion.atk == 1:
			return [Buff(minion, "GVG_104a")]

from ..utils import *


##
# Minions

# Hobgoblin
class GVG_104:
	def OWN_CARD_PLAYED(self, card):
		if card.type == CardType.MINION and card.atk == 1:
			return [Buff(card, "GVG_104a")]

Fix Hobgoblin to trigger only on cards played
Fix Hobgoblin to trigger only on cards played

  from ..utils import *
  
  
  ##
  # Minions
  
  # Hobgoblin
  class GVG_104:
- 	def OWN_MINION_SUMMON(self, minion):
- 		if minion.atk == 1:
+ 	def OWN_CARD_PLAYED(self, card):
+ 		if card.type == CardType.MINION and card.atk == 1:
- 			return [Buff(minion, "GVG_104a")]
+ 			return [Buff(card, "GVG_104a")]
  
Fix Hobgoblin to trigger only on cards played
## Code Before:
from ..utils import *


##
# Minions

# Hobgoblin
class GVG_104:
	def OWN_MINION_SUMMON(self, minion):
		if minion.atk == 1:
			return [Buff(minion, "GVG_104a")]

## Instruction:
Fix Hobgoblin to trigger only on cards played
## Code After:
from ..utils import *


##
# Minions

# Hobgoblin
class GVG_104:
	def OWN_CARD_PLAYED(self, card):
		if card.type == CardType.MINION and card.atk == 1:
			return [Buff(card, "GVG_104a")]
