ultrakorne / better-rolltables

Module for FoundryVTT to improve rolltables
MIT License
32 stars 29 forks source link

Spell scroll compendium link in description is broken #124

Closed diannetea closed 3 years ago

diannetea commented 3 years ago

This is broken both with the default dnd5e.spells compendium, and also custom ones. With custom compendiums the item id is not actually linking to the custom compendium, it is still trying to link to the srd version. I have not tested to see if non-srd spells work.

@Compendium[[object Map].laX3qGFftlQypsLn] image

MiahNelah commented 3 years ago

Thanks for your feedback! Can you show me how spell compendium is setup into your world please ? A screenshot of your table may be usefull too.

k-barber commented 3 years ago

loot-manipulation.js, lines 32 and 36 should have "${itemEntity.collection}" changed to "${itemEntity.pack}" to fix this.