Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

Token image of targetted creature positioned wrongly on some attack chat cards #108

Open
DrMcCoy opened this issue Jun 19, 2022 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@DrMcCoy
Copy link
Contributor

DrMcCoy commented Jun 19, 2022

Environment Details

  • Foundry VTT Version: 9.269
  • Operating System: Linux, both Gentoo and Debian, using NodeJS (18.3.0 and 16.15.1, respectively) directly
  • How Are You Using Foundry: Foundry running from node directly, accessed via Firefox 101.0.1
  • Which Game System: pf1e
  • Modules Enabled?: none except Chat Portrait

Issue Description

When using Chat Portrait with the Pathfinder 1e system, and issuing an attacking while having a token targetted, the token image of the targetted creature is not at the position it's supposed to be in the attack chat card.

The normal attack chat card when issuing an attack from a combat item does not show this behaviour, but the one from an attack using an inventory item. It seems it has to do with the different headings these chat cards use and Chat Portrait gets confused what is what.

Similarily, this also happens on spells when the caster needs to roll for arcane spell failure.

I first assume this is a bug in the alternate attack chat card module I'm using, and opened a bug report there: https://gitlab.com/zenvy/foundryvtt-pf1-alt-sheet/-/issues/39 . There's screenshots in that bug report that show what's wrong, and some further discussion. I.e. for context and screenshots, that bug report there is probably relevant.

However, it turns out the alternate attack chat card is not to blame. This bug also happens when no alternate attack chat card has been selected and when no modules but Chat Portrait is even active. Conversely, this bug does not happen when Chat Portrait has been disabled.

@p4535992 p4535992 added bug Something isn't working help wanted Extra attention is needed labels Jun 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants