Skip to content

Commit 3396d8e

Browse files
committed
fix variable and the goad interaction
1 parent 70ac0bd commit 3396d8e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

items/code.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3425,6 +3425,15 @@ local variable = {
34253425
local c = SMODS.Ranks[card.base.value] or {}
34263426
if c.hidden or c.noe_doe or c.no_collection or c.no_variable or c.no_code then
34273427
card.debuff = true
3428+
else
3429+
G.E_MANAGER:add_event(Event{
3430+
trigger = "after",
3431+
blocking = false,
3432+
func = function()
3433+
card.debuff = false
3434+
return true
3435+
end
3436+
})
34283437
end
34293438
end
34303439
return emplace_ref(self, card, ...)

0 commit comments

Comments
 (0)