Index: script/c0.lua ================================================================== --- script/c0.lua +++ script/c0.lua @@ -1,10 +1,11 @@ local str = {} local fun = {} local cache_1 local cache_2 +local cache_3 _G["通关邀请"] = function() local effect_1 @@ -31,12 +32,21 @@ Duel.RegisterEffect(effect_1 , 0) end fun["是否效果卡"] = function(card) - cache_1 = Card.IsType(card, TYPE_MONSTER) - if cache_1 then + local cache_1 + local cache_2 + local cache_3 + + cache_1 = Card.IsType(card, TYPE_SPELL) + cache_2 = Card.IsType(card, TYPE_TRAP) + cache_3 = Card.IsType(card, TYPE_EFFECT) + + if cache_1 + or cache_2 + or cache_3 then return true end return false end