Index: script/c0.lua ================================================================== --- script/c0.lua +++ script/c0.lua @@ -108,10 +108,43 @@ Duel.RegisterEffect(str["效果"] , 0) end --} + +fun["一_是否效果卡"] = function(card) --{ + + for i = 1, #str["效果卡的种类表"] do --{ + + if Card.IsType(card, str["效果卡的种类表"][i]) then --{ + + return true + end --} + + end --} + + if Card.IsType(card, TYPE_PENDULUM) then --{ + + for i = 1, #str["无效果灵摆怪兽表"] do --{ + + if Card.IsCode(card, str["无效果灵摆怪兽表"][i]) then --{ + + --} + + else --{ + + return true + + end --} + + end --} + + end --} + + return false + + end --} --第二层------------------------------- local cache_1 local cache_2 @@ -198,42 +231,11 @@ end --} -fun["是否效果卡"] = function(card) --{ - - for i = 1, #str["效果卡的种类表"] do --{ - - if Card.IsType(card, str["效果卡的种类表"][i]) then --{ - - return true - end --} - - end --} - - if Card.IsType(card, TYPE_PENDULUM) then --{ - - for i = 1, #str["无效果灵摆怪兽表"] do --{ - - if Card.IsCode(card, str["无效果灵摆怪兽表"][i]) then --{ - - --} - - else --{ - - return true - - end --} - - end --} - - end --} - - return false - - end --} + fun["开局说明"] = function() --{ str["这个残局的效果卡数量"] = Duel.GetMatchingGroupCount(fun["是否效果卡"] , 0