26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
effect_1 = Effect.GlobalEffect()
effect_1:SetType(EFFECT_TYPE_FIELD
+ EFFECT_TYPE_CONTINUOUS)
effect_1:SetCode(EVENT_DAMAGE)
function cache_1()
cache_1 = Duel.GetLP(1)
if cache_1 <= 0 then
cache_1 = true
Debug.ShowHint(tostring(cache_1))
else
cache_1 = false
end
return cache_1
end
effect_1:SetCondition(cache_1)
function cache_1()
|
<
>
|
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
effect_1 = Effect.GlobalEffect()
effect_1:SetType(EFFECT_TYPE_FIELD
+ EFFECT_TYPE_CONTINUOUS)
effect_1:SetCode(EVENT_DAMAGE)
function cache_1()
cache_1 = Duel.GetLP(1)
if cache_1 <= 0 then
Debug.ShowHint(tostring(cache_1))
cache_1 = true
else
cache_1 = false
end
return cache_1
end
effect_1:SetCondition(cache_1)
function cache_1()
|