1
2
3
4
5
6
7
8
9
10
11
12
|
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)
|
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
local str = {}
local fun = {}
local cache_1
local cache_2
fun["通关邀请"] = function()
local effect_100
effect_100 = Effect.GlobalEffect()
effect_100:SetType(EFFECT_TYPE_FIELD
+ EFFECT_TYPE_CONTINUOUS)
effect_100:SetCode(EVENT_DAMAGE)
|
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
, Card.IsAbleToHand
, player_who_activate_the_effect
, LOCATION_DECK
, 0
, str_1
, str_1
, nil)
cache_1 = cache_1:GetCount()
if cache_1 > 0 then
Duel.SendtoHand(str_1
, nil
, REASON_RULE)
end
end
effect_101:SetOperation(cache_1)
Duel.RegisterEffect(effect_101
, 0)
end
fun["通关邀请"]()
fun["开局添加手卡"](1)
|
|
|
|
|
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
, Card.IsAbleToHand
, player_who_activate_the_effect
, LOCATION_DECK
, 0
, str_1
, str_1
, nil)
cache_2 = cache_1:GetCount()
if cache_2 > 0 then
Duel.SendtoHand(cache_1
, nil
, REASON_RULE)
end
end
effect_101:SetOperation(cache_1)
Duel.RegisterEffect(effect_101
, 0)
end
fun["通关邀请"]()
fun["开局添加手卡"](1)
|