jaltepeter / TurnMarker

Turn Marker is a module for Foundry VTT that adds an image under a token who is currently active in the combat tracker.
https://brunhine.com/fvtt/turnmarker
6 stars 9 forks source link

[BUG] Turn Marker order #10

Open Nnayl opened 4 years ago

Nnayl commented 4 years ago

Describe the bug The turn marker designate the wrong actor during a new turn in the combat tracker. During each new turn the turn marker designate the first PC character created, not the first Actor on combat tracker

Environment Details Foundry VTT Version: 0.6.2 Turn Marker Version: 2.6.9 Savage World Adventure : 0.9.0

Screenshots image

Additional context it s happen with Savage World Adventure System. The initiative don't use numeric system but a deck of playing card.

jaltepeter commented 4 years ago

After some investigation, this appears to be due to the SWADE system not firing an updateCombat after re-sorting initiative on a new round. I have been in discussion with FloRad who develops the system. A hook will be added and then the module should work correctly.

I will keep this issue open until I have verified that the SWADE update fixes the issue.

Nnayl commented 4 years ago

Nice job !

That will be pobably fix some other bugs with other initiative module (like Combat ready!) , thanks !

johnmartel commented 3 years ago

In case anyone is hitting the same issue with dnd5e, I have used Combat Utility Belt to work around this issue. It looks like CUB does fire an updateCombat hook after rerolling the initiative at end of round.

Without this workaround, when resetting the initiative at the start of a new round and manually reroll initiative, no updateCombat hook is sent.