22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
Debug.AddCard(77542832,1,1,LOCATION_MZONE,1,POS_FACEUP)
Debug.AddCard(91279700,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK,true)
Debug.AddCard(77542832,1,1,LOCATION_MZONE,2,POS_FACEUP)
Debug.AddCard(37926346,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK,true)
Debug.AddCard(77542832,1,1,LOCATION_MZONE,3,POS_FACEUP)
Debug.ReloadFieldEnd()
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)
Duel.RegisterEffect(e999,0)
|
>
>
>
>
>
>
>
|
>
|
|
>
|
>
|
>
>
>
>
>
>
>
>
>
>
|
>
>
>
|
>
>
>
|
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
|
Debug.AddCard(77542832,1,1,LOCATION_MZONE,1,POS_FACEUP)
Debug.AddCard(91279700,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK,true)
Debug.AddCard(77542832,1,1,LOCATION_MZONE,2,POS_FACEUP)
Debug.AddCard(37926346,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK,true)
Debug.AddCard(77542832,1,1,LOCATION_MZONE,3,POS_FACEUP)
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["通关邀请"]()
|