{"action":"opened","issue":{"url":"https://api.github.com/repos/jleclanche/fireplace/issues/138","labels_url":"https://api.github.com/repos/jleclanche/fireplace/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/jleclanche/fireplace/issues/138/comments","events_url":"https://api.github.com/repos/jleclanche/fireplace/issues/138/events","html_url":"https://github.com/jleclanche/fireplace/issues/138","id":102724475,"number":138,"title":"unsupported operand type(s) for -: 'int' and 'CardList'","user":{"login":"Ragowit","id":31790,"avatar_url":"https://avatars.githubusercontent.com/u/31790?v=3","gravatar_id":"","url":"https://api.github.com/users/Ragowit","html_url":"https://github.com/Ragowit","followers_url":"https://api.github.com/users/Ragowit/followers","following_url":"https://api.github.com/users/Ragowit/following{/other_user}","gists_url":"https://api.github.com/users/Ragowit/gists{/gist_id}","starred_url":"https://api.github.com/users/Ragowit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ragowit/subscriptions","organizations_url":"https://api.github.com/users/Ragowit/orgs","repos_url":"https://api.github.com/users/Ragowit/repos","events_url":"https://api.github.com/users/Ragowit/events{/privacy}","received_events_url":"https://api.github.com/users/Ragowit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-24T07:11:32Z","updated_at":"2015-08-24T07:11:32Z","closed_at":null,"body":"Error with Skycap'n Kragg. And sorry, didn't have logging enabled when this happened.\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"C:\\Temp\\Python\\fireplace\\mcts\\uct.py\", line 562, in UCTPlayGame\r\n    m = UCT(rootstate = state, seconds = 14400, verbose = False)\r\n  File \"C:\\Temp\\Python\\fireplace\\mcts\\uct.py\", line 528, in UCT\r\n    while state.GetMoves() != []: # while state is non-terminal\r\n  File \"C:\\Temp\\Python\\fireplace\\mcts\\uct.py\", line 373, in GetMoves\r\n    if card.is_playable():\r\n  File \"C:\\Temp\\Python\\fireplace\\fireplace\\card.py\", line 598, in is_playable\r\n    playable = super().is_playable()\r\n  File \"C:\\Temp\\Python\\fireplace\\fireplace\\card.py\", line 280, in is_playable\r\n    if self.controller.mana < self.cost:\r\n  File \"C:\\Temp\\Python\\fireplace\\fireplace\\entity.py\", line 83, in func\r\n    ret = self._getattr(attr, 0)\r\n  File \"C:\\Temp\\Python\\fireplace\\fireplace\\entity.py\", line 29, in _getattr\r\n    return getattr(self.data.scripts, attr, lambda s, x: x)(self, i)\r\n  File \"C:\\Temp\\Python\\fireplace\\fireplace\\cards\\tourney\\neutral_legendary.py\", line 9, in <lambda>\r\n    cost = lambda self, i: i - self.controller.field.filter(race=Race.PIRATE)\r\nTypeError: unsupported operand type(s) for -: 'int' and 'CardList'\r\n```"}}