游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [579dcc3230]:

To Artifact [8ea86755dd]:


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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
--[[message
卡数:6
规则:大师3
]]






Debug.SetAIName("[WCS2006]03_antique_gear")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)

Debug.SetPlayerInfo(0,1400,0,0)
Debug.SetPlayerInfo(1,3300,0,0)

Debug.AddCard(92001300,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(10509340,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(83104731,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(56094445,0,0,LOCATION_HAND,0,POS_FACEDOWN)

Debug.AddCard(23995346,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)

Debug.AddCard(80604091,0,0,LOCATION_SZONE,2,POS_FACEUP)
Debug.AddCard(44095762,1,1,LOCATION_SZONE,2,POS_FACEDOWN)

Debug.ReloadFieldEnd()
aux.BeginPuzzle()

local str = {}
local fun = {}

local cache_1

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

    cache_1 = Duel.GetLP(1)

    if cache_1 <= 0 then
      cache_1 = true
    else
      cache_1 = false
      end

    return cache_1
    end
  effect_100:SetCondition(cache_1)
  function cache_1()
    Debug.ShowHint("残局群181175613")
    return
    end
  effect_100:SetOperation(cache_1)
  Duel.RegisterEffect(effect_100
    , 0)
  end




fun["通关邀请"]()


<
<

>
>
>
>
>
>




















<
<

<
|
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
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

































--[[message


]]

--~ 必须位于残局文件顶部
--~ 加载残局函数库
Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)


Debug.SetAIName("[WCS2006]03_antique_gear")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)

Debug.SetPlayerInfo(0,1400,0,0)
Debug.SetPlayerInfo(1,3300,0,0)

Debug.AddCard(92001300,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(10509340,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(83104731,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(56094445,0,0,LOCATION_HAND,0,POS_FACEDOWN)

Debug.AddCard(23995346,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)

Debug.AddCard(80604091,0,0,LOCATION_SZONE,2,POS_FACEUP)
Debug.AddCard(44095762,1,1,LOCATION_SZONE,2,POS_FACEDOWN)

Debug.ReloadFieldEnd()
aux.BeginPuzzle()





fun["开局说明"]()