Closed oWave closed 2 months ago
The token.document.data.scale
is now token.document.texture.scaleX
/scaleY
. Just replace it with scaleX
as the two are practically never out of sync.
Sequencer already uses scaleX
/scaleY
with considerTokenScale
: https://github.com/fantasycalendar/FoundryVTT-Sequencer/blob/a3edc36bc6a8756b9fe180f3ab4f9e7495444be5/src/canvas-effects/canvas-effect.js#L2655
Yep, just not with animateProperty I believe.
I have no idea what
token.document.data.scale
used to be, it no longer exists. But using width/height instead doesn't work. The Encumbered effect looks like it used to without multipliers, andscaleToObject
without passing extra scale on those effects looks good as well.