Stendarpaval / mob-attack-tool

A module for Foundry VTT that offers a tool for handling mob attacks in the dnd5e system.
GNU General Public License v3.0
7 stars 14 forks source link

Macros do not work #37

Closed Fraxinus1753 closed 3 years ago

Fraxinus1753 commented 3 years ago

Thanks for the great module! However, I can't make mob attacks exported as macros work. When I trigger them, nothing happens and I get the attached error message in the console.

I tried this with D&D 5, Foundry and Mob Attack Tool up to date, and no other module enabled.

Mob Attack Tool Error

Stendarpaval commented 3 years ago

Thanks for reporting this bug! I was able to replicate it. The cause is a new feature introduced in v0.3.7 that allows you to hold down alt or ctrl for rolling with advantage and disadvantage respectively. I kind of neglected to test macros without holding down either of these keys, which is when this error pops up.

The fix is simple and will be out shortly, right after I check if there've been other bug reports on Foundry's Discord that I might be able to fix in the same release. :)

Fraxinus1753 commented 3 years ago

Alright, thanks for the quick reply and future fix!

Stendarpaval commented 3 years ago

I'll go ahead and close this issue for now. Feel free to reopen it if you run into related bugs in the future :)

Fraxinus1753 commented 3 years ago

I tried with the new version and it works perfectly, thanks for the quick fix!