游戏王残局简化版

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

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

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

                         1: --[[message
                         2: 警告:不是残局!!!
                         3: 打不开!!!
                         4: 打不开!!!
                         5: 打不开!!!
                         6: ]]
                         7: 
                         8: local str = {}
                         9: local fun = {}
                        10: 
f5d7aad2c6 2023-05-31   11: local cache1
                        12: 
                        13: fun["通关邀请"]=function()
f5d7aad2c6 2023-05-31   14:   local e100
f5d7aad2c6 2023-05-31   15:   e100=Effect.GlobalEffect()
f5d7aad2c6 2023-05-31   16:   e100:SetType(EFFECT_TYPE_FIELD
                        17:     + EFFECT_TYPE_CONTINUOUS)
f5d7aad2c6 2023-05-31   18:   e100:SetCode(EVENT_DAMAGE)
f5d7aad2c6 2023-05-31   19:   function cache1(e
                        20:     , tp
                        21:     , eg
                        22:     , ep
                        23:     , ev
                        24:     , re
                        25:     , r
                        26:     , rp)
f5d7aad2c6 2023-05-31   27:     cache1=Duel.GetLP(1)
f5d7aad2c6 2023-05-31   28:     return cache1<=0
                        29:     end
f5d7aad2c6 2023-05-31   30:   e100:SetCondition(cache1)
f5d7aad2c6 2023-05-31   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
f5d7aad2c6 2023-05-31   42:   e100:SetOperation(cache1)
f5d7aad2c6 2023-05-31   43:   Duel.RegisterEffect(e100
                        44:     , 0)
                        45:   end
                        46: