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
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
drawCards(deckSize)
if deckAreaObjects.discard ~= nil then
shuffleDiscardIntoDeck()
Wait.time(function()
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
printToColor("Take 1 horror (drawing card from empty deck)", messageColor)