Index: script/c0.lua ================================================================== --- script/c0.lua +++ script/c0.lua @@ -60,11 +60,11 @@ h2:SetCondition(aux.TRUE) h2:SetOperation(s["开局洗牌抽牌"]) Duel.RegisterEffect(h2, 0) end end -s.["不被连锁"] = function() +s["不被连锁"] = function() Duel.SetChainLimit(aux.FALSE) return true end do local h1, h2 @@ -94,11 +94,11 @@ h1:SetCondition(s["_通关之邀"]) h1:SetOperation(aux.NULL) Duel.RegisterEffect(h1, 0) end end -s.["是否效牌"] = function(card) +s["是否效牌"] = function(card) for i = 1, #s["效牌之类排"] do if Card.IsType(card, s["效牌之类排"][i]) then return true end end @@ -185,11 +185,11 @@ Debug.ShowHint(h1) u1:Reset() end end end - s.["印牌"] = function(u1, u2, u3) + s["印牌"] = function(u1, u2, u3) local h5, h6 h3 = u2 h4 = u3 or u2 Debug.ShowHint("点击对方额外牌组可以进行印牌。\n手牌只能印 " .. u2 .. " 张。\n最多可以印 " .. u3 .. " 张") h5 = Effect.CreateEffect(u1) @@ -199,11 +199,11 @@ h5:SetRange(LOCATION_EXTRA) h5:SetOperation(s["_印牌"]) u1:RegisterEffect(h5) end end -s.["开局之示"] = function() +s["开局之示"] = function() local h1, h2, h3 --~ 此局效牌之数 h2 = Duel.GetMatchingGroupCount(s["是否效牌"], 0, s["全区"], s["全区"], nil) --~ 超量材组 h3 = Duel.GetOverlayGroup(0, LOCATION_MZONE, LOCATION_MZONE)