Merge pull request #470 from argonui/norman-topcard

limit flipping of topcard to norman only
This commit is contained in:
Entrox-Licher 2023-11-13 10:47:27 -05:00 committed by GitHub
commit 081981e51b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -457,14 +457,20 @@ function drawCardsWithReshuffle(numCards)
if deckSize >= numCards then if deckSize >= numCards then
drawCards(numCards) drawCards(numCards)
if topCardDetected then flipTopCardFromDeck() end -- flip top card again for Norman
if topCardDetected and string.match(activeInvestigatorId, "%d%d%d%d%d") == "08004" then
flipTopCardFromDeck()
end
else else
drawCards(deckSize) drawCards(deckSize)
if deckAreaObjects.discard ~= nil then if deckAreaObjects.discard ~= nil then
shuffleDiscardIntoDeck() shuffleDiscardIntoDeck()
Wait.time(function() Wait.time(function()
drawCards(numCards - deckSize) drawCards(numCards - deckSize)
if topCardDetected then flipTopCardFromDeck() end -- flip top card again for Norman
if topCardDetected and string.match(activeInvestigatorId, "%d%d%d%d%d") == "08004" then
flipTopCardFromDeck()
end
end, 1) end, 1)
end end
printToColor("Take 1 horror (drawing card from empty deck)", messageColor) printToColor("Take 1 horror (drawing card from empty deck)", messageColor)