Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buff() missing 1 required positional argument: 'buff' #40

Closed
Ragowit opened this issue Apr 17, 2015 · 0 comments
Closed

buff() missing 1 required positional argument: 'buff' #40

Ragowit opened this issue Apr 17, 2015 · 0 comments
Labels

Comments

@Ragowit
Copy link

Ragowit commented Apr 17, 2015

Deck 1: ['EX1_508', 'CS2_226', 'CS2_142', 'EX1_011', 'CS1_042', 'EX1_011', 'CS2_197', 'EX1_399', 'CS2_173', 'CS2_023', 'CS1_042', 'CS2_122', 'CS2_120', 'DS1_055', 'CS2_162', 'CS2_187', 'CS2_120', 'CS2_141', 'DS1_055', 'CS2_032', 'CS2_127', 'CS2_029', 'CS2_173', 'EX1_399', 'EX1_066', 'EX1_508', 'CS2_026', 'CS2_122', 'CS2_171', 'CS2_187']

Deck 2: ['CS2_074', 'NEW1_023', 'EX1_059', 'CS2_117', 'CS2_189', 'FP1_008', 'EX1_564', 'EX1_128', 'EX1_126', 'CS2_120', 'GVG_013', 'CS2_169', 'GVG_067', 'EX1_145', 'CS2_073', 'EX1_561', 'CS2_161', 'CS2_169', 'FP1_016', 'EX1_048', 'CS2_124', 'CS2_196', 'BRM_019', 'CS2_161', 'FP1_024', 'GVG_102', 'FP1_001', 'EX1_100', 'CS2_172', 'EX1_029']

Traceback (most recent call last):
  File "C:\Users\Ragowit\Documents\GitHub\fireplace\mcts\uct.py", line 530, in UCTPlayGame
    m = UCT(rootstate = state, seconds = 10, verbose = False)
  File "C:\Users\Ragowit\Documents\GitHub\fireplace\mcts\uct.py", line 500, in UCT
    state.DoMove(random.choice(state.GetMoves()))
  File "C:\Users\Ragowit\Documents\GitHub\fireplace\mcts\uct.py", line 145, in DoMove
    card.play()
  File "C:\Users\Ragowit\Documents\GitHub\fireplace\fireplace\card.py", line 277, in play
    self.controller.play(self, target, choose)
  File "C:\Users\Ragowit\Documents\GitHub\fireplace\fireplace\player.py", line 212, in play
    self.game.action(PowSubType.PLAY, self, card, target, choose)
  File "C:\Users\Ragowit\Documents\GitHub\fireplace\fireplace\game.py", line 54, in action
    args[0]._play(*args[1:])
  File "C:\Users\Ragowit\Documents\GitHub\fireplace\fireplace\player.py", line 220, in _play
    self.game.broadcast("CARD_PLAYED", self, card)
  File "C:\Users\Ragowit\Documents\GitHub\fireplace\fireplace\game.py", line 177, in broadcast
    super().broadcast(event, *args)
  File "C:\Users\Ragowit\Documents\GitHub\fireplace\fireplace\entity.py", line 24, in broadcast
    f(*args)
  File "C:\Users\Ragowit\Documents\GitHub\fireplace\fireplace\card.py", line 60, in <lambda>
    _func = lambda *args: func(self, *args)
  File "C:\Users\Ragowit\Documents\GitHub\fireplace\fireplace\cards\gvg\neutral_common.py", line 19, in CARD_PLAYED
    self.buff("GVG_067a")
TypeError: buff() missing 1 required positional argument: 'buff'
INFO:root:one begins turn 25
INFO:root:one is now at 11 mana crystals
DEBUG:root:<Spell ('Frost Nova')> moves from <Zone.DECK: 2> to <Zone.HAND: 3>
INFO:root:one draws <Spell ('Frost Nova')>
INFO:root:one plays hero power <HeroPower ('Fireblast')>
INFO:root:Activating <HeroPower ('Fireblast')> action targeting <Minion ('Alexstrasza')>
INFO:root:<HeroPower ('Fireblast')> hits <Minion ('Alexstrasza')> for 1
INFO:root:<Minion ('Alexstrasza')> damaged for 1 health
INFO:root:<Minion ('Voodoo Doctor')> attacks <Minion ('Alexstrasza')>
INFO:root:<Minion ('Voodoo Doctor')> hits <Minion ('Alexstrasza')> for 2
INFO:root:<Minion ('Alexstrasza')> damaged for 2 health
INFO:root:<Minion ('Alexstrasza')> hits <Minion ('Voodoo Doctor')> for 8
INFO:root:<Minion ('Voodoo Doctor')> damaged for 8 health
INFO:root:<Minion ('Voodoo Doctor')> dies
INFO:root:<Minion ('Voodoo Doctor')> is removed from the field
INFO:root:<Minion ('Voodoo Doctor')> healed for 8 health
DEBUG:root:<Minion ('Voodoo Doctor')> moves from <Zone.PLAY: 1> to <Zone.GRAVEYARD: 4>
INFO:root:<Minion ('Alexstrasza')> dies
INFO:root:<Minion ('Alexstrasza')> is removed from the field
INFO:root:<Minion ('Alexstrasza')> healed for 10 health
DEBUG:root:<Minion ('Alexstrasza')> moves from <Zone.PLAY: 1> to <Zone.GRAVEYARD: 4>
INFO:root:one plays <Spell ('Frost Nova')> from their hand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants