游戏王残局简化版

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

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

Origin for each line in 残局函数库/残局函数库.lua from check-in 5e73ecd8d2:

295b2babd6 2023-05-31  顽雨沉风: 
295b2babd6 2023-05-31  顽雨沉风: local str = {}
295b2babd6 2023-05-31  顽雨沉风: local fun = {}
295b2babd6 2023-05-31  顽雨沉风: 
575dd955a8 2023-06-05  顽雨沉风: local cache_1
295b2babd6 2023-05-31  顽雨沉风: 
824b4dbb51 2023-06-18  顽雨沉风: fun["通关邀请"] = function()
575dd955a8 2023-06-05  顽雨沉风:   local effect_100
a4bcb83095 2023-06-05  顽雨沉风:   effect_100 = Effect.GlobalEffect()
575dd955a8 2023-06-05  顽雨沉风:   effect_100:SetType(EFFECT_TYPE_FIELD
295b2babd6 2023-05-31  顽雨沉风:     + EFFECT_TYPE_CONTINUOUS)
575dd955a8 2023-06-05  顽雨沉风:   effect_100:SetCode(EVENT_DAMAGE)
5e52ecd559 2023-06-18  顽雨沉风:   function cache_1()
48eaa832b8 2023-06-05  顽雨沉风: 
0309adcf33 2023-06-05  顽雨沉风:     cache_1 = Duel.GetLP(1)
48eaa832b8 2023-06-05  顽雨沉风: 
4fcda3f2e3 2023-06-18  顽雨沉风:     if cache_1 <= 0 then
4fcda3f2e3 2023-06-18  顽雨沉风:       cache_1 = true
4fcda3f2e3 2023-06-18  顽雨沉风:     else
4fcda3f2e3 2023-06-18  顽雨沉风:       cache_1 = false
4fcda3f2e3 2023-06-18  顽雨沉风:       end
4fcda3f2e3 2023-06-18  顽雨沉风: 
4fcda3f2e3 2023-06-18  顽雨沉风:     return cache_1
295b2babd6 2023-05-31  顽雨沉风:     end
575dd955a8 2023-06-05  顽雨沉风:   effect_100:SetCondition(cache_1)
03b61fe41b 2023-06-18  顽雨沉风:   function cache_1()
295b2babd6 2023-05-31  顽雨沉风:     Debug.ShowHint("残局群181175613")
295b2babd6 2023-05-31  顽雨沉风:     return
295b2babd6 2023-05-31  顽雨沉风:     end
575dd955a8 2023-06-05  顽雨沉风:   effect_100:SetOperation(cache_1)
575dd955a8 2023-06-05  顽雨沉风:   Duel.RegisterEffect(effect_100
748a21fd39 2023-05-31  顽雨沉风:     , 0)
909ef71cf2 2023-06-25  顽雨沉风:   end
909ef71cf2 2023-06-25  顽雨沉风: 
909ef71cf2 2023-06-25  顽雨沉风: fun["开局添加手卡"] = function()
e522f35932 2023-06-25  顽雨沉风:   local effect_101
e522f35932 2023-06-25  顽雨沉风:   effect_101 = Effect.GlobalEffect()
db668d0786 2023-06-25  顽雨沉风:   effect_101:SetType(EFFECT_TYPE_FIELD
db668d0786 2023-06-25  顽雨沉风:     + EFFECT_TYPE_CONTINUOUS)
db668d0786 2023-06-25  顽雨沉风:   effect_101:SetCode(EVENT_ADJUST)
431822ea79 2023-06-25  顽雨沉风:   effect_101:SetCountLimit(1)
5e73ecd8d2 2023-06-25  顽雨沉风:   function cache_1()
5e73ecd8d2 2023-06-25  顽雨沉风:     cache_1 = Duel.GetLP(0)
5e73ecd8d2 2023-06-25  顽雨沉风:     if cache_1 > 0 then
5e73ecd8d2 2023-06-25  顽雨沉风:       cache_1 = true
5e73ecd8d2 2023-06-25  顽雨沉风:     else
5e73ecd8d2 2023-06-25  顽雨沉风:       cache_1 = false
5e73ecd8d2 2023-06-25  顽雨沉风:       end
5e73ecd8d2 2023-06-25  顽雨沉风:     return cache_1
5e73ecd8d2 2023-06-25  顽雨沉风:     end
9adf9af520 2023-06-25  顽雨沉风:   end
ccc6274f8f 2023-06-18  顽雨沉风: 
9adf9af520 2023-06-25  顽雨沉风: fun["通关邀请"]()