295b2babd6 2023-05-31 1: --[[message
295b2babd6 2023-05-31 2: 警告:不是残局!!!
295b2babd6 2023-05-31 3: 打不开!!!
295b2babd6 2023-05-31 4: 打不开!!!
295b2babd6 2023-05-31 5: 打不开!!!
295b2babd6 2023-05-31 6: ]]
295b2babd6 2023-05-31 7:
295b2babd6 2023-05-31 8: local str = {}
295b2babd6 2023-05-31 9: local fun = {}
295b2babd6 2023-05-31 10:
575dd955a8 2023-06-05 11: local cache_1
575dd955a8 2023-06-05 12:
575dd955a8 2023-06-05 13: fun["通关邀请"]=function()
575dd955a8 2023-06-05 14: local effect_100
a4bcb83095 2023-06-05 15: effect_100 = Effect.GlobalEffect()
a4bcb83095 2023-06-05 16: effect_100:SetType(EFFECT_TYPE_FIELD
a4bcb83095 2023-06-05 17: + EFFECT_TYPE_CONTINUOUS)
a4bcb83095 2023-06-05 18: effect_100:SetCode(EVENT_DAMAGE)
a4bcb83095 2023-06-05 19: function cache_1(effect_event
656d5ae4e6 2023-06-05 20: , player_who_activate_the_effect
a4bcb83095 2023-06-05 21: , eg
a4bcb83095 2023-06-05 22: , ep
a4bcb83095 2023-06-05 23: , ev
6b9b37c258 2023-06-05 24: , effect_for_trigger
0b982fdb23 2023-06-05 25: , reason_for_trigger
3f2a276904 2023-06-05 26: , player_who_trigger)
0309adcf33 2023-06-05 27: cache_1 = Duel.GetLP(1)
0309adcf33 2023-06-05 28: return cache_1 <= 0
a4bcb83095 2023-06-05 29: end
a4bcb83095 2023-06-05 30: effect_100:SetCondition(cache_1)
a4bcb83095 2023-06-05 31: function cache_1(effect_event
7705f5ffaa 2023-06-05 32: , player_who_activate_the_effect
a4bcb83095 2023-06-05 33: , eg
a4bcb83095 2023-06-05 34: , ep
a4bcb83095 2023-06-05 35: , ev
6b9b37c258 2023-06-05 36: , effect_for_trigger
147ca328d2 2023-06-05 37: , reason_for_trigger
3f2a276904 2023-06-05 38: , player_who_trigger)
575dd955a8 2023-06-05 39: Debug.ShowHint("残局群181175613")
575dd955a8 2023-06-05 40: return
575dd955a8 2023-06-05 41: end
575dd955a8 2023-06-05 42: effect_100:SetOperation(cache_1)
575dd955a8 2023-06-05 43: Duel.RegisterEffect(effect_100
f5d7aad2c6 2023-05-31 44: , 0)
f5d7aad2c6 2023-05-31 45: end
295b2babd6 2023-05-31 46: