游戏王残局简化版

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

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

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

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
575dd955a8 2023-06-05   12: 
575dd955a8 2023-06-05   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
575dd955a8 2023-06-05   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
575dd955a8 2023-06-05   21:     , eg
575dd955a8 2023-06-05   22:     , ep
575dd955a8 2023-06-05   23:     , ev
575dd955a8 2023-06-05   24:     , re
0b982fdb23 2023-06-05   25:     , reason_for_trigger
3f2a276904 2023-06-05   26:     , player_who_trigger)
0309adcf33 2023-06-05   27:     cache_1 = Duel.GetLP(1)
0309adcf33 2023-06-05   28:     return cache_1 <= 0
575dd955a8 2023-06-05   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
575dd955a8 2023-06-05   33:     , eg
575dd955a8 2023-06-05   34:     , ep
575dd955a8 2023-06-05   35:     , ev
575dd955a8 2023-06-05   36:     , re
147ca328d2 2023-06-05   37:     , reason_for_trigger
3f2a276904 2023-06-05   38:     , player_who_trigger)
575dd955a8 2023-06-05   39:     Debug.ShowHint("残局群181175613")
575dd955a8 2023-06-05   40:     return
575dd955a8 2023-06-05   41:     end
575dd955a8 2023-06-05   42:   effect_100:SetOperation(cache_1)
575dd955a8 2023-06-05   43:   Duel.RegisterEffect(effect_100
f5d7aad2c6 2023-05-31   44:     , 0)
f5d7aad2c6 2023-05-31   45:   end
295b2babd6 2023-05-31   46: