游戏王残局简化版

Annotation For single/19.Let's GaGaGa.lua
Login

Annotation For single/19.Let's GaGaGa.lua

Origin for each line in single/19.Let's GaGaGa.lua from check-in 2382d49fea:

e7f204fb3d 2023-06-29    1: --[[message
e7f204fb3d 2023-06-29    2: 一起来我我我
e7f204fb3d 2023-06-29    3: ]]
32fa479c6d 2023-06-30    4: 
32fa479c6d 2023-06-30    5: --~ 加载残局函数库
32fa479c6d 2023-06-30    6: Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
32fa479c6d 2023-06-30    7: 
e7f204fb3d 2023-06-29    8: Debug.SetAIName("四妹")
e7f204fb3d 2023-06-29    9: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
e7f204fb3d 2023-06-29   10: Debug.SetPlayerInfo(0,700,0,0)
e7f204fb3d 2023-06-29   11: Debug.SetPlayerInfo(1,12200,0,0)
e7f204fb3d 2023-06-29   12: 
e7f204fb3d 2023-06-29   13: Debug.AddCard(14785765,0,0,LOCATION_DECK,0,POS_FACEDOWN)
e7f204fb3d 2023-06-29   14: Debug.AddCard(71453557,0,0,LOCATION_DECK,0,POS_FACEDOWN)
e7f204fb3d 2023-06-29   15: Debug.AddCard(72355441,0,0,LOCATION_DECK,0,POS_FACEDOWN)
e7f204fb3d 2023-06-29   16: Debug.AddCard(90673413,0,0,LOCATION_DECK,0,POS_FACEDOWN)
e7f204fb3d 2023-06-29   17: Debug.AddCard(51790181,0,0,LOCATION_DECK,0,POS_FACEDOWN)
e7f204fb3d 2023-06-29   18: Debug.AddCard(81816475,0,0,LOCATION_DECK,0,POS_FACEDOWN)
e7f204fb3d 2023-06-29   19: Debug.AddCard(12298909,0,0,LOCATION_DECK,0,POS_FACEDOWN)
e7f204fb3d 2023-06-29   20: Debug.AddCard(52105192,0,0,LOCATION_DECK,0,POS_FACEDOWN)
e7f204fb3d 2023-06-29   21: Debug.AddCard(98494543,0,0,LOCATION_DECK,0,POS_FACEDOWN)
e7f204fb3d 2023-06-29   22: Debug.AddCard(26082117,0,0,LOCATION_GRAVE,0,POS_FACEUP)
e7f204fb3d 2023-06-29   23: Debug.AddCard(33420078,0,0,LOCATION_GRAVE,0,POS_FACEUP)
e7f204fb3d 2023-06-29   24: Debug.AddCard(77334267,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
e7f204fb3d 2023-06-29   25: Debug.AddCard(92661479,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
e7f204fb3d 2023-06-29   26: Debug.AddCard(38495396,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
e7f204fb3d 2023-06-29   27: Debug.AddCard(91949988,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
e7f204fb3d 2023-06-29   28: Debug.AddCard(95040215,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
e7f204fb3d 2023-06-29   29: Debug.AddCard(65878864,0,0,LOCATION_MZONE,2,POS_FACEDOWN_DEFENSE)
e7f204fb3d 2023-06-29   30: Debug.AddCard(61705417,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
e7f204fb3d 2023-06-29   31: Debug.AddCard(97077563,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
e7f204fb3d 2023-06-29   32: Debug.AddCard(44330098,1,1,LOCATION_HAND,0,POS_FACEDOWN)
e7f204fb3d 2023-06-29   33: Debug.AddCard(75652080,1,1,LOCATION_GRAVE,0,POS_FACEUP)
e7f204fb3d 2023-06-29   34: Debug.AddCard(34710660,1,1,LOCATION_GRAVE,0,POS_FACEUP)
e7f204fb3d 2023-06-29   35: Debug.AddCard(80117527,1,1,LOCATION_GRAVE,0,POS_FACEUP,true)
e7f204fb3d 2023-06-29   36: Debug.AddCard(1992816,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK,true)
e7f204fb3d 2023-06-29   37: Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   38: local g1=Debug.AddCard(66235877,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
e7f204fb3d 2023-06-29   39: g1:CompleteProcedure()
e7f204fb3d 2023-06-29   40: Debug.AddCard(44095762,1,1,LOCATION_SZONE,1,POS_FACEDOWN)
e7f204fb3d 2023-06-29   41: Debug.AddCard(44095762,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
e7f204fb3d 2023-06-29   42: Debug.AddCard(44095762,1,1,LOCATION_SZONE,3,POS_FACEDOWN)
e7f204fb3d 2023-06-29   43: Debug.ReloadFieldEnd()
e7f204fb3d 2023-06-29   44: aux.BeginPuzzle()
e7f204fb3d 2023-06-29   45: 
32fa479c6d 2023-06-30   46: --~ local str = {}
32fa479c6d 2023-06-30   47: --~ local fun = {}
32fa479c6d 2023-06-30   48: 
32fa479c6d 2023-06-30   49: --~ local cache_1
32fa479c6d 2023-06-30   50: --~ local cache_2
32fa479c6d 2023-06-30   51: 
32fa479c6d 2023-06-30   52: --~ fun["通关邀请"] = function()
32fa479c6d 2023-06-30   53: --~   local effect_1
32fa479c6d 2023-06-30   54: --~   effect_1 = Effect.GlobalEffect()
32fa479c6d 2023-06-30   55: --~   effect_1:SetType(EFFECT_TYPE_FIELD
32fa479c6d 2023-06-30   56: --~     + EFFECT_TYPE_CONTINUOUS)
32fa479c6d 2023-06-30   57: --~   effect_1:SetCode(EVENT_DAMAGE)
32fa479c6d 2023-06-30   58: --~   function cache_1()
32fa479c6d 2023-06-30   59: --~     cache_1 = Duel.GetLP(1)
32fa479c6d 2023-06-30   60: --~     if cache_1 <= 0 then
32fa479c6d 2023-06-30   61: --~       cache_1 = true
32fa479c6d 2023-06-30   62: --~     else
32fa479c6d 2023-06-30   63: --~       cache_1 = false
32fa479c6d 2023-06-30   64: --~       end
32fa479c6d 2023-06-30   65: --~     return cache_1
32fa479c6d 2023-06-30   66: --~     end
32fa479c6d 2023-06-30   67: --~   effect_1:SetCondition(cache_1)
32fa479c6d 2023-06-30   68: --~   function cache_1()
32fa479c6d 2023-06-30   69: --~     Debug.ShowHint("残局群181175613")
32fa479c6d 2023-06-30   70: --~     return
32fa479c6d 2023-06-30   71: --~     end
32fa479c6d 2023-06-30   72: --~   effect_1:SetOperation(cache_1)
32fa479c6d 2023-06-30   73: --~   Duel.RegisterEffect(effect_1
32fa479c6d 2023-06-30   74: --~     , 0)
32fa479c6d 2023-06-30   75: --~   end
32fa479c6d 2023-06-30   76: 
32fa479c6d 2023-06-30   77: --~ fun["开局添加手卡"] = function(str_1)
32fa479c6d 2023-06-30   78: --~   local effect_1
32fa479c6d 2023-06-30   79: --~   effect_1 = Effect.GlobalEffect()
32fa479c6d 2023-06-30   80: --~   effect_1:SetType(EFFECT_TYPE_FIELD
32fa479c6d 2023-06-30   81: --~     + EFFECT_TYPE_CONTINUOUS)
32fa479c6d 2023-06-30   82: --~   effect_1:SetCode(EVENT_ADJUST)
32fa479c6d 2023-06-30   83: --~   effect_1:SetCountLimit(1)
32fa479c6d 2023-06-30   84: --~   function cache_1()
32fa479c6d 2023-06-30   85: --~     return true
32fa479c6d 2023-06-30   86: --~     end
32fa479c6d 2023-06-30   87: --~   effect_1:SetCondition(cache_1)
32fa479c6d 2023-06-30   88: --~   function cache_1(effect_event
32fa479c6d 2023-06-30   89: --~     , player_who_activate_the_effect)
32fa479c6d 2023-06-30   90: --~     str["玩家选定的卡"] = Duel.SelectMatchingCard(player_who_activate_the_effect
32fa479c6d 2023-06-30   91: --~        , Card.IsAbleToHand
32fa479c6d 2023-06-30   92: --~        , player_who_activate_the_effect
32fa479c6d 2023-06-30   93: --~        , LOCATION_DECK
32fa479c6d 2023-06-30   94: --~        , 0
32fa479c6d 2023-06-30   95: --~        , str_1
32fa479c6d 2023-06-30   96: --~        , str_1
32fa479c6d 2023-06-30   97: --~        , nil)
32fa479c6d 2023-06-30   98: --~     Duel.SendtoHand(str["玩家选定的卡"]
32fa479c6d 2023-06-30   99: --~       , nil
32fa479c6d 2023-06-30  100: --~       , REASON_RULE)
32fa479c6d 2023-06-30  101: --~     end
32fa479c6d 2023-06-30  102: --~   effect_1:SetOperation(cache_1)
32fa479c6d 2023-06-30  103: --~   Duel.RegisterEffect(effect_1
32fa479c6d 2023-06-30  104: --~     , 0)
32fa479c6d 2023-06-30  105: --~   end
e7f204fb3d 2023-06-29  106: 
2382d49fea 2023-06-30  107: fun["通关邀请"]()
2382d49fea 2023-06-30  108: fun["开局添加手卡"](6)
2382d49fea 2023-06-30  109: fun["开局说明"]()
e7f204fb3d 2023-06-29  110: