Fix character card script to place action tokens in new location
All checks were successful
build-mod / build-the-mod (release) Successful in 19s
All checks were successful
build-mod / build-the-mod (release) Successful in 19s
This commit is contained in:
parent
f1f41ca641
commit
0331bd861b
@ -977,7 +977,7 @@ function maybeUpdateActiveInvestigator(card)
|
|||||||
|
|
||||||
-- spawn three regular action tokens (investigator specific one in the bottom spot)
|
-- spawn three regular action tokens (investigator specific one in the bottom spot)
|
||||||
for i = 1, 3 do
|
for i = 1, 3 do
|
||||||
local pos = self.positionToWorld(Vector(-1.54 + i * 0.17, 0, -0.28)):add(Vector(0, 0.2, 0))
|
local pos = self.positionToWorld(Vector(-1.54 + i * 0.17, 0, -1.13)):add(Vector(0, 0.2, 0))
|
||||||
|
|
||||||
tokenManager.spawnToken(pos, "universalActionAbility", self.getRotation(),
|
tokenManager.spawnToken(pos, "universalActionAbility", self.getRotation(),
|
||||||
function(spawned)
|
function(spawned)
|
||||||
@ -990,8 +990,8 @@ function maybeUpdateActiveInvestigator(card)
|
|||||||
-- local positions
|
-- local positions
|
||||||
local tokenSpawnPos = {
|
local tokenSpawnPos = {
|
||||||
action = {
|
action = {
|
||||||
Vector(-0.86, 0, -0.28), -- left of the regular three actions
|
Vector(-0.86, 0, -1.13), -- left of the regular three actions
|
||||||
Vector(-1.54, 0, -0.28), -- right of the regular three actions
|
Vector(-1.54, 0, -1.13), -- right of the regular three actions
|
||||||
},
|
},
|
||||||
ability = {
|
ability = {
|
||||||
Vector(-1, 0, 0.118), -- bottom left corner of the investigator card
|
Vector(-1, 0, 0.118), -- bottom left corner of the investigator card
|
||||||
|
Loading…
Reference in New Issue
Block a user