MaterialFoundry / MaterialDeck_PF2e

MIT License
0 stars 2 forks source link

fix: missing strike name and image #4

Closed lazybobcat closed 5 months ago

lazybobcat commented 6 months ago

I thought the strikes weren't working properly with PF2 hower it seems that the image and name are just not displayed when the action comes from a weapon item (which happen in the majority of cases).

I attempted to fix the code extracting the strike information so that:

closes #3

Hope this helps :)

lazybobcat commented 6 months ago

Just in case it helps validates the PR, here is the JSON of the _token.actor.system.actions array output

actor-system-actions.json