Index: script/c0.lua ================================================================== --- script/c0.lua +++ script/c0.lua @@ -62,24 +62,27 @@ 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 --{ --} @@ -110,18 +113,20 @@ cache_1 = Duel.GetOverlayGroup(0, LOCATION_MZONE, LOCATION_MZONE) for k in aux.Next(cache_1) do --{ cache_1 = fun["是否效果卡"](k) + if cache_1 then --{ str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + 1 end --} end --} str["开局说明"] ="" str["开局说明"] = str["开局说明"] .. str["这个残局的效果卡数量"] str["开局说明"] = str["开局说明"] .. "卡 " str["开局说明"] = str["开局说明"] .. str["规则"] + if str["不洗牌"] == 0 then --{ --} else --{ str["开局说明"] = str["开局说明"] .. "伪洗牌 " end --} @@ -140,10 +145,11 @@ end --} if str["印卡"] then --{ str["开局说明"] = str["开局说明"] .. "印卡 " end --} Debug.ShowHint(str["开局说明"]) + fun["通关邀请"]() end --} fun["开局添加手卡"] = function(str_1) str["开局添加手卡"] = str_1