Index: script/c0.lua ================================================================== --- script/c0.lua +++ script/c0.lua @@ -122,10 +122,16 @@ if str["开局添加手卡"] then str["开局说明"] = str["开局说明"] .. "选" str["开局说明"] = str["开局说明"] .. str["开局添加手卡"] str["开局说明"] = str["开局说明"] .. "卡 " end + + if str["禁格"] then + str["开局说明"] = str["开局说明"] .. "选" + str["开局说明"] = str["开局说明"] .. str["开局添加手卡"] + str["开局说明"] = str["开局说明"] .. "卡 " + end Debug.ShowHint(str["开局说明"]) fun["通关邀请"]() end @@ -166,8 +172,12 @@ , 0) fun["开局说明"]() end fun["禁格"] = function(str_1) + str["禁格"] = str_1 effect_1 = Effect.GlobalEffect() effect_1:SetType(EFFECT_TYPE_FIELD) + effect_1:SetCode(EFFECT_USE_EXTRA_MZONE) + effect_1:SetValue(str_1) + Duel.RegisterEffect(effect_1,0) end