游戏王残局简化版

Check-in [fbb83a06ea]
Login

Check-in [fbb83a06ea]

Overview
Comment:
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: fbb83a06ea14adfac9701760f9bd9cd643f9c7b6fab192b9bf28042811c08626
User & Date: 顽雨沉风 on 2024-02-13 14:33:05
Other Links: manifest | tags
Context
2024-02-13
14:33
check-in: 7c676b0c70 user: 顽雨沉风 tags: trunk
14:33
check-in: fbb83a06ea user: 顽雨沉风 tags: trunk
14:31
check-in: 72b62dd5f1 user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [bdf556d1ce] to [8cd6d7ce18].

133
134
135
136
137
138
139
140

141
142
143
144
145
146
147
133
134
135
136
137
138
139

140
141
142
143
144
145
146
147







-
+







    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)
  end
fun["一_禁格"] = function(u1)
function s["禁格"](u1)
  local h1
  s["禁格之数"] = u1
  --~ 效果
  h1 = Effect.GlobalEffect()
  h1:SetCode(EFFECT_USE_EXTRA_MZONE)
  h1:SetValue(u1)
  Duel.RegisterEffect(h1, 0)
237
238
239
240
241
242
243
244

245
246
247
248
249
250
251
252
253

254
237
238
239
240
241
242
243

244
245
246
247
248
249
250
251
252

253
254







-
+








-
+

fun["aux.BeginPuzzle"] = aux.BeginPuzzle
aux.BeginPuzzle = function(u1, u2)
  fun["aux.BeginPuzzle"]()
  if u1 then
    s["开局选卡入手"](u1)
  end
  if u2 then
    fun["一_禁格"](u2)
    s["禁格"](u2)
  end
  fun["二_开局说明"]()
  s["通关之邀"]()
end
--兼容层-------------------------------
fun["印卡"] = fun["二_印卡"]
fun["开局添加手卡"] = s["开局选卡入手"]
fun["是否效果卡"] = fun["一_是否效果卡"]
fun["禁格"] = fun["一_禁格"]
fun["禁格"] = s["禁格"]
fun["随机抽卡"] = s["开局洗卡抽卡"]