diff --git a/src/accessories/TokenArranger.ttslua b/src/accessories/TokenArranger.ttslua index 282d940d..8be13a39 100644 --- a/src/accessories/TokenArranger.ttslua +++ b/src/accessories/TokenArranger.ttslua @@ -89,8 +89,7 @@ function onLoad(saveState) percentage = false else percentage = "basic" - broadcastToAll("Percentages are unreliable when using tokens that draw other tokens (bless or curse for example).", - "Yellow") + broadcastToAll("Percentages are unreliable when using tokens that draw other tokens (bless or curse for example).", "Yellow") end layout() end) @@ -101,8 +100,7 @@ function onLoad(saveState) else percentage = "cumulative" end - broadcastToAll("Percentages are unreliable when using tokens that draw other tokens (bless or curse for example).", - "Yellow") + broadcastToAll("Percentages are unreliable when using tokens that draw other tokens (bless or curse for example).", "Yellow") layout() end) end @@ -349,10 +347,10 @@ function layout(_, _, isRightClick) createPercentageButton(tokenCount, valueCount, tokenName) end - location.x = location.x - 1.75 - location.z = pos.z - currentValue = item.value - valueCount = valueCount + 1 + location.x = location.x - 1.75 + location.z = pos.z + currentValue = item.value + valueCount = valueCount + 1 tokenCount.row = 0 end @@ -361,8 +359,8 @@ function layout(_, _, isRightClick) position = location, rotation = rotation }) - tokenName = item.token.Nickname - location.z = location.z - 1.75 + tokenName = item.token.Nickname + location.z = location.z - 1.75 tokenCount.row = tokenCount.row + 1 end