游戏王残局简化版

Annotation For 19.Let's GaGaGa.lua
Login

Annotation For 19.Let's GaGaGa.lua

Origin for each line in 19.Let's GaGaGa.lua from check-in 93595441a0:

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