adding readbag to hover

This commit is contained in:
Chr1Z93 2023-04-07 22:16:31 +02:00
parent 8c54a4d19b
commit 1653290b3a

View File

@ -141,6 +141,14 @@ function readBag()
end
end
-- native event from TTS - used to update the context menu for cards like "Unrelenting"
function onHover()
if SHOW_READ_BAG then
readBag()
generateContextMenu()
end
end
-- seals the named token on this card
function sealToken(name, playerColor)
if not Global.call("canTouchChaosTokens") then return end