游戏王残局简化版

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

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

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

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