游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [08284fbbde]:

To Artifact [2b050e85be]:


46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
  else
    str["规则"] = str["规则表"][5]
  end
  fun["Debug.ReloadFieldBegin"](u1, u2)
end
function s["开局随机抽卡"](u1)
  local h1, h2
  str["随机抽卡"] = u1
  --~ 效果
  h1 = Effect.GlobalEffect()
  h1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  h1:SetCode(EVENT_ADJUST)
  h1:SetCondition(aux.TRUE)
  -- 随机抽卡
  --~ 调该效果的效果







|







46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
  else
    str["规则"] = str["规则表"][5]
  end
  fun["Debug.ReloadFieldBegin"](u1, u2)
end
function s["开局随机抽卡"](u1)
  local h1, h2
  s["开局随机抽卡数"] = u1
  --~ 效果
  h1 = Effect.GlobalEffect()
  h1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  h1:SetCode(EVENT_ADJUST)
  h1:SetCondition(aux.TRUE)
  -- 随机抽卡
  --~ 调该效果的效果
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
    effect_event:Reset()
  end
  str["效果"]:SetOperation(cache_1)
  Duel.RegisterEffect(str["效果"], 0)
end
fun["一_禁格"] = function(u1)
  local h1
  str["禁格"] = true
  str["禁格的数量"] = u1
  --~ 效果
  h1 = Effect.GlobalEffect()
  h1:SetCode(EFFECT_USE_EXTRA_MZONE)
  h1:SetValue(u1)
  Duel.RegisterEffect(h1, 0)
  end
--第二层-------------------------------







|
<







139
140
141
142
143
144
145
146

147
148
149
150
151
152
153
    effect_event:Reset()
  end
  str["效果"]:SetOperation(cache_1)
  Duel.RegisterEffect(str["效果"], 0)
end
fun["一_禁格"] = function(u1)
  local h1
  s["禁格之数"] = u1

  --~ 效果
  h1 = Effect.GlobalEffect()
  h1:SetCode(EFFECT_USE_EXTRA_MZONE)
  h1:SetValue(u1)
  Duel.RegisterEffect(h1, 0)
  end
--第二层-------------------------------
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
    end
  if str["无AI"] == 0 then
    h1 = h1 .. "无AI "
    end
  if str["开局添加手卡"] then
    h1 = h1 .. "选" .. str["开局添加手卡的数量"] .. "卡 "
    end
  if str["禁格"] then
    h1 = h1 .. "禁" .. str["禁格"] .. "格 "
    end
  if str["随机抽卡"] then
    h1 = h1 .. "抽" .. str["随机抽卡"] .. "卡 "
    end
  Debug.ShowHint(h1)
  end
fun["aux.BeginPuzzle"] = aux.BeginPuzzle
aux.BeginPuzzle = function(u1, u2)
  fun["aux.BeginPuzzle"]()
  if u1 then







|
|

|
|







226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
    end
  if str["无AI"] == 0 then
    h1 = h1 .. "无AI "
    end
  if str["开局添加手卡"] then
    h1 = h1 .. "选" .. str["开局添加手卡的数量"] .. "卡 "
    end
  if s["禁格之数"] then
    h1 = h1 .. "禁" .. s["禁格数"] .. "格 "
    end
  if s["开局随机抽卡数"] then
    h1 = h1 .. "抽" .. s["开局随机抽卡数"] .. "卡 "
    end
  Debug.ShowHint(h1)
  end
fun["aux.BeginPuzzle"] = aux.BeginPuzzle
aux.BeginPuzzle = function(u1, u2)
  fun["aux.BeginPuzzle"]()
  if u1 then