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
This commit is contained in:
Buhallin 2022-12-29 15:33:07 -08:00
parent 6fedd30a55
commit abdb447dbd
No known key found for this signature in database
GPG Key ID: DB3C362823852294

View File

@ -240,7 +240,7 @@ function handleAncestralKnowledge(cardList)
hasAncestralKnowledge = true hasAncestralKnowledge = true
card.zone = "SetAside3" card.zone = "SetAside3"
elseif (card.metadata.type == "Skill" elseif (card.metadata.type == "Skill"
and card.metadata.bonded_to == nil and card.zone == "Deck"
and not card.metadata.weakness) then and not card.metadata.weakness) then
table.insert(skillList, i) table.insert(skillList, i)
end end