游戏王残局简化版

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

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

Lines of 残局函数库/残局函数库.lua from check-in 748a21fd39 that are changed by the sequence of edits moving toward check-in f5d7aad2c6:

                         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)
                        19:   function cache1(e
                        20:     , tp
                        21:     , eg
                        22:     , ep
                        23:     , ev
                        24:     , re
                        25:     , r
                        26:     , rp)
                        27:     cache1=Duel.GetLP(1)
                        28:     return cache1<=0
                        29:     end
                        30:   e100:SetCondition(cache1)
                        31:   function cache1(e
                        32:     , tp
                        33:     , eg
                        34:     , ep
                        35:     , ev
                        36:     , re
                        37:     , r
                        38:     , rp)
                        39:     Debug.ShowHint("残局群181175613")
                        40:     return
                        41:     end
                        42:   e100:SetOperation(cache1)
                        43:   Duel.RegisterEffect(e100
                        44:     , 0)
                        45:   end
748a21fd39 2023-05-31   46: 
748a21fd39 2023-05-31   47: 
                        48: