Lines of
残局函数库/残局函数库.lua
from check-in 3ab9f4a39f
that are changed by the sequence of edits moving toward
check-in 9ba2f44749:
1: --[[message
2: 警告:不是残局!!!
3: 打不开!!!
4: 打不开!!!
5: 打不开!!!
6: ]]
7:
8: local str = {}
9: local fun = {}
10:
11: local cache_1
12:
13: fun["通关邀请"]=function()
14: local effect_100
15: effect_100 = Effect.GlobalEffect()
16: effect_100:SetType(EFFECT_TYPE_FIELD
17: + EFFECT_TYPE_CONTINUOUS)
18: effect_100:SetCode(EVENT_DAMAGE)
19: function cache_1(effect_event
20: , player_for_activate_the_effect
21: , card_gruop_for_effect
22: , player_for_effect_event
23: , value_for_effect
24: , effect_for_trigger
25: , reason_for_trigger
3ab9f4a39f 2023-06-06 26: , player_who_trigger)
27:
28: cache_1 = Duel.GetLP(1)
29:
30: return cache_1 <= 0
31: end
32: effect_100:SetCondition(cache_1)
33: function cache_1(effect_event
34: , player_for_activate_the_effect
35: , card_gruop_for_effect
36: , player_for_effect_event
37: , value_for_effect
38: , effect_for_trigger
39: , reason_for_trigger
3ab9f4a39f 2023-06-06 40: , player_who_trigger)
41: Debug.ShowHint("残局群181175613")
42: return
43: end
44: effect_100:SetOperation(cache_1)
45: Duel.RegisterEffect(effect_100
46: , 0)
47: end
48: