asacolips-projects / boilerplate

Boilerplate system for FoundryVTT to use as a starting point for your own system's development. Follow along with the [accompanying tutorial](https://foundryvtt.wiki/en/development/guides/SD-tutorial) on the wiki.
Other
19 stars 10 forks source link

Effects created on items don't show the Source #28

Closed yjeroen closed 2 months ago

yjeroen commented 3 months ago

Bug: image

Solution: templates/item/effects.hbs is missing data-origin="{{@root.item.uuid}}" after line 22.

Note: Only verified on ChaosOS's V12 branch https://github.com/JPMeehan/boilerplate/tree/v12

yjeroen commented 3 months ago

Also, I believe in the actor/effects.hbs and item/effects.hbs template it should use the parents name instead of the source name.

<div class='effect-source'>{{effect.parent.name}}</div>
JPMeehan commented 2 months ago

Fix is simple: in templates/item/effects.hbs, on the effect creation add data-origin="{{@root.item.uuid}}"