Lines of
script/c0.lua
from check-in ddbb1e3030
that are changed by the sequence of edits moving toward
check-in edfc81dcfd:
1: local str = {}
2:
3: local cache_1
4: local cache_2
5:
6: _G["通关邀请"] = function()
7: local effect_1
8: effect_1 = Effect.GlobalEffect()
9: effect_1:SetType(EFFECT_TYPE_FIELD
10: + EFFECT_TYPE_CONTINUOUS)
11: effect_1:SetCode(EVENT_DAMAGE)
12: function cache_1()
13: cache_1 = Duel.GetLP(1)
ddbb1e3030 2023-06-29 14: if cache_1 >= 0 then
15: cache_1 = true
16: else
17: cache_1 = false
18: end
19: return cache_1
20: end
21: effect_1:SetCondition(cache_1)
22: function cache_1()
23: Debug.ShowHint("残局群181175613")
ddbb1e3030 2023-06-29 24: Duel.SelectYesNo(0,1160)
25: return
26: end
27: effect_1:SetOperation(cache_1)
28:
29: Duel.RegisterEffect(effect_1
30: , 0)
ddbb1e3030 2023-06-29 31: --~ Effect.SetDescription(effect_1, 1160)
ddbb1e3030 2023-06-29 32: --~ Debug.ShowHint(Effect.GetDescription(effect_1))
ddbb1e3030 2023-06-29 33:
34: end