Fixed sizing for evolved beastforms

This commit is contained in:
WBHarry 2025-12-21 03:05:23 +01:00
parent 989a6e3a2a
commit ce7020d8d5
6 changed files with 48 additions and 29 deletions

View file

@ -221,8 +221,8 @@ export default class DHBeastform extends BaseDataItem {
const { x, y } = game.system.api.documents.DhToken.getSnappedPositionInSquareGrid(
token.object.scene.grid,
{ x: token.x, y: token.y, elevation: token.elevation },
width,
height
width ?? token.width,
height ?? token.height
);
return {
...prototypeTokenUpdate,