brine / mtg-octgn

MTG game definition for OCTGN3 source code
The Unlicense
32 stars 20 forks source link

Attempting to cast "+2 Mace" from hand causes an autoscript error #134

Closed omn1s closed 1 year ago

omn1s commented 3 years ago

Steps to reproduce:

What happens:

Traceback (most recent call last): File "", line 1, in File "C:\Users\carrigan\AppData\Local\Programs\OCTGN\Data\GameDatabase\a6c8d2e8-7cd8-11dd-8f94-e62b56d89593\scripts\actions.py", line 457, in play File "C:\Users\carrigan\AppData\Local\Programs\OCTGN\Data\GameDatabase\a6c8d2e8-7cd8-11dd-8f94-e62b56d89593\scripts\autoscript.py", line 290, in autoCast File "C:\Users\carrigan\AppData\Local\Programs\OCTGN\Data\GameDatabase\a6c8d2e8-7cd8-11dd-8f94-e62b56d89593\scripts\autoscript.py", line 343, in initializeStackItem File "C:\Users\carrigan\AppData\Local\Programs\OCTGN\Data\GameDatabase\a6c8d2e8-7cd8-11dd-8f94-e62b56d89593\scripts\autoscript.py", line 186, in tagConstructor File "C:\Users\carrigan\AppData\Local\Programs\OCTGN\Data\GameDatabase\a6c8d2e8-7cd8-11dd-8f94-e62b56d89593\scripts\autoscript.py", line 72, in getTags re.error: parsing "+2 Mace enters the battlefield" - Quantifier {x,y} following nothing. result = play(Card(65538))

This issue can be worked around by just dragging the card out onto the table, also, the mace can still be tapped and interacted with once it is on the table.

brine commented 1 year ago

This will be closed now that the autoscript tags have been disabled