From abdb447dbd2d6f4e3af1acd4fb2d44e7cf4e3233 Mon Sep 17 00:00:00 2001 From: Buhallin Date: Thu, 29 Dec 2022 15:33:07 -0800 Subject: [PATCH] Make Ancestral Knowledge only pull skills from the deck This will keep it from pulling set-aside cards such as On the Mend or Essence of the Dream --- src/arkhamdb/DeckImporterMain.ttslua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arkhamdb/DeckImporterMain.ttslua b/src/arkhamdb/DeckImporterMain.ttslua index 79e6f2a8..2099e0bb 100644 --- a/src/arkhamdb/DeckImporterMain.ttslua +++ b/src/arkhamdb/DeckImporterMain.ttslua @@ -240,7 +240,7 @@ function handleAncestralKnowledge(cardList) hasAncestralKnowledge = true card.zone = "SetAside3" elseif (card.metadata.type == "Skill" - and card.metadata.bonded_to == nil + and card.zone == "Deck" and not card.metadata.weakness) then table.insert(skillList, i) end