游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [67a2f1b242]:

To Artifact [1682e2ffcd]:


1
2
3
4
5

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





+







local str = {}
local fun = {}

local cache_1
local cache_2
local cache_3



_G["通关邀请"] = function()
  local effect_1
  effect_1 = Effect.GlobalEffect()
  effect_1:SetType(EFFECT_TYPE_FIELD
29
30
31
32
33
34
35




36
37







38
39
40
41
42
43
44
30
31
32
33
34
35
36
37
38
39
40


41
42
43
44
45
46
47
48
49
50
51
52
53
54







+
+
+
+
-
-
+
+
+
+
+
+
+







  effect_1:SetOperation(cache_1)

  Duel.RegisterEffect(effect_1
    , 0)
  end

fun["是否效果卡"] = function(card)
  local cache_1
  local cache_2
  local cache_3

  cache_1 = Card.IsType(card, TYPE_MONSTER)
  if cache_1 then
  cache_1 = Card.IsType(card, TYPE_SPELL)
  cache_2 = Card.IsType(card, TYPE_TRAP)
  cache_3 = Card.IsType(card, TYPE_EFFECT)

  if cache_1
  or cache_2
  or cache_3 then
    return true
    end
  return false
  end

_G["开局说明"] = function()
  Debug.ShowHint(Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_GRAVE,0,nil))