游戏王残局简化版

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

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

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

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
3ab9f4a39f 2023-06-06   20:     , player_for_activate_the_effect
d8d093a953 2023-06-05   21:     , card_gruop_for_effect
84c4e4967e 2023-06-05   22:     , player_for_effect_event
48eaa832b8 2023-06-05   23:     , value_for_effect
6b9b37c258 2023-06-05   24:     , effect_for_trigger
0b982fdb23 2023-06-05   25:     , reason_for_trigger
3f2a276904 2023-06-05   26:     , player_who_trigger)
48eaa832b8 2023-06-05   27: 
0309adcf33 2023-06-05   28:     cache_1 = Duel.GetLP(1)
48eaa832b8 2023-06-05   29: 
0309adcf33 2023-06-05   30:     return cache_1 <= 0
295b2babd6 2023-05-31   31:     end
575dd955a8 2023-06-05   32:   effect_100:SetCondition(cache_1)
a4bcb83095 2023-06-05   33:   function cache_1(effect_event
3ab9f4a39f 2023-06-06   34:     , player_for_activate_the_effect
d8d093a953 2023-06-05   35:     , card_gruop_for_effect
84c4e4967e 2023-06-05   36:     , player_for_effect_event
48eaa832b8 2023-06-05   37:     , value_for_effect
6b9b37c258 2023-06-05   38:     , effect_for_trigger
147ca328d2 2023-06-05   39:     , reason_for_trigger
3f2a276904 2023-06-05   40:     , player_who_trigger)
295b2babd6 2023-05-31   41:     Debug.ShowHint("残局群181175613")
295b2babd6 2023-05-31   42:     return
295b2babd6 2023-05-31   43:     end
575dd955a8 2023-06-05   44:   effect_100:SetOperation(cache_1)
575dd955a8 2023-06-05   45:   Duel.RegisterEffect(effect_100
748a21fd39 2023-05-31   46:     , 0)
295b2babd6 2023-05-31   47:   end
295b2babd6 2023-05-31   48: