hanna-greaves / Token-Says

Tokens speak dialog or play audio based on in game actions.
GNU General Public License v3.0
6 stars 3 forks source link

PF2e Effects/Conditions Improvements #119

Closed harrisog closed 1 year ago

harrisog commented 1 year ago
napolitanod commented 1 year ago

I believe 1.11.8 addresses issue 1.

Issue 2 I don't have a resolution for that doesn't delve into coding for system unique idiosyncrasies and having to manage what dead actually means across all scenarios in pf2e which I am not going to code into this module. There is a dead flag on the actor but this is derived from other data so there is not a hook I can watch where this change is passed in consistently. The overlay is passed in for the token but that doesn't handle all situations. In any case, I am handling dead for condition activation because I can check for the flag, assuming the flag on the actor is always correct.

Bullet 3 I will work on once Token Says is in foundry v11

napolitanod commented 1 year ago

With 1.12.0 (requires foundry v11 when you are ready to take upgrade) you will be able to perform wild card search for the action names. I am closing this out because the second bullet does not have a direct support in pf2e that I found (a hook that indicates dead condition added or removed) and bullet 1 and 3 should now be done.