daft-develop / 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
6 stars 6 forks source link

[BUG] v12 Support #8

Closed daft-develop closed 3 weeks ago

daft-develop commented 4 months ago

Latest version of this module (0.6.0) is confirmed to not be working with v12 of Foundry since it's using legacy "data.data" access calls which are formally depreciated as of v12.

I'm intending to update the module for compatibility with v12 but don't have a timeline yet. This ticket is just a placeholder to let people know it's been considered and I'll update here once the work is in progress and/or more likely once it's complete.

daft-develop commented 4 months ago

Draft branch is up, subject to a bit more testing before releasing.

daft-develop commented 4 months ago

v12 has migrated from Roll.evaluate w/ a sync option to calling Roll.evaluateSync which drops non-deterministic rolls. Need to rewrite all those calls for true v12 support, but evalute w/ sync will still work but generate a warning.