WFRP4e-FoundryVTT icon indicating copy to clipboard operation
WFRP4e-FoundryVTT copied to clipboard

auras and area template tweaks

Open silentmark opened this issue 1 year ago • 1 comments

Hi,

this is my proposal to switch auras from dummy templates to hidden, persistent templates. This will allow integration with Automated Animations, as well as with potentially other modules (Levels). There are also 2 scenarios, when effects/templates are not correctly handled. If you have a token on scene, and you add an item with Aura effect - then aura will not show until any token on the scene moves. Same when you delete an item - i wasn't sure if i want to put this part of code in delete / create hooks.

In addition, there are three methods for checking the templates intersection with tokens, it is based on https://github.com/operation404/boneyard-template-tools (if you would consider using it, you might mention this module).

And this is how it looks like. sample.webm

silentmark avatar Feb 01 '24 22:02 silentmark

I've implemented my preferred method of handling aura templates in b10049a9f473504d7169458a169da6fa0a2d4b11

Please review it to consider how to include your desired features

moo-man avatar Mar 19 '24 02:03 moo-man