Open ACG8 opened 8 years ago
Was this in the release version or the 2.x version?
On Tue, Oct 20, 2015 at 3:02 PM, Ananda notifications@github.com wrote:
Got the following error when a Bitterwood Fox died:
Traceback (most recent call last): File "
", line 1, in File "C:\Users\Ananda\Documents\Mage-Wars\GameDatabase\9acef3d0-efa8-4d3f-a10c-54812baecdda\scripts\attacks.py", line 902, in damageBarrierStep File "C:\Users\Ananda\Documents\Mage-Wars\GameDatabase\9acef3d0-efa8-4d3f-a10c-54812baecdda\scripts\attacks.py", line 1127, in deathPrompt File "C:\Users\Ananda\Documents\Mage-Wars\GameDatabase\9acef3d0-efa8-4d3f-a10c-54812baecdda\scripts\actions.py", line 553, in discard File " ", line 14, in getitem KeyError: discard damageBarrierStep({'Charge': 5, 'Flying': False, 'OwnerID': 65564, 'Fast': True, 'Living': True, 'Corporeal': True},{'Action': 'Quick', 'EffectType': 'Attack', 'Name': 'Bite', 'Traits': {'Piercing': 0}, 'Dice': 3, 'OriginalAttack': {'RangeType': 'Melee', 'Action': 'Quick', 'Traits': {}, 'SourceID': 65564, 'EffectType': 'Attack', 'd12': [], 'Name': 'Bite', 'Range': [0, 0], 'OriginalSourceID': 65564, 'Dice': 3}, 'SourceID': 65564, 'RangeType': 'Melee', 'OriginalSourceID': 65564, 'Range': [0, 0], 'd12': []},{'Charge': 5, 'OwnerID': 65563, 'Fast': True, 'Living': True, 'Corporeal': True}) The offending line of code appears to be:
card.moveTo(me.piles['Discard'])
In line 553 of actions.py
— Reply to this email directly or view it on GitHub https://github.com/sIKE23/Mage-Wars/issues/306.
It is a current issue in the 2.x version. I don't know whether it also occurs in the release version.
Got the following error when a Bitterwood Fox died:
The offending line of code appears to be:
In line 553 of actions.py