游戏王残局简化版

Check-in [07dff49316]
Login

Check-in [07dff49316]

Overview
Comment:0
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 07dff493167d6cabd7060f67a1aef0744e668eca71870abd9911f193f2a3af18
User & Date: 顽雨沉风 on 2024-07-17 22:58:30
Other Links: manifest | tags
Context
2024-07-17
23:08
0 check-in: 383ce45c59 user: 顽雨沉风 tags: trunk
22:58
0 check-in: 07dff49316 user: 顽雨沉风 tags: trunk
22:39
0 check-in: 738c457e01 user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [9566632690] to [e0e5b879de].

15
16
17
18
19
20
21
22
23

24
25
26
27
28
29
30
  28363749,
  19474136,
  17390179,
  83980492,
  }
d["数_所有区域"] = LOCATION_HAND + LOCATION_MZONE + LOCATION_SZONE + LOCATION_GRAVE + LOCATION_REMOVED + LOCATION_DECK + LOCATION_EXTRA
do
  local k1
  --~ 这一局所适用规则的对

  k1 = {
    [3] = "大师规则三(2014) ",
    [4] = "新大师规则(2017) ",
    [5] = "大师规则(2020) ",
    }
  f["Debug.ReloadFieldBegin"] = _G.Debug.ReloadFieldBegin
  --~ 数_这一局的模式







<

>







15
16
17
18
19
20
21

22
23
24
25
26
27
28
29
30
  28363749,
  19474136,
  17390179,
  83980492,
  }
d["数_所有区域"] = LOCATION_HAND + LOCATION_MZONE + LOCATION_SZONE + LOCATION_GRAVE + LOCATION_REMOVED + LOCATION_DECK + LOCATION_EXTRA
do

  --~ 这一局所适用规则的对
  local k1
  k1 = {
    [3] = "大师规则三(2014) ",
    [4] = "新大师规则(2017) ",
    [5] = "大师规则(2020) ",
    }
  f["Debug.ReloadFieldBegin"] = _G.Debug.ReloadFieldBegin
  --~ 数_这一局的模式
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72

73


74

75

76

77

78
79
80
81
82
83
84
85
86
87
88
    end
  end
f["不被连锁"] = function()
  Duel.SetChainLimit(aux.FALSE)
  return true
  end
f["是否有效果卡"] = function(card)
  for i = 1, #d["排_效果卡之类型"] do
    if Card.IsType(card, d["排_效果卡之类型"][i]) then
      return true
      end
    end
  if Card.IsType(card, TYPE_PENDULUM) then
    for i = 1, #d["排_非效果灵摆怪兽之卡片编号"] do
      if Card.IsCode(card, d["排_非效果灵摆怪兽之卡片编号"][i]) then
        return false
      else
        end
      end
    return true
    end
  end
do
  --~ 量_开局选卡入手的数量
  local k1
  --~ 所调用这个效果的效果
  --~ 所调用这个效果的玩家
  f["_开局选卡入手"] = 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

  f["开局选卡入手"] = function(o1)

    local k2
    d["量_选卡"] = o1
    k1 = o1
    --~ 效果
    k2 = Effect.GlobalEffect()
    k2:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
    k2:SetCode(EVENT_ADJUST)
    k2:SetCondition(aux.TRUE)
    k2:SetOperation(f["_开局选卡入手"])
    Duel.RegisterEffect(k2, 0)
    end







|
|




|
|










|
|

<

>

>
>

>

>

>

>



<







43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70

71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86

87
88
89
90
91
92
93
    end
  end
f["不被连锁"] = function()
  Duel.SetChainLimit(aux.FALSE)
  return true
  end
f["是否有效果卡"] = function(card)
  for k1 = 1, #d["排_效果卡之类型"] do
    if Card.IsType(card, d["排_效果卡之类型"][k1]) then
      return true
      end
    end
  if Card.IsType(card, TYPE_PENDULUM) then
    for k1 = 1, #d["排_非效果灵摆怪兽之卡片编号"] do
      if Card.IsCode(card, d["排_非效果灵摆怪兽之卡片编号"][k1]) then
        return false
      else
        end
      end
    return true
    end
  end
do
  --~ 量_开局选卡入手的数量
  local k1
  --~ 效果_所调用这个效果的效果
  --~ 玩家_所调用这个效果的玩家
  f["_开局选卡入手"] = function(o1, o2)

    --~ 卡_玩家选定的卡
    local k2
    k2 = Duel.SelectMatchingCard(o2, Card.IsAbleToHand, o2, LOCATION_DECK, 0, k1, k1, nil)
    local o2
    local k1
    Duel.SendtoHand(k2, nil, REASON_RULE)
    local k2
    o1:Reset()
    local o1
    end
  --~ 量_开局选卡入手的数量
  f["开局选卡入手"] = function(o1)
    --~ 效果
    local k2
    d["量_选卡"] = o1
    k1 = o1

    k2 = Effect.GlobalEffect()
    k2:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
    k2:SetCode(EVENT_ADJUST)
    k2:SetCondition(aux.TRUE)
    k2:SetOperation(f["_开局选卡入手"])
    Duel.RegisterEffect(k2, 0)
    end