espositos / fvtt-tokenactionhud

Creating a token action HUD module for Foundry VTT
31 stars 38 forks source link

Using the - to cast spells in PF2 no longer says that its cast #251

Closed happydevil37 closed 3 years ago

happydevil37 commented 3 years ago

System: PF2 Version 2.0.3.5912 Token Action Hud Version: V1.0.22

Steps: Spellcaster selects Spells and then selects any spell and uses the - button to reduce the number of times cast: Result - Nothing Happens.

Console Error log: foundry.js:12288 You are using "OwnedItem" as an embedded Document name within the Actor document. This has changed due to the symmetric Document standardization in 0.8.0 and you must now use "Item" as the embedded document name. getEmbeddedCollection @ foundry.js:12288 updateEmbeddedDocuments @ document.mjs:527 updateEmbeddedDocuments @ main.bundle.js:1 updateEmbeddedEntity @ foundry.js:9803 _expendSpell @ pf2e-base.js:415 _rollSpell @ pf2e-base.js:362 _handleMacros @ pf2e-base.js:88 doHandleActionEvent @ pf2e-base.js:42 handleActionEvent @ rollHandler.js:47 handleClick @ tokenactionhud.js:100 (anonymous) @ tokenactionhud.js:107 dispatch @ jquery.min.js:2 v.handle @ jquery.min.js:2 document.mjs:531 Uncaught (in promise) TypeError: Cannot read property 'updateDocuments' of undefined at CharacterPF2e.updateEmbeddedDocuments (document.mjs:531) at CharacterPF2e.updateEmbeddedDocuments (main.bundle.js:1) at CharacterPF2e.updateEmbeddedEntity (foundry.js:9803) at RollHandlerBasePf2e._expendSpell (pf2e-base.js:415) at RollHandlerBasePf2e._rollSpell (pf2e-base.js:362) at RollHandlerBasePf2e._handleMacros (pf2e-base.js:88) at RollHandlerBasePf2e.doHandleActionEvent (pf2e-base.js:42) at RollHandlerBasePf2e.handleActionEvent (rollHandler.js:47) at handleClick (tokenactionhud.js:100) at HTMLDivElement. (tokenactionhud.js:107)

rlach commented 3 years ago

It also doesn't allow players to renew Focus with + button, and doesn't refresh the spell list when manually expending focus/spell slots trough character sheet. Only doing some other action (for example giving/removing Hero Points or toggling target as flat footed) will refresh spells.

espositos commented 3 years ago

I think this is resolved in the latest patches, but let me know if that's not the case

happydevil37 commented 3 years ago

Hi,

My Hud has disappeared altogether ?

From: espositos @.> Sent: Tuesday, 8 June 2021 7:37 PM To: espositos/fvtt-tokenactionhud @.> Cc: happydevil37 @.>; Author @.> Subject: Re: [espositos/fvtt-tokenactionhud] Using the - to cast spells in PF2 no longer says that its cast (#251)

I think this is resolved in the latest patches, but let me know if that's not the case

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/espositos/fvtt-tokenactionhud/issues/251#issuecomment-856687989 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGZ3AIRZ7BKZFO4J5T3Q6GDTRX6EFANCNFSM46DW2HNA . https://github.com/notifications/beacon/AGZ3AIXJPQCIFJS2KI2277TTRX6EFA5CNFSM46DW2HNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGMIAK5I.gif