295b2babd6 2023-05-31 1:
295b2babd6 2023-05-31 2: local str = {}
295b2babd6 2023-05-31 3: local fun = {}
295b2babd6 2023-05-31 4:
575dd955a8 2023-06-05 5: local cache_1
72d1cddb03 2023-06-26 6: local cache_2
295b2babd6 2023-05-31 7:
824b4dbb51 2023-06-18 8: fun["通关邀请"] = function()
93595441a0 2023-06-26 9: local effect_1
93595441a0 2023-06-26 10: effect_1 = Effect.GlobalEffect()
93595441a0 2023-06-26 11: effect_1:SetType(EFFECT_TYPE_FIELD
295b2babd6 2023-05-31 12: + EFFECT_TYPE_CONTINUOUS)
93595441a0 2023-06-26 13: effect_1:SetCode(EVENT_DAMAGE)
5e52ecd559 2023-06-18 14: function cache_1()
48eaa832b8 2023-06-05 15:
0309adcf33 2023-06-05 16: cache_1 = Duel.GetLP(1)
48eaa832b8 2023-06-05 17:
4fcda3f2e3 2023-06-18 18: if cache_1 <= 0 then
4fcda3f2e3 2023-06-18 19: cache_1 = true
4fcda3f2e3 2023-06-18 20: else
4fcda3f2e3 2023-06-18 21: cache_1 = false
4fcda3f2e3 2023-06-18 22: end
4fcda3f2e3 2023-06-18 23:
4fcda3f2e3 2023-06-18 24: return cache_1
295b2babd6 2023-05-31 25: end
93595441a0 2023-06-26 26: effect_1:SetCondition(cache_1)
03b61fe41b 2023-06-18 27: function cache_1()
295b2babd6 2023-05-31 28: Debug.ShowHint("残局群181175613")
295b2babd6 2023-05-31 29: return
295b2babd6 2023-05-31 30: end
93595441a0 2023-06-26 31: effect_1:SetOperation(cache_1)
93595441a0 2023-06-26 32: Duel.RegisterEffect(effect_1
909ef71cf2 2023-06-25 33: , 0)
909ef71cf2 2023-06-25 34: end
909ef71cf2 2023-06-25 35:
d65bfdb245 2023-06-26 36: fun["开局添加手卡"] = function(str_1)
93595441a0 2023-06-26 37: local effect_1
93595441a0 2023-06-26 38: effect_1 = Effect.GlobalEffect()
93595441a0 2023-06-26 39: effect_1:SetType(EFFECT_TYPE_FIELD
db668d0786 2023-06-25 40: + EFFECT_TYPE_CONTINUOUS)
93595441a0 2023-06-26 41: effect_1:SetCode(EVENT_ADJUST)
93595441a0 2023-06-26 42: effect_1:SetCountLimit(1)
5e73ecd8d2 2023-06-25 43: function cache_1()
5e73ecd8d2 2023-06-25 44: cache_1 = Duel.GetLP(0)
5e73ecd8d2 2023-06-25 45: if cache_1 > 0 then
5e73ecd8d2 2023-06-25 46: cache_1 = true
5e73ecd8d2 2023-06-25 47: else
5e73ecd8d2 2023-06-25 48: cache_1 = false
5e73ecd8d2 2023-06-25 49: end
5e73ecd8d2 2023-06-25 50: return cache_1
5e73ecd8d2 2023-06-25 51: end
93595441a0 2023-06-26 52: effect_1:SetCondition(cache_1)
d65bfdb245 2023-06-26 53: function cache_1(effect_event
d65bfdb245 2023-06-26 54: , player_who_activate_the_effect)
d65bfdb245 2023-06-26 55: cache_1 = Duel.SelectMatchingCard(player_who_activate_the_effect
d65bfdb245 2023-06-26 56: , Card.IsAbleToHand
d65bfdb245 2023-06-26 57: , player_who_activate_the_effect
d65bfdb245 2023-06-26 58: , LOCATION_DECK
d65bfdb245 2023-06-26 59: , 0
d65bfdb245 2023-06-26 60: , str_1
d65bfdb245 2023-06-26 61: , str_1
d65bfdb245 2023-06-26 62: , nil)
72d1cddb03 2023-06-26 63: cache_2 = cache_1:GetCount()
72d1cddb03 2023-06-26 64: if cache_2 > 0 then
72d1cddb03 2023-06-26 65: Duel.SendtoHand(cache_1
3b85b0d9d6 2023-06-26 66: , nil
3b85b0d9d6 2023-06-26 67: , REASON_RULE)
3b85b0d9d6 2023-06-26 68: end
949c8a99ee 2023-06-25 69: end
93595441a0 2023-06-26 70: effect_1:SetOperation(cache_1)
93595441a0 2023-06-26 71: Duel.RegisterEffect(effect_1
de01b7781c 2023-06-26 72: , 0)
295b2babd6 2023-05-31 73: end
ccc6274f8f 2023-06-18 74:
9adf9af520 2023-06-25 75: fun["通关邀请"]()
de01b7781c 2023-06-26 76: fun["开局添加手卡"](1)
de01b7781c 2023-06-26 77: