游戏王残局简化版

Check-in [f7d8ee14bc]
Login

Check-in [f7d8ee14bc]

Overview
Comment:
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f7d8ee14bc34574022fc7cef4ee76a1c248cc14b2836f9c0c99beef757a6396e
User & Date: 顽雨沉风 on 2024-02-13 11:49:40
Other Links: manifest | tags
Context
2024-02-13
14:22
check-in: b9c81ad464 user: 顽雨沉风 tags: trunk
11:49
check-in: f7d8ee14bc user: 顽雨沉风 tags: trunk
11:46
check-in: 091f486d37 user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [08284fbbde] to [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