SCED/src/chaosbag/BlessCurseManagerApi.ttslua

15 lines
514 B
Plaintext
Raw Normal View History

2023-03-02 18:39:20 -05:00
do
local BlessCurseManagerApi = {}
local GUID = "5933fb"
-- removes all taken tokens and resets the counts
BlessCurseManagerApi.removeTakenTokensAndReset = function()
local BlessCurseManager = getObjectFromGUID(GUID)
Wait.time(function() BlessCurseManager.call("removeType", "Bless") end, 0.05)
Wait.time(function() BlessCurseManager.call("removeType", "Curse") end, 0.10)
Wait.time(function() BlessCurseManager.call("doReset", "White") end, 0.15)
end
return BlessCurseManagerApi
end