jessev14 / pf2e-staves

MIT License
5 stars 9 forks source link

Custom staves require @UUID rather than @Compendium #13

Closed shemetz closed 1 year ago

shemetz commented 1 year ago

This module didn't work for me, with this custom staff:

Cantrip @Compendium[pf2e.spells-srd.VACvA5VRbddjt5s9]{Infectious Enthusiasm}
1st @Compendium[pf2e.spells-srd.oPVyu2a0K3aTVIR8]{Elysian Whimsy}, @Compendium[pf2e.spells-srd.TjrZGl8z2INgf3vi]{Friendfetch}
2nd  @Compendium[pf2e.spells-srd.tlSE7Ly8vi1Dgddv]{Hideous Laughter}, @Compendium[pf2e.spells-srd.Fr58LDSrbndgld9n]{Resist Energy}, @Compendium[pf2e.spells-srd.kIwA7kwp5E0AC3yM]{Warrior's Regret}
3rd @Compendium[pf2e.spells-srd.8cuqRFB3mWBOgy61]{Shadow Projectile}, @Compendium[pf2e-expansion-pack.Expansion-Spells.k3vYH5gsbcHfNnds]{Phantom Medic}

However, it did start working after I changed every instance of @Compendium[pf2e.blahblahblah] to @UUID[Compendium.pf2e.blahblahblah].

I would like the module to function with the first style of writing, too, because those compendium links appear perfectly functional, and are the standard style generated when using the Quick Insert module to quickly add spells to a sheet's text description.