游戏王残局简化版

Annotation For 残局函数库/残局函数库.lua
Login

Annotation For 残局函数库/残局函数库.lua

Lines of 残局函数库/残局函数库.lua from check-in 5e52ecd559 that are changed by the sequence of edits moving toward check-in 1c382bc392:

5e52ecd559 2023-06-18    1: --[[message
5e52ecd559 2023-06-18    2: 警告:不是残局!!!
5e52ecd559 2023-06-18    3: 打不开!!!
5e52ecd559 2023-06-18    4: 打不开!!!
5e52ecd559 2023-06-18    5: 打不开!!!
5e52ecd559 2023-06-18    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()
                        20: 
                        21:     cache_1 = Duel.GetLP(1)
                        22: 
                        23:     return cache_1 <= 0
                        24:     end
                        25:   effect_100:SetCondition(cache_1)
                        26:   function cache_1()
                        27:     Debug.ShowHint("残局群181175613")
                        28:     return
                        29:     end
                        30:   effect_100:SetOperation(cache_1)
                        31:   Duel.RegisterEffect(effect_100
                        32:     , 0)
                        33:   end
                        34: 
                        35: