reonZ / pf2e-dailies

8 stars 9 forks source link

lvl 14 feat 2-wep flurry causes error #21

Closed dharkus5000 closed 1 year ago

dharkus5000 commented 1 year ago

for the lvl 15 fighter class feature that gives a daily feat (improved flexibility), when two-weapon flurry is selected as the option, an error occurs as follows Error: An error occured while trying to create a feat source with uuid: Actor.VbHx1A7XN8e4igK5.Item.vYVucMIBBGRi0iXm createFeatSource api.ts:85 process.ts:151:20 & The error occured during processing of dailies.flexibility process.ts:152:20 the lvl 9 version, combat flexibility works as expected

reonZ commented 1 year ago

image

Looking at the uuid in your error, there is definitely something wrong because it points to an actor instead of a compendium or world entry, you must have drag & drop the Two-Weapon Flurry feat from an actor instead of using the compendium browser.

Click on the little "x" to remove the entry and open the compendium browser using the little magnifier to find it.

reonZ commented 1 year ago

I am guessing this solved your problem.

dharkus5000 commented 1 year ago

yep, duplicated the PC, then did rest then daily prep, clicked X then added from compendium and it works - weird that the source of the feat would make a difference though

reonZ commented 1 year ago

it is not weird, that is how foundry works, and it can work even if the source comes from an actor, but the problem is you probably deleted the feat from the actor after that, so the module is trying to find a source that doesn't exist anymore.