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
|
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
|
-
-
+
+
+
+
+
+
+
-
-
+
+
-
-
-
-
+
-
|
--[[message
卡数:0
规则:大师2020
灵摆召唤入门1
]]
--~ 必须位于残局文件顶部
--~ 加载残局函数库
Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
Debug.SetAIName("sample5")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
Debug.SetPlayerInfo(0,100,0,0)
Debug.SetPlayerInfo(1,1900,0,0)
Debug.AddCard(28363749,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(17390179,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(92125819,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(76908448,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(43096270,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(14214060,0,0,LOCATION_HAND,0,POS_FACEDOWN)
--~ Debug.AddCard(16195942,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(91731841,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(21251800,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.ReloadFieldEnd()
--~ Debug.ShowHint("GAME START!")
aux.BeginPuzzle()
local e999=Effect.GlobalEffect()
e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e999:SetCode(EVENT_DAMAGE)
e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
Debug.ShowHint("残局群181175613") end)
fun["开局说明"]()
Duel.RegisterEffect(e999,0)
|