Index: script/c0.lua ================================================================== --- script/c0.lua +++ script/c0.lua @@ -1,20 +1,9 @@ local str = {} local string = string local table = table _G.fun = {} ---------------------------------- -local cache_1 -local cache_2 -local cache_3 -local cache_4 -local cache_5 -local cache_6 -local cache_7 -local cache_8 -local cache_9 -local _ str["效果卡的种类表"] = { TYPE_SPELL, TYPE_TRAP, TYPE_EFFECT, } @@ -22,15 +11,16 @@ 28363749, 19474136, 17390179, 83980492, } -cache_1 = 0 -cache_1 = cache_1 + LOCATION_HAND + LOCATION_MZONE + LOCATION_SZONE + LOCATION_GRAVE + LOCATION_REMOVED -str["除卡组与额外卡组以外的区域"] = cache_1 -cache_1 = cache_1 + LOCATION_DECK + LOCATION_EXTRA -str["所有区域"] = cache_1 +local h1 +--~ 区域 +h1 = LOCATION_HAND + LOCATION_MZONE + LOCATION_SZONE + LOCATION_GRAVE + LOCATION_REMOVED +str["除卡组与额外卡组以外的区域"] = h1 +h1 = h1 + LOCATION_DECK + LOCATION_EXTRA +str["所有区域"] = h1 --第一层------------------------------- local cache_1 local cache_2 local cache_3 local cache_4 @@ -174,12 +164,12 @@ fun["Debug.ReloadFieldEnd"] = Debug.ReloadFieldEnd Debug.ReloadFieldEnd = function(u1) fun["Debug.ReloadFieldEnd"]() if u1 then fun["一_随机抽卡"](u1) + end end -end fun["二_印卡"] = function(u1, u2, u3) u3 = u3 or u2 Debug.ShowHint( "点击对方额外卡组可以进行印卡。\n手卡只能印 " .. u2