游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [169e5f777a]:

To Artifact [b81abdecc4]:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
local str = {}
local fun = {}

local cache_1
local cache_2

fun["是否效果卡"] = function()
  end

_G["通关邀请"] = function()
  local effect_1
  effect_1 = Effect.GlobalEffect()
  effect_1:SetType(EFFECT_TYPE_FIELD
    + EFFECT_TYPE_CONTINUOUS)
  effect_1:SetCode(EVENT_DAMAGE)






|
<







1
2
3
4
5
6
7

8
9
10
11
12
13
14
local str = {}
local fun = {}

local cache_1
local cache_2




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



36


37
38
39
40
41
42
43
    return
    end
  effect_1:SetOperation(cache_1)

  Duel.RegisterEffect(effect_1
    , 0)
  end




_G["开局说明"] = function()


--~   local cache_1 = {}

--~   cache_2 = Duel.GetFieldGroup(0,LOCATION_DECK,0)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,LOCATION_GRAVE,0)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,LOCATION_MZONE,0)








>
>
>

>
>







27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
    return
    end
  effect_1:SetOperation(cache_1)

  Duel.RegisterEffect(effect_1
    , 0)
  end

fun["是否效果卡"] = function()
  end

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

--~   local cache_1 = {}

--~   cache_2 = Duel.GetFieldGroup(0,LOCATION_DECK,0)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,LOCATION_GRAVE,0)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,LOCATION_MZONE,0)
122
123
124
125
126
127
128
129

--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方超量素材"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方超量素材"]

--~   Debug.ShowHint(str["这个残局的效果卡数量"])
  end









|
126
127
128
129
130
131
132
133

--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方超量素材"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方超量素材"]

--~   Debug.ShowHint(str["这个残局的效果卡数量"])
  end

_G["通关邀请"]()