From 93d917c2ea622dc1d39499d0af608bd7ebfed177 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Tue, 7 Nov 2023 16:07:28 +0100 Subject: [PATCH] added ids --- src/core/PlayArea.ttslua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/PlayArea.ttslua b/src/core/PlayArea.ttslua index 5b03de49..bf1c578c 100644 --- a/src/core/PlayArea.ttslua +++ b/src/core/PlayArea.ttslua @@ -145,6 +145,11 @@ function shouldSpawnTokens(card) or metadata.type == "Enemy" or metadata.type == "Treachery" or metadata.weakness + -- hardcoded IDs for "Makeshift Trap" and "Shrine of the Moirai" + -- these cards are events with uses, that attach to encounter cards and thus will enter play in the playarea + -- TODO: probably turn this into a metadata field if we get more cards like that + or metadata.id == "07310" + or metadata.id == "09100" end function onCollisionExit(collisionInfo)