schlosrat / token-health

FoundryVTT module
5 stars 10 forks source link

updating multiple tokens does not trigger multiple tokenUpdate events #57

Closed karpana closed 2 years ago

karpana commented 2 years ago

Hi There,

I'm very much appreciating the work you've put into Token Health. one oddity I've noticed, is that unlike when I move two tokens at the same time (e.g using a lassoo select to get 2+ tokens), which triggers one tokenUpdate for each token, when TokenHealth is used to update 2+ tokens at the same time, only one such tokenUpdate event is fired. Or at least that's the way it appears in my macro which is fired by Hook Macro. The problem with this, of course, is that I can't actually see all of the tokens that were updated (in my macro), I functionally, get a random one.

I'm wondering if this is something you could look into? Or maybe this is the expected behaviour.

karpana commented 2 years ago

I'm going to cancel/close this... I believe I was experiencing an adverse interaction between Token Health and Combat Utility Belt