15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
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
|
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
Debug.PreSummon(m1, SUMMON_TYPE_LINK, LOCATION_EXTRA)
local m2=Debug.AddCard(65741786,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.PreSummon(m2, SUMMON_TYPE_LINK, LOCATION_EXTRA)
Debug.AddCard(21887175,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
local m3 = Debug.AddCard(27548199,0,0,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
local s3 = Debug.AddCard(65741786,0,0,LOCATION_SZONE,0,POS_FACEUP)
local s3 = Debug.AddCard(65741786,0,0,LOCATION_GRAVE,0,POS_FACEUP)
local e1=Effect.CreateEffect(m3)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE_START+PHASE_DRAW)
e1:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local te=c:GetActivateEffect()
c:CreateEffectRelation(te)
local tg=te:GetTarget()
local op=te:GetOperation()
if tg then tg(te,tp,eg,ep,ev,re,r,rp,1) end
if op then op(te,tp,eg,ep,ev,re,r,rp) end
c:ReleaseEffectRelation(te)
end)
Duel.RegisterEffect(e1,1)
local g12=Debug.AddCard(46986414,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local g11=Debug.AddCard(46986414,1,1,LOCATION_MZONE,1,POS_FACEUP_DEFENSE)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()
--~ Debug.PreSetTarget(m3, s3)
|