reyzor1991 / foundry-vtt-pf2e-action-support

Apache License 2.0
0 stars 4 forks source link

Problem with players applying effects to unowned tokens #46

Closed Pyroman2xxx closed 4 months ago

Pyroman2xxx commented 4 months ago

Players can no longer apply effects to unowned tokens. This was working before but has not worked for some time.

The instructions say to turn on Use Socket option to apply effects to other players tokens but this setting is missing (I believe it has been gone for some time now and may no longer be necessary).

Error in console when applying Treat Wounds immunity to another player's token:

Uncaught (in promise) ReferenceError: eff is not defined at setEffectToActor (pf2e-action-support.js:1:16229) at treatWounds (pf2e-action-support.js:1:13433) at handleTreatWounds (pf2e-action-support.js:1:60639) at skillCheck (pf2e-action-support.js:1:61623) at handleGeneralMessage (pf2e-action-support.js:1:83170) at Object.fn (pf2e-action-support.js:1:19314) at #call (foundry.js:730:20) at Hooks.call (foundry.js:712:38) at #preCreateDocumentArray (foundry.js:13542:44) at async ClientDatabaseBackendPF2e._createDocuments (foundry.js:13428:22) at async ChatMessagePF2e.createDocuments (commons.js:7958:23) at async ChatMessagePF2e.create (commons.js:8081:23) at async CheckPF2e.roll (pf2e.mjs:1357:88557) at async StatisticCheck.roll (pf2e.mjs:1621:305454)

Error in console when applying Light spell to another player's token:

Uncaught (in promise) ReferenceError: eff is not defined at setEffectToActor (pf2e-action-support.js:1:16229) at setEffectToActorOrTarget (pf2e-action-support.js:1:17507) at handleSpells (pf2e-action-support.js:1:80403) at handleSelfAssignedEffects (pf2e-action-support.js:1:82753) at handleGeneralMessage (pf2e-action-support.js:1:83230) at Object.fn (pf2e-action-support.js:1:19314) at #call (foundry.js:730:20) at Hooks.call (foundry.js:712:38) at #preCreateDocumentArray (foundry.js:13542:44) at async ClientDatabaseBackendPF2e._createDocuments (foundry.js:13428:22) at async ChatMessagePF2e.createDocuments (commons.js:7958:23) at async ChatMessagePF2e.create (commons.js:8081:23) at async SpellcastingEntryPF2e.cast (pf2e.mjs:1649:23564)