Index: script/c0.lua ================================================================== --- script/c0.lua +++ script/c0.lua @@ -8,10 +8,12 @@ local cache_5 local cache_6 local cache_7 local cache_8 local cache_9 + +local i _G.fun = {} str["二解弹窗"] = "QB:「你居然二解了,请加群告诉我怎么二解。」" str["原解弹窗"] = "残局群181175613" @@ -21,10 +23,16 @@ str["大师2020"] = "大师2020 " str["不洗牌"] = false str["无BP"] = false +str["效果卡的种类表"] = {} + +str["效果卡的种类表"][1] = TYPE_SPELL +str["效果卡的种类表"][2] = TYPE_TRAP +str["效果卡的种类表"][3] = TYPE_EFFECT + cache_1 = 0 cache_1 = cache_1 + LOCATION_HAND cache_1 = cache_1 + LOCATION_MZONE cache_1 = cache_1 + LOCATION_SZONE @@ -90,12 +98,10 @@ end --} fun["通关邀请"] = function() --{ - - effect_1 = Effect.GlobalEffect() effect_1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS) @@ -137,10 +143,12 @@ , 0) end --} fun["是否效果卡"] = function(card) --{ + + for i = 1, #str[" 效果卡的种类表 "] cache_1 = Card.IsType(card, TYPE_SPELL) cache_2 = Card.IsType(card, TYPE_TRAP)