Index: script/c0.lua ================================================================== --- script/c0.lua +++ script/c0.lua @@ -52,35 +52,41 @@ Duel.RegisterEffect(effect_1 , 0) end --} -fun["是否效果卡"] = function(card) -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 -cache_1 = Card.IsType(card, TYPE_PENDULUM) -if cache_1 then -cache_1 = Card.IsCode(card, 28363749) -cache_2 = Card.IsCode(card, 19474136) -cache_3 = Card.IsCode(card, 17390179) -cache_4 = Card.IsCode(card, 83980492) -if cache_1 -or cache_2 -or cache_3 -or cache_4 then -else -return true -end -end -return false -end +fun["是否效果卡"] = function(card) --{ + 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 --} + cache_1 = Card.IsType(card, TYPE_PENDULUM) + if cache_1 then --{ + cache_1 = Card.IsCode(card, 28363749) + + cache_2 = Card.IsCode(card, 19474136) + + cache_3 = Card.IsCode(card, 17390179) + + cache_4 = Card.IsCode(card, 83980492) + if cache_1 + or cache_2 + or cache_3 + or cache_4 then --{ + --} + else --{ + return true + end --} + end --} + return false + end --} fun["开局说明"] = function() if str["开局说明吗"] == 1 then return else @@ -252,15 +258,5 @@ effect_1:SetOperation(cache_1) Duel.RegisterEffect(effect_1,0) end - - - - - - - - - -