游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [cbee0ebdac]:

To Artifact [d8d1b5f5e8]:


1
2
3
4
5
6
7
8
9
10

11
12
13
14
15

16
17
18
19
20
21
22
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["效卡"] = {
d["排_"] = {
  TYPE_SPELL,
  TYPE_TRAP,
  TYPE_EFFECT,
  }
s["效灵摆怪兽卡编"] = {
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
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
  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, #s["效灵摆怪兽卡编"] do
      if Card.IsCode(card, s["效灵摆怪兽卡编"][i]) then
    for i = 1, #d["排_非灵摆怪兽卡编"] do
      if Card.IsCode(card, d["排_非灵摆怪兽卡编"][i]) then
        return false
      else
        end
      end
    return true
    end
  end