游戏王残局简化版

Check-in [72b62dd5f1]
Login

Check-in [72b62dd5f1]

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

Modified script/c0.lua from [d0f08b93c5] to [bdf556d1ce].

113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
      if Card.IsCode(card, str["无效果灵摆怪兽表"][i]) then
      else
        return true
      end
    end
  end
end
fun["一_开局添加卡"] = function(u1)
  local h1, h2
  str["开局添加"] = true
  str["开局添加手卡的数量"] = u1
  --~ 效果
  h1 = Effect.GlobalEffect()
  h1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  h1:SetCode(EVENT_ADJUST)
  h1:SetCondition(aux.TRUE)
  --~ 调该效果的效果
  --~ 调该效果的玩家







|

|
<







113
114
115
116
117
118
119
120
121
122

123
124
125
126
127
128
129
      if Card.IsCode(card, str["无效果灵摆怪兽表"][i]) then
      else
        return true
      end
    end
  end
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)
  --~ 调该效果的效果
  --~ 调该效果的玩家
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
    end
  if str["无BP"] == 0 then
    h1 = h1 .. "无BP "
    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
    fun["一_开局添加"](u1)
  end
  if u2 then
    fun["一_禁格"](u2)
  end
  fun["二_开局说明"]()
  s["通关之邀"]()
end
--兼容层-------------------------------
fun["印卡"] = fun["二_印卡"]
fun["开局添加手卡"] = fun["一_开局添加"]
fun["是否效果卡"] = fun["一_是否效果卡"]
fun["禁格"] = fun["一_禁格"]
fun["随机抽卡"] = s["开局随机抽卡"]







|
|













|









|


|
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
    end
  if str["无BP"] == 0 then
    h1 = h1 .. "无BP "
    end
  if str["无AI"] == 0 then
    h1 = h1 .. "无AI "
    end
  if s["开局选卡入之数"] then
    h1 = h1 .. "选" .. s["开局选卡入数"] .. "卡 "
    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
    s["开局选卡入手"](u1)
  end
  if u2 then
    fun["一_禁格"](u2)
  end
  fun["二_开局说明"]()
  s["通关之邀"]()
end
--兼容层-------------------------------
fun["印卡"] = fun["二_印卡"]
fun["开局添加手卡"] = s["开局选卡入手"]
fun["是否效果卡"] = fun["一_是否效果卡"]
fun["禁格"] = fun["一_禁格"]
fun["随机抽卡"] = s["开局洗卡抽卡"]