Index: script/c0.lua ================================================================== --- script/c0.lua +++ script/c0.lua @@ -143,25 +143,22 @@ , 0) end --} fun["是否效果卡"] = function(card) --{ - - for i = 1, #str[" 效果卡的种类表 "] - - 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 - + + cache_1 = #str["效果卡的种类表"] + + for i = 1, cache_1 do --{ + + cache_1 = Card.IsType(card, str["效果卡的种类表"][i]) + + if cache_1 then --{ + + return true + end --} + end --} cache_1 = Card.IsType(card, TYPE_PENDULUM) if cache_1 then --{