游戏王残局简化版

Check-in [a5616b998c]
Login

Check-in [a5616b998c]

Overview
Comment:0
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a5616b998c702cf1eb7788f49012e2b1b0ed6dccafed1b6b1bf2f5156a21f36a
User & Date: 顽雨沉风 on 2024-06-27 08:27:37
Other Links: manifest | tags
Context
2024-06-27
08:28
0 check-in: 844b062240 user: 顽雨沉风 tags: trunk
08:27
0 check-in: a5616b998c user: 顽雨沉风 tags: trunk
08:25
0 check-in: 7e1849c15c user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [55db02fd1f] to [35dc8aadee].

30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
  --~ 模
  --~ 则数
  function _G.Debug.ReloadFieldBegin(o1, o2)
    d["数_假洗卡"] = o1 & DUEL_PSEUDO_SHUFFLE
    d["数_战斗阶段"] = o1 & DUEL_ATTACK_FIRST_TURN
    d["数_人工智能"] = o1 & DUEL_SIMPLE_AI
    if o2 then
      s["则"] = k1[o2]
    else
      s["则"] = k1[5]
      end
    s["Debug.ReloadFieldBegin"](o1, o2)
    end
  end
f["不被连锁"] = function()
  Duel.SetChainLimit(aux.FALSE)
  return true
  end
d["是否有效果卡"] = function(card)
  for i = 1, #d["排_非效果灵摆怪兽的卡编"] do
    if Card.IsCode(card, d["排_非效果灵摆怪兽的卡编"][i]) then
      return false
      end
    end
  return true
  end
do
  local k1
  --~ 效果的效果
  --~ 效果的玩家
  s["_开局选卡入手"] = function(o1, o2)
    local k2
    --~ 玩家选定的卡
    k2 = Duel.SelectMatchingCard(o2, Card.IsAbleToHand, o2, LOCATION_DECK, 0, k1, k1, nil)
    Duel.SendtoHand(k2, nil, REASON_RULE)
    o1:Reset()
    end







|

|

|






|









|
|







30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
  --~ 模
  --~ 则数
  function _G.Debug.ReloadFieldBegin(o1, o2)
    d["数_假洗卡"] = o1 & DUEL_PSEUDO_SHUFFLE
    d["数_战斗阶段"] = o1 & DUEL_ATTACK_FIRST_TURN
    d["数_人工智能"] = o1 & DUEL_SIMPLE_AI
    if o2 then
      d["字_这一局的规则"] = k1[o2]
    else
      d["字_这一局的规则"] = k1[5]
      end
    f["Debug.ReloadFieldBegin"](o1, o2)
    end
  end
f["不被连锁"] = function()
  Duel.SetChainLimit(aux.FALSE)
  return true
  end
f["是否有效果卡"] = function(card)
  for i = 1, #d["排_非效果灵摆怪兽的卡编"] do
    if Card.IsCode(card, d["排_非效果灵摆怪兽的卡编"][i]) then
      return false
      end
    end
  return true
  end
do
  local k1
  --~ 用这个效果的效果
  --~ 用这个效果的玩家
  s["_开局选卡入手"] = function(o1, o2)
    local k2
    --~ 玩家选定的卡
    k2 = Duel.SelectMatchingCard(o2, Card.IsAbleToHand, o2, LOCATION_DECK, 0, k1, k1, nil)
    Duel.SendtoHand(k2, nil, REASON_RULE)
    o1:Reset()
    end
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
  k3 = Duel.GetOverlayGroup(0, LOCATION_MZONE, LOCATION_MZONE)
  for o1 in aux.Next(k3) do
    if d["是否有效果卡"](o1) then
      k2 = k2 + 1
      end
    end
  --~ 开局说明
  k1 = k2 .. "卡 " .. s["则"]
  if d["数_假洗卡"] == 0 then
  else
    k1 = k1 .. "假洗卡 "
    end
  if d["数_战斗阶段"] == 0 then
    k1 = k1 .. "无战斗阶段 "
    end







|







144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
  k3 = Duel.GetOverlayGroup(0, LOCATION_MZONE, LOCATION_MZONE)
  for o1 in aux.Next(k3) do
    if d["是否有效果卡"](o1) then
      k2 = k2 + 1
      end
    end
  --~ 开局说明
  k1 = k2 .. "卡 " .. d["字_这一局的规则"]
  if d["数_假洗卡"] == 0 then
  else
    k1 = k1 .. "假洗卡 "
    end
  if d["数_战斗阶段"] == 0 then
    k1 = k1 .. "无战斗阶段 "
    end