Skip to content

Commit

Permalink
updated instruction generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Chr1Z93 committed Dec 1, 2024
1 parent 93eb236 commit 2e999b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/arkhamdb/DeckInstructionGenerator.ttslua
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ local idList = {}

-- some math for card sizing
local cardRatio = 1.4
local cardWidth = 235
local cardWidth = 230
local cardHeight = cardWidth * cardRatio
local hoverScale = 1.45
local sliceRotateScale = 0.714 -- 1 / cardRatio

-- template for the description
local galleryTemplateStart = [[<style>
.sced-spacer { height: 60px; }
.sced-spacer { height: 55px; }
.sced-card {
width: ]] .. cardWidth .. [[px;
border-radius: 5px;
Expand Down Expand Up @@ -237,7 +237,7 @@ function processCard(cardData, playerColor)
end

-- also add the back if it's not one of the regular backs
if customDeckData["BackURL"] ~= CARD_BACK_URL.PlayerCard and customDeckData["BackURL"] ~= CARD_BACK_URL.PlayerCard then
if customDeckData["BackURL"] ~= CARD_BACK_URL.PlayerCard and customDeckData["BackURL"] ~= CARD_BACK_URL.ScenarioCard then
cardDetails.back = customDeckData["BackURL"]
cardDetails.uniqueBack = customDeckData["UniqueBack"]
end
Expand Down

0 comments on commit 2e999b0

Please sign in to comment.