diff --git a/src/core/token/TokenManager.ttslua b/src/core/token/TokenManager.ttslua index 7c18cada..f78d2a77 100644 --- a/src/core/token/TokenManager.ttslua +++ b/src/core/token/TokenManager.ttslua @@ -4,22 +4,22 @@ do local PLAYER_CARD_TOKEN_OFFSETS = { [1] = { - Vector(0, 8, -0.2) + Vector(0, 3, -0.2) }, [2] = { - Vector(0.4, 20, -0.2), - Vector(-0.4, 20, -0.2) + Vector(0.4, 3, -0.2), + Vector(-0.4, 3, -0.2) }, [3] = { - Vector(0, 8, -0.9), - Vector(0.4, 8, -0.2), - Vector(-0.4, 8, -0.2) + Vector(0, 3, -0.9), + Vector(0.4, 3, -0.2), + Vector(-0.4, 3, -0.2) }, [4] = { - Vector(0.4, 10, -0.9), - Vector(-0.4, 10, -0.9), - Vector(0.4, 10, -0.2), - Vector(-0.4, 10, -0.2) + Vector(0.4, 3, -0.9), + Vector(-0.4, 3, -0.9), + Vector(0.4, 3, -0.2), + Vector(-0.4, 3, -0.2) }, [5] = { Vector(0.7, 3, -0.9), @@ -165,7 +165,7 @@ do TokenManager.spawnCounterToken = function(card, tokenType, tokenValue, shiftDown) if tokenValue < 1 or tokenValue > 50 then return end - local pos = card.positionToWorld(Vector(0, 0.2, shiftDown)) + local pos = card.positionToWorld(PLAYER_CARD_TOKEN_OFFSETS[1][1] + Vector(0, 0, shiftDown)) local rot = card.getRotation() TokenManager.spawnToken(pos, tokenType, rot, function(spawned) spawned.setState(tokenValue) end) end @@ -334,7 +334,7 @@ do end log("Spawning use array tokens for "..card.getName()..'['..card.getDescription()..']: '..tokenCount.."x "..token) -- Shift each spawned group after the first down so they don't pile on each other - TokenManager.spawnTokenGroup(card, token, tokenCount, (i - 1) * 0.6) + TokenManager.spawnTokenGroup(card, token, tokenCount, (i - 1) * 0.8) end end tokenSpawnTracker.markTokensSpawned(card.getGUID())