游戏王残局简化版

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 03c37a1f5b:

3dff221746 2023-04-17  顽雨沉风: --[[message
3dff221746 2023-04-17  顽雨沉风: 卡数:27
3dff221746 2023-04-17  顽雨沉风: 规则:大师3
3dff221746 2023-04-17  顽雨沉风: 一起来我我我
3dff221746 2023-04-17  顽雨沉风: ]]
3dff221746 2023-04-17  顽雨沉风: Debug.SetAIName("四妹")
3dff221746 2023-04-17  顽雨沉风: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
3dff221746 2023-04-17  顽雨沉风: Debug.SetPlayerInfo(0,700,0,0)
3dff221746 2023-04-17  顽雨沉风: Debug.SetPlayerInfo(1,12200,0,0)
3dff221746 2023-04-17  顽雨沉风: 
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(14785765,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(71453557,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(72355441,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(90673413,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(51790181,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(81816475,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(12298909,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(52105192,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(98494543,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(26082117,0,0,LOCATION_GRAVE,0,POS_FACEUP)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(33420078,0,0,LOCATION_GRAVE,0,POS_FACEUP)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(77334267,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(92661479,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(38495396,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(91949988,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(95040215,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(65878864,0,0,LOCATION_MZONE,2,POS_FACEDOWN_DEFENSE)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(61705417,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(97077563,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(44330098,1,1,LOCATION_HAND,0,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(75652080,1,1,LOCATION_GRAVE,0,POS_FACEUP)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(34710660,1,1,LOCATION_GRAVE,0,POS_FACEUP)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(80117527,1,1,LOCATION_GRAVE,0,POS_FACEUP,true)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(1992816,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK,true)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
3dff221746 2023-04-17  顽雨沉风: local g1=Debug.AddCard(66235877,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
3dff221746 2023-04-17  顽雨沉风: g1:CompleteProcedure()
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(44095762,1,1,LOCATION_SZONE,1,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(44095762,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.AddCard(44095762,1,1,LOCATION_SZONE,3,POS_FACEDOWN)
3dff221746 2023-04-17  顽雨沉风: Debug.ReloadFieldEnd()
3dff221746 2023-04-17  顽雨沉风: aux.BeginPuzzle()
de01b7781c 2023-06-26  顽雨沉风: 
909ef71cf2 2023-06-25  顽雨沉风: local str = {}
909ef71cf2 2023-06-25  顽雨沉风: local fun = {}
909ef71cf2 2023-06-25  顽雨沉风: 
909ef71cf2 2023-06-25  顽雨沉风: local cache_1
909ef71cf2 2023-06-25  顽雨沉风: 
909ef71cf2 2023-06-25  顽雨沉风: fun["通关邀请"] = function()
909ef71cf2 2023-06-25  顽雨沉风:   local effect_100
909ef71cf2 2023-06-25  顽雨沉风:   effect_100 = Effect.GlobalEffect()
909ef71cf2 2023-06-25  顽雨沉风:   effect_100:SetType(EFFECT_TYPE_FIELD
909ef71cf2 2023-06-25  顽雨沉风:     + EFFECT_TYPE_CONTINUOUS)
909ef71cf2 2023-06-25  顽雨沉风:   effect_100:SetCode(EVENT_DAMAGE)
909ef71cf2 2023-06-25  顽雨沉风:   function cache_1()
909ef71cf2 2023-06-25  顽雨沉风: 
909ef71cf2 2023-06-25  顽雨沉风:     cache_1 = Duel.GetLP(1)
909ef71cf2 2023-06-25  顽雨沉风: 
909ef71cf2 2023-06-25  顽雨沉风:     if cache_1 <= 0 then
909ef71cf2 2023-06-25  顽雨沉风:       cache_1 = true
909ef71cf2 2023-06-25  顽雨沉风:     else
909ef71cf2 2023-06-25  顽雨沉风:       cache_1 = false
909ef71cf2 2023-06-25  顽雨沉风:       end
909ef71cf2 2023-06-25  顽雨沉风: 
909ef71cf2 2023-06-25  顽雨沉风:     return cache_1
909ef71cf2 2023-06-25  顽雨沉风:     end
909ef71cf2 2023-06-25  顽雨沉风:   effect_100:SetCondition(cache_1)
909ef71cf2 2023-06-25  顽雨沉风:   function cache_1()
909ef71cf2 2023-06-25  顽雨沉风:     Debug.ShowHint("残局群181175613")
909ef71cf2 2023-06-25  顽雨沉风:     return
909ef71cf2 2023-06-25  顽雨沉风:     end
909ef71cf2 2023-06-25  顽雨沉风:   effect_100:SetOperation(cache_1)
909ef71cf2 2023-06-25  顽雨沉风:   Duel.RegisterEffect(effect_100
909ef71cf2 2023-06-25  顽雨沉风:     , 0)
909ef71cf2 2023-06-25  顽雨沉风:   end
909ef71cf2 2023-06-25  顽雨沉风: 
de01b7781c 2023-06-26  顽雨沉风: fun["开局添加手卡"] = function(str_1)
de01b7781c 2023-06-26  顽雨沉风:   local effect_101
de01b7781c 2023-06-26  顽雨沉风:   effect_101 = Effect.GlobalEffect()
de01b7781c 2023-06-26  顽雨沉风:   effect_101:SetType(EFFECT_TYPE_FIELD
de01b7781c 2023-06-26  顽雨沉风:     + EFFECT_TYPE_CONTINUOUS)
de01b7781c 2023-06-26  顽雨沉风:   effect_101:SetCode(EVENT_ADJUST)
de01b7781c 2023-06-26  顽雨沉风:   effect_101:SetCountLimit(1)
de01b7781c 2023-06-26  顽雨沉风:   function cache_1()
de01b7781c 2023-06-26  顽雨沉风:     cache_1 = Duel.GetLP(0)
de01b7781c 2023-06-26  顽雨沉风:     if cache_1 > 0 then
de01b7781c 2023-06-26  顽雨沉风:       cache_1 = true
de01b7781c 2023-06-26  顽雨沉风:     else
de01b7781c 2023-06-26  顽雨沉风:       cache_1 = false
de01b7781c 2023-06-26  顽雨沉风:       end
de01b7781c 2023-06-26  顽雨沉风:     return cache_1
de01b7781c 2023-06-26  顽雨沉风:     end
de01b7781c 2023-06-26  顽雨沉风:   effect_101:SetCondition(cache_1)
de01b7781c 2023-06-26  顽雨沉风:   function cache_1(effect_event
de01b7781c 2023-06-26  顽雨沉风:     , player_who_activate_the_effect)
de01b7781c 2023-06-26  顽雨沉风:     cache_1 = Duel.SelectMatchingCard(player_who_activate_the_effect
de01b7781c 2023-06-26  顽雨沉风:        , Card.IsAbleToHand
de01b7781c 2023-06-26  顽雨沉风:        , player_who_activate_the_effect
de01b7781c 2023-06-26  顽雨沉风:        , LOCATION_DECK
de01b7781c 2023-06-26  顽雨沉风:        , 0
de01b7781c 2023-06-26  顽雨沉风:        , str_1
de01b7781c 2023-06-26  顽雨沉风:        , str_1
de01b7781c 2023-06-26  顽雨沉风:        , nil)
03c37a1f5b 2023-06-26  顽雨沉风:     cache_1 = cache_1:GetCount()
de01b7781c 2023-06-26  顽雨沉风:     if cache_1 > 0 then
de01b7781c 2023-06-26  顽雨沉风:       Duel.SendtoHand(cache_1
de01b7781c 2023-06-26  顽雨沉风:         , nil
de01b7781c 2023-06-26  顽雨沉风:         , REASON_RULE)
de01b7781c 2023-06-26  顽雨沉风:       end
de01b7781c 2023-06-26  顽雨沉风:     end
de01b7781c 2023-06-26  顽雨沉风:   effect_101:SetOperation(cache_1)
de01b7781c 2023-06-26  顽雨沉风:   Duel.RegisterEffect(effect_101
de01b7781c 2023-06-26  顽雨沉风:     , 0)
de01b7781c 2023-06-26  顽雨沉风:   end
de01b7781c 2023-06-26  顽雨沉风: 
909ef71cf2 2023-06-25  顽雨沉风: fun["通关邀请"]()
de01b7781c 2023-06-26  顽雨沉风: fun["开局添加手卡"](6)
de01b7781c 2023-06-26  顽雨沉风: