游戏王残局简化版

Check-in [ef7b6d6995]
Login

Check-in [ef7b6d6995]

Overview
Comment:
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ef7b6d69950782da318ff080f638e3606618d0f826635876118bb79a6af45cb0
User & Date: 顽雨沉风 on 2024-02-14 01:21:35
Other Links: manifest | tags
Context
2024-02-14
01:35
check-in: 8388ccc6c5 user: 顽雨沉风 tags: trunk
01:21
check-in: ef7b6d6995 user: 顽雨沉风 tags: trunk
2024-02-13
14:57
check-in: 719cb47a61 user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [9017f00bee] to [3c0484b644].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
local str = {}
local string = string
local table = table
local s = {}
_G.fun = {}
str["效的种"] = {
  TYPE_SPELL,
  TYPE_TRAP,
  TYPE_EFFECT,
}
str["无效果灵摆怪兽表"] = {
  28363749,
  19474136,
  17390179,
  83980492,
}
local h1
--~ 区域
h1 = LOCATION_HAND + LOCATION_MZONE + LOCATION_SZONE + LOCATION_GRAVE + LOCATION_REMOVED
str["除牌组与额外牌组以外的区域"] = h1
h1 = h1 + LOCATION_DECK + LOCATION_EXTRA
str["所有区域"] = h1
--第一层-------------------------------
local cache_1
local cache_2
local cache_3
local cache_4
local cache_5
local cache_6





|
|
|
|







<
<
|
<
<
<







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16


17



18
19
20
21
22
23
24
local str = {}
local string = string
local table = table
local s = {}
_G.fun = {}
s["效牌"] = {
  TYPE_SPELL
  , TYPE_TRAP
  , TYPE_EFFECT
}
str["无效果灵摆怪兽表"] = {
  28363749,
  19474136,
  17390179,
  83980492,
}


s["全区"] = LOCATION_HAND + LOCATION_MZONE + LOCATION_SZONE + LOCATION_GRAVE + LOCATION_REMOVED + LOCATION_DECK + LOCATION_EXTRA



--第一层-------------------------------
local cache_1
local cache_2
local cache_3
local cache_4
local cache_5
local cache_6
207
208
209
210
211
212
213
214
215
216

217
218
219
220

221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
      end
    end
  end
  str["效果"]:SetOperation(print_hand)
  u1:RegisterEffect(str["效果"])
end
fun["二_开局说明"] = function()
  local h1
  str["这个残局的效牌数量"] =
    Duel.GetMatchingGroupCount(fun["是否效果牌"], 0, str["所有"], str["所有"], nil)

  str["超量素材组"] = Duel.GetOverlayGroup(0, LOCATION_MZONE, LOCATION_MZONE)
  for k in aux.Next(str["超量素材组"]) do
    if fun["一_是否效果牌"](k) then
      str["这个残局的效果牌数量"] = str["这个残局的效果牌数量"] + 1

      end
    end
  --~ 开局说明
  h1 = str["这个残局的效果牌数量"] .. "牌 " .. str["规则"]
  if s["伪洗牌"] == 0 then
  else
    h1 = h1 .. "伪洗牌 "
    end
  if s["战段"] == 0 then
    h1 = h1 .. "无战段 "
    end
  if str["无AI"] == 0 then
    h1 = h1 .. "无AI "
    end
  if s["开局选牌入手之数"] then
    h1 = h1 .. "选" .. s["开局选牌入手之数"] .. "牌 "
    end
  if s["禁格之数"] then
    h1 = h1 .. "禁" .. s["禁格之数"] .. "格 "
    end







|
|
|
>
|
|
|
<
>











|
|







202
203
204
205
206
207
208
209
210
211
212
213
214
215

216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
      end
    end
  end
  str["效果"]:SetOperation(print_hand)
  u1:RegisterEffect(str["效果"])
end
fun["二_开局说明"] = function()
  local h1, h2, h3
  --~ 此局的效牌数
  h2 = Duel.GetMatchingGroupCount(fun["是否效果牌"], 0, s["全区"], s["全区"], nil)
  --~ 超量材组
  h3 = Duel.GetOverlayGroup(0, LOCATION_MZONE, LOCATION_MZONE)
  for u1 in aux.Next(h3) do
    if fun["一_是否效果牌"](u1) then

      h2 = h2 + 1
      end
    end
  --~ 开局说明
  h1 = str["这个残局的效果牌数量"] .. "牌 " .. str["规则"]
  if s["伪洗牌"] == 0 then
  else
    h1 = h1 .. "伪洗牌 "
    end
  if s["战段"] == 0 then
    h1 = h1 .. "无战段 "
    end
  if s["机智"] == 0 then
    h1 = h1 .. "无机智 "
    end
  if s["开局选牌入手之数"] then
    h1 = h1 .. "选" .. s["开局选牌入手之数"] .. "牌 "
    end
  if s["禁格之数"] then
    h1 = h1 .. "禁" .. s["禁格之数"] .. "格 "
    end