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
|
--[[message
警告:不是残局!!!
打不开!!!
打不开!!!
打不开!!!
]]
local str = {}
local fun = {}
local cache1
fun["通关邀请"]=function()
local e100
e100=Effect.GlobalEffect()
e100:SetType(EFFECT_TYPE_FIELD
+ EFFECT_TYPE_CONTINUOUS)
e100:SetCode(EVENT_DAMAGE)
function cache1(e
, tp
, eg
, ep
, ev
, re
, r
, rp)
cache1=Duel.GetLP(1)
return cache1<=0
end
e100:SetCondition(cache1)
function cache1(e
, tp
, eg
, ep
, ev
, re
, r
, rp)
Debug.ShowHint("残局群181175613")
return
end
e100:SetOperation(cache1)
Duel.RegisterEffect(e100
, 0)
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
--[[message
警告:不是残局!!!
打不开!!!
打不开!!!
打不开!!!
]]
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(e
, tp
, eg
, ep
, ev
, re
, r
, rp)
cache_1=Duel.GetLP(1)
return cache_1<=0
end
effect_100:SetCondition(cache_1)
function cache_1(e
, tp
, eg
, ep
, ev
, re
, r
, rp)
Debug.ShowHint("残局群181175613")
return
end
effect_100:SetOperation(cache_1)
Duel.RegisterEffect(effect_100
, 0)
end
|