游戏王残局简化版

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

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

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

295b2babd6 2023-05-31    1: --[[message
295b2babd6 2023-05-31    2: 警告:不是残局!!!
295b2babd6 2023-05-31    3: 打不开!!!
295b2babd6 2023-05-31    4: 打不开!!!
295b2babd6 2023-05-31    5: 打不开!!!
295b2babd6 2023-05-31    6: ]]
295b2babd6 2023-05-31    7: 
295b2babd6 2023-05-31    8: local str = {}
295b2babd6 2023-05-31    9: local fun = {}
295b2babd6 2023-05-31   10: 
575dd955a8 2023-06-05   11: local cache_1
295b2babd6 2023-05-31   12: 
295b2babd6 2023-05-31   13: fun["通关邀请"]=function()
575dd955a8 2023-06-05   14:   local effect_100
a4bcb83095 2023-06-05   15:   effect_100 = Effect.GlobalEffect()
575dd955a8 2023-06-05   16:   effect_100:SetType(EFFECT_TYPE_FIELD
295b2babd6 2023-05-31   17:     + EFFECT_TYPE_CONTINUOUS)
575dd955a8 2023-06-05   18:   effect_100:SetCode(EVENT_DAMAGE)
a4bcb83095 2023-06-05   19:   function cache_1(effect_event
656d5ae4e6 2023-06-05   20:     , player_who_activate_the_effect
748a21fd39 2023-05-31   21:     , eg
748a21fd39 2023-05-31   22:     , ep
748a21fd39 2023-05-31   23:     , ev
748a21fd39 2023-05-31   24:     , re
0b982fdb23 2023-06-05   25:     , reason_for_trigger
748a21fd39 2023-05-31   26:     , rp)
0309adcf33 2023-06-05   27:     cache_1 = Duel.GetLP(1)
0309adcf33 2023-06-05   28:     return cache_1 <= 0
295b2babd6 2023-05-31   29:     end
575dd955a8 2023-06-05   30:   effect_100:SetCondition(cache_1)
a4bcb83095 2023-06-05   31:   function cache_1(effect_event
7705f5ffaa 2023-06-05   32:     , player_who_activate_the_effect
748a21fd39 2023-05-31   33:     , eg
748a21fd39 2023-05-31   34:     , ep
748a21fd39 2023-05-31   35:     , ev
748a21fd39 2023-05-31   36:     , re
748a21fd39 2023-05-31   37:     , r
748a21fd39 2023-05-31   38:     , rp)
295b2babd6 2023-05-31   39:     Debug.ShowHint("残局群181175613")
295b2babd6 2023-05-31   40:     return
295b2babd6 2023-05-31   41:     end
575dd955a8 2023-06-05   42:   effect_100:SetOperation(cache_1)
575dd955a8 2023-06-05   43:   Duel.RegisterEffect(effect_100
748a21fd39 2023-05-31   44:     , 0)
295b2babd6 2023-05-31   45:   end
295b2babd6 2023-05-31   46: