Index: script/c0.lua ================================================================== --- script/c0.lua +++ script/c0.lua @@ -48,11 +48,11 @@ end fun["Debug.ReloadFieldBegin"](u1, u2) end function s["开局随机抽卡"](u1) local h1, h2 - str["随机抽卡的数量"] = u1 + s["开局随机抽卡之数"] = u1 --~ 效果 h1 = Effect.GlobalEffect() h1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS) h1:SetCode(EVENT_ADJUST) h1:SetCondition(aux.TRUE) @@ -141,12 +141,11 @@ str["效果"]:SetOperation(cache_1) Duel.RegisterEffect(str["效果"], 0) end fun["一_禁格"] = function(u1) local h1 - str["禁格"] = true - str["禁格的数量"] = u1 + s["禁格之数"] = u1 --~ 效果 h1 = Effect.GlobalEffect() h1:SetCode(EFFECT_USE_EXTRA_MZONE) h1:SetValue(u1) Duel.RegisterEffect(h1, 0) @@ -229,15 +228,15 @@ h1 = h1 .. "无AI " end if str["开局添加手卡"] then h1 = h1 .. "选" .. str["开局添加手卡的数量"] .. "卡 " end - if str["禁格"] then - h1 = h1 .. "禁" .. str["禁格的数量"] .. "格 " + if s["禁格之数"] then + h1 = h1 .. "禁" .. s["禁格之数"] .. "格 " end - if str["随机抽卡的数量"] then - h1 = h1 .. "抽" .. str["随机抽卡的数量"] .. "卡 " + if s["开局随机抽卡之数"] then + h1 = h1 .. "抽" .. s["开局随机抽卡之数"] .. "卡 " end Debug.ShowHint(h1) end fun["aux.BeginPuzzle"] = aux.BeginPuzzle aux.BeginPuzzle = function(u1, u2)