游戏王残局简化版

Check-in [0dd37b287e]
Login

Check-in [0dd37b287e]

Overview
Comment:
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0dd37b287e5b8f2e2e7e8eafd993de9598a01ab5a645df771c1e9eedf7608b34
User & Date: 顽雨沉风 on 2024-02-13 11:35:04
Other Links: manifest | tags
Context
2024-02-13
11:40
check-in: 6bc844fccc user: 顽雨沉风 tags: trunk
11:35
check-in: 0dd37b287e user: 顽雨沉风 tags: trunk
11:31
check-in: 951ea1b58f user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [2e314ecb62] to [d29fdf8e88].

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
30
31
32
33
34
35
36
37
38
local str = {}
local string = string
local table = table
_G.fun = {}
---------------------------------
local cache_1
local cache_2
local cache_3
local cache_4
local cache_5
local cache_6
local cache_7
local cache_8
local cache_9
local _
str["效果卡的种类表"] = {
  TYPE_SPELL,
  TYPE_TRAP,
  TYPE_EFFECT,
}
str["无效果灵摆怪兽表"] = {
  28363749,
  19474136,
  17390179,
  83980492,
}
cache_1 = 0

cache_1 = cache_1 + LOCATION_HAND + LOCATION_MZONE + LOCATION_SZONE + LOCATION_GRAVE + LOCATION_REMOVED
str["除卡组与额外卡组以外的区域"] = cache_1
cache_1 = cache_1 + LOCATION_DECK + LOCATION_EXTRA
str["所有区域"] = cache_1
--第一层-------------------------------
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
25
26
27
28
local str = {}
local string = string
local table = table
_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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
local cache_9
local _
fun["Debug.ReloadFieldEnd"] = Debug.ReloadFieldEnd
Debug.ReloadFieldEnd = function(u1)
  fun["Debug.ReloadFieldEnd"]()
  if u1 then
    fun["一_随机抽卡"](u1)
  end
end
fun["二_印卡"] = function(u1, u2, u3)
  u3 = u3 or u2
  Debug.ShowHint(
    "点击对方额外卡组可以进行印卡。\n手卡只能印 "
      .. u2
      .. " 张。\n最多可以印 "
      .. u3







|
|







162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
local cache_9
local _
fun["Debug.ReloadFieldEnd"] = Debug.ReloadFieldEnd
Debug.ReloadFieldEnd = function(u1)
  fun["Debug.ReloadFieldEnd"]()
  if u1 then
    fun["一_随机抽卡"](u1)
    end
  end
fun["二_印卡"] = function(u1, u2, u3)
  u3 = u3 or u2
  Debug.ShowHint(
    "点击对方额外卡组可以进行印卡。\n手卡只能印 "
      .. u2
      .. " 张。\n最多可以印 "
      .. u3