diff --git a/scripts/helpers/animation/crit-animation.js b/scripts/helpers/animation/crit-animation.js index e8291f1..537a41a 100644 --- a/scripts/helpers/animation/crit-animation.js +++ b/scripts/helpers/animation/crit-animation.js @@ -222,7 +222,12 @@ export function personaCrit(token, users, imgData) { [-0.1 * screenWidth, 0.73 * screenHeight], ]; const centeredPoints = polygonPoints.map(([x, y]) => [x - screenWidth / 2, y - screenHeight / 2]); - const { personaImg, critScale, critOffsetX, critOffsetY, critRotation } = token.flags?.["pf2e-rpg-numbers"] || {}; + const { personaImg, critScale, critOffsetX, critOffsetY, critRotation } = token.flags?.["pf2e-rpg-numbers"] || { + critScale: 100, + critOffsetX: 0, + critOffsetY: 0, + critRotation: 0, + }; const imageUrl = personaImg || imgData.img; const imageScaler = personaImg ? (imgData.scaleX + imgData.yScale) / 2 : 1;