This commit is contained in:
dscarpac 2024-09-29 16:29:15 -05:00
parent 21d058f675
commit d83ec92561
2 changed files with 4 additions and 3 deletions

View File

@ -8,6 +8,7 @@
"combatIcons": 3,
"agilityIcons": 4,
"cycle": "Investigator Packs",
"extraToken": "None",
"signatures": [
{
"60502": 3,

View File

@ -345,9 +345,7 @@ function doUpkeep(_, clickedByColor, isRightClick)
discardListOfObjects({ obj })
elseif obj.hasTag("UniversalToken") == true and obj.is_face_down then
obj.flip()
elseif obj.type == "Card" then
local cardMetadata = JSON.decode(obj.getGMNotes()) or {}
elseif obj.type == "Card" then
if obj.hasTag("DoInUpkeep") then
obj.call("doInUpkeep")
end
@ -355,6 +353,8 @@ function doUpkeep(_, clickedByColor, isRightClick)
if inArea(self.positionToLocal(obj.getPosition()), INVESTIGATOR_AREA) then
return
end
local cardMetadata = JSON.decode(obj.getGMNotes()) or {}
if not (obj.getVar("do_not_ready") or obj.hasTag("DoNotReady")) then
local cardRotation = obj.getRotation()