Merge pull request #728 from argonui/minicard-scale

Set correct scale for spawning mini cards
This commit is contained in:
Chr1Z 2024-06-28 01:13:11 +02:00 committed by GitHub
commit a578688f5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 6 deletions

View File

@ -89,12 +89,12 @@
],
"Tooltip": true,
"Transform": {
"posX": 40.7253036,
"posY": 1.29860592,
"posZ": 66.7765656,
"rotX": 1.697304e-7,
"rotY": 270.0102,
"rotZ": 2.00479718e-7,
"posX": 40,
"posY": 1.3,
"posZ": 66,
"rotX": 0,
"rotY": 270,
"rotZ": 0,
"scaleX": 0.6,
"scaleY": 1,
"scaleZ": 0.6

View File

@ -28,6 +28,9 @@ Spawner.spawnCards = function(cardList, pos, rot, sort, callback)
if card.metadata.type == "Investigator" then
table.insert(investigatorCards, card)
elseif card.metadata.type == "Minicard" then
-- set proper scale for minicards
card.data.Transform.scaleX = 0.6
card.data.Transform.scaleZ = 0.6
table.insert(miniCards, card)
else
table.insert(standardCards, card)