游戏王残局简化版

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

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

Lines of 残局函数库/残局函数库.lua from check-in 3f2a276904 that are changed by the sequence of edits moving toward check-in 6b9b37c258:

                         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
                        20:     , player_who_activate_the_effect
                        21:     , eg
                        22:     , ep
                        23:     , ev
3f2a276904 2023-06-05   24:     , re
                        25:     , reason_for_trigger
                        26:     , player_who_trigger)
                        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
                        32:     , player_who_activate_the_effect
                        33:     , eg
                        34:     , ep
                        35:     , ev
3f2a276904 2023-06-05   36:     , re
                        37:     , reason_for_trigger
                        38:     , player_who_trigger)
                        39:     Debug.ShowHint("残局群181175613")
                        40:     return
                        41:     end
                        42:   effect_100:SetOperation(cache_1)
                        43:   Duel.RegisterEffect(effect_100
                        44:     , 0)
                        45:   end
                        46: