You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to quick and dirty fix it in that case by changing .isPc to .hasPlayerOwner . I haven't had time to extensively test it and I don't know if the fix is that simple for all macros but it seems to be working in that use case.
module-specific/resolve_surprise.js (and several other macros) are being removed in the upcoming v9 version of this module due to the module it depends no longer being updated.
misc/award_party_xp.js has been updated to work in the v9 development branch.
foundry_community_macros/module-specific/resolve_surprise.js:135: .filter((pc) => pc.actor.isPC && pc.actor.data.type === "character")
foundry_community_macros/module-specific/resolve_surprise.js:144: .filter((pc) => pc.actor.isPC && pc.actor.data.type === "character")
foundry_community_macros/module-specific/resolve_surprise.js:151: .filter((ec) => ec.actor.isPC === false && ec.data.disposition === -1)
foundry_community_macros/module-specific/resolve_surprise.js:160: .filter((ec) => ec.actor.isPC === false && ec.data.disposition === -1)
foundry_community_macros/misc/award_party_xp.js:5: let actors = game.actors.entities.filter(e => e.data.type === 'character' && e.isPC);
The text was updated successfully, but these errors were encountered: