游戏王残局简化版

Check-in [033930309a]
Login

Check-in [033930309a]

Overview
Comment:
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 033930309ab277ca241eb2e5485739926fb966165519b72a3c84832a0051aa24
User & Date: 顽雨沉风 on 2024-02-14 04:01:12
Other Links: manifest | tags
Context
2024-02-14
04:06
check-in: 0f9865b09c user: 顽雨沉风 tags: trunk
04:01
check-in: 033930309a user: 顽雨沉风 tags: trunk
03:54
check-in: 7029b5245e user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [17d27607c5] to [98e177fe56].

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
67
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
67







-





+
+






-







    end
  end
do
  local h1
  --~ “调该效果”的效果
  function s["_开局洗牌抽牌"](u1)
    Duel.ShuffleDeck(0)
    --~ 抽卡之数
    Duel.Draw(0, h1, REASON_RULE)
    u1:Reset()
    end
  function s["开局洗牌抽牌"](u1)
    local h2
    --~ 抽卡之数
    h1 = u1
    s["开局洗牌抽牌之数"] = u1
    --~ 效果
    h2 = Effect.GlobalEffect()
    h2:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
    h2:SetCode(EVENT_ADJUST)
    h2:SetCondition(aux.TRUE)
    h1 = u1
    h2:SetOperation(s["_开局洗牌抽牌"])
    Duel.RegisterEffect(h2, 0)
    end
  end
function s.["不被连锁"]()
  Duel.SetChainLimit(aux.FALSE)
  return true
82
83
84
85
86
87
88
89

90
91
92
93
94
95
96
82
83
84
85
86
87
88

89
90
91
92
93
94
95
96







-
+







        Debug.ShowHint(h1)
      else
        Debug.ShowHint(h2)
        end
      end
    end
  function s["通关之邀"]()
    local h1, h2
    local h1
    --~ 效果
    h1 = Effect.GlobalEffect()
    h1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
    h1:SetCode(EVENT_DAMAGE)
    h1:SetCondition(s["_通关之邀"])
    h1:SetOperation(aux.NULL)
    Duel.RegisterEffect(h1, 0)
108
109
110
111
112
113
114

115
116
117
118


119
120
121
122



123
124
125
126




127
128
129
130
131




132
133
134
135
136
137
138
139
140
141
142


143
144
145
146
147
148
149
108
109
110
111
112
113
114
115
116
117


118
119
120



121
122
123
124
125


126
127
128
129
130




131
132
133
134











135
136
137
138
139
140
141
142
143







+


-
-
+
+

-
-
-
+
+
+


-
-
+
+
+
+

-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+







      else
        return true
        end
      end
    end
  end
do
  local h1
  --~ “调该效果”的效果
  --~ “调该效果”的玩家
  function h2(u2, u3)
    local h3
  function s["_开局选牌入手"](u1, u2)
    local h2
    --~ 玩家选定的牌
    h3 = Duel.SelectMatchingCard(u3, Card.IsAbleToHand, u3, LOCATION_DECK, 0, u1, u1, nil)
    Duel.SendtoHand(h3, nil, REASON_RULE)
    u2:Reset()
    h2 = Duel.SelectMatchingCard(u2, Card.IsAbleToHand, u2, LOCATION_DECK, 0, h1, h1, nil)
    Duel.SendtoHand(h2, nil, REASON_RULE)
    u1:Reset()
    end
  function s["开局选牌入手"](u1)
    local h1, h2
    str["开局选牌入手之数"] = u1
    local h2
    s["开局选牌入手之数"] = u1
    --~ 开局选牌入手之数
    h1 = u1
    --~ 效果
    h1 = Effect.GlobalEffect()
    h1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
    h1:SetCode(EVENT_ADJUST)
    h1:SetCondition(aux.TRUE)
    h2 = Effect.GlobalEffect()
    h2:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
    h2:SetCode(EVENT_ADJUST)
    h2:SetCondition(aux.TRUE)
    --~ 调该效果的效果
    --~ 调该效果的玩家
    function h2(u2, u3)
      local h3
      --~ 玩家选定的牌
      h3 = Duel.SelectMatchingCard(u3, Card.IsAbleToHand, u3, LOCATION_DECK, 0, u1, u1, nil)
      Duel.SendtoHand(h3, nil, REASON_RULE)
      u2:Reset()
      end
    h1:SetOperation(h2)
    Duel.RegisterEffect(h1, 0)
    h2:SetOperation(s["_开局选牌入手"])
    Duel.RegisterEffect(h2, 0)
    end
  end
function s["禁格"](u1)
  local h1
  s["禁格之数"] = u1
  --~ 效果
  h1 = Effect.GlobalEffect()