ShoyuVanilla / FoundryVTT-Chat-Portrait

Other
14 stars 24 forks source link

[PF1] Applying damage from a chat card focuses the speaker #70

Closed envy closed 3 years ago

envy commented 3 years ago

Environment Details

Issue Description

PF1 attack chat cards have buttons to easily apply the damage to the selected token. When clicking the button, damage is applied as normal but directly afterwards the selected token is shifted to the speaker of the chat card. This is bad, because when you quickly want to apply damage from multiple attacks you always have to retarget the token.

Here is a picture of the chat card, clicking the "Anwenden" or "Hälfte Anwenden" buttons causes the retargeting. grafik

Its also happening when clicking on inline rolls to show their parts which is also kind of annoying.

envy commented 3 years ago

Additional Info: This only happens to some attack cards and I was not yet able to determine why.

The "buggy" chat cards have this event handler registered:

grafik

But not all chat cards have that handler for some reason...

p4535992 commented 3 years ago

Should be fixed on 0.4.7

envy commented 3 years ago

Yep, fixed. Thanks