Lines of
残局函数库/残局函数库.lua
from check-in 295b2babd6
that are changed by the sequence of edits moving toward
check-in 748a21fd39:
1: --[[message
2: 警告:不是残局!!!
3: 打不开!!!
4: 打不开!!!
5: 打不开!!!
6: ]]
7:
8: local str = {}
9: local fun = {}
10:
11: local cache1
12:
13: fun["通关邀请"]=function()
14: local e100
15: e100=Effect.GlobalEffect()
16: e100:SetType(EFFECT_TYPE_FIELD
17: + EFFECT_TYPE_CONTINUOUS)
18: e100:SetCode(EVENT_DAMAGE)
295b2babd6 2023-05-31 19: function cache1(e,tp,eg,ep,ev,re,r,rp)
295b2babd6 2023-05-31 20: return Duel.GetLP(1)<=0
21: end
22: e100:SetCondition(cache1)
295b2babd6 2023-05-31 23: function cache1(e,tp,eg,ep,ev,re,r,rp)
24: Debug.ShowHint("残局群181175613")
25: return
26: end
27: e100:SetOperation(cache1)
295b2babd6 2023-05-31 28: Duel.RegisterEffect(e100,0)
29: end
30:
31:
32: