Closed Zamrod closed 2 years ago
Thanks! Will spend some time tomorrow to update this to the non-depreciated function
I've just released a new version that should no longer have the error in v9 and also still work in 8. Please let me know once you've had a look if that fixed the issue. I've replaced the call to the depreciated function with the correct one.
Unfortunately, I've not grabbed a v9 as yet.
This appears to work.
It throws an error when you attempt to roll all NPCs in Foundry V9 Test 3. That error is:
group-initiative.js:103 Uncaught (in promise) TypeError: this.getCombatant is not a function [Detected 1 package: group-initiative] at group-initiative.js:103 at Array.reduce ()
at Combat.rollGroupInitiative (group-initiative.js:98)
at async Combat.rollNPC (group-initiative.js:57)
at async MonksCombatTracker._onCombatControl (foundry.js:58142)