Index: script/c0.lua ================================================================== --- script/c0.lua +++ script/c0.lua @@ -71,69 +71,58 @@ return true end end return false end + fun["开局说明"] = function() if str["开局说明吗"] == 1 then return else str["开局说明吗"] = 1 end - cache_1 = 0 cache_1 = cache_1 + LOCATION_DECK cache_1 = cache_1 + LOCATION_HAND cache_1 = cache_1 + LOCATION_MZONE cache_1 = cache_1 + LOCATION_SZONE cache_1 = cache_1 + LOCATION_GRAVE cache_1 = cache_1 + LOCATION_REMOVED cache_1 = cache_1 + LOCATION_EXTRA - str["这个残局的效果卡数量"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,cache_1,cache_1,nil) - 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 if str["无BP"] == 0 then str["开局说明"] = str["开局说明"] .. "无BP " end - if str["开局添加手卡"] then str["开局说明"] = str["开局说明"] .. "选" str["开局说明"] = str["开局说明"] .. str["开局添加手卡"] str["开局说明"] = str["开局说明"] .. "卡 " end - if str["禁格"] then str["开局说明"] = str["开局说明"] .. "禁" str["开局说明"] = str["开局说明"] .. str["禁格"] str["开局说明"] = str["开局说明"] .. "格 " end - if str["印卡"] then str["开局说明"] = str["开局说明"] .. "印卡 " end - Debug.ShowHint(str["开局说明"]) fun["通关邀请"]() end fun["开局添加手卡"] = function(str_1)