1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
local string = string
local table = table
local Debug = Debug
local Effect = Effect
local Duel = Duel
local Card = Card
local d = {}
local f = {}
local s = {}
s["效卡之类排"] = {
TYPE_SPELL,
TYPE_TRAP,
TYPE_EFFECT,
}
s["无效灵摆怪兽之卡编排"] = {
28363749,
19474136,
17390179,
83980492,
}
s["全区"] = LOCATION_HAND + LOCATION_MZONE + LOCATION_SZONE + LOCATION_GRAVE + LOCATION_REMOVED + LOCATION_DECK + LOCATION_EXTRA
do
|
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
local string = string
local table = table
local Debug = Debug
local Effect = Effect
local Duel = Duel
local Card = Card
local d = {}
local f = {}
local s = {}
d["排_效果卡的类型"] = {
TYPE_SPELL,
TYPE_TRAP,
TYPE_EFFECT,
}
d["排_非效果灵摆怪兽的卡编"] = {
28363749,
19474136,
17390179,
83980492,
}
s["全区"] = LOCATION_HAND + LOCATION_MZONE + LOCATION_SZONE + LOCATION_GRAVE + LOCATION_REMOVED + LOCATION_DECK + LOCATION_EXTRA
do
|
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
end
end
f["不被连锁"] = function()
Duel.SetChainLimit(aux.FALSE)
return true
end
s["是否效卡"] = function(card)
for i = 1, #s["效卡之类排"] do
if Card.IsType(card, s["效卡之类排"][i]) then
return true
end
end
if Card.IsType(card, TYPE_PENDULUM) then
for i = 1, #s["无效灵摆怪兽之卡编排"] do
if Card.IsCode(card, s["无效灵摆怪兽之卡编排"][i]) then
return false
else
end
end
return true
end
end
|
|
|
|
|
|
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
end
end
f["不被连锁"] = function()
Duel.SetChainLimit(aux.FALSE)
return true
end
s["是否效卡"] = function(card)
for i = 1, #d["排_效果卡的类型"] do
if Card.IsType(card, d["排_效果卡的类型"][i]) then
return true
end
end
if Card.IsType(card, TYPE_PENDULUM) then
for i = 1, #d["排_非效果灵摆怪兽的卡编"] do
if Card.IsCode(card, d["排_非效果灵摆怪兽的卡编"][i]) then
return false
else
end
end
return true
end
end
|