游戏王残局简化版

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 46fa9991e7:

3dff221746 2023-04-17    1: --[[message
3dff221746 2023-04-17    2: 卡数:27
3dff221746 2023-04-17    3: 规则:大师3
3dff221746 2023-04-17    4: 一起来我我我
3dff221746 2023-04-17    5: ]]
3dff221746 2023-04-17    6: --puzzle1
3dff221746 2023-04-17    7: Debug.SetAIName("四妹")
3dff221746 2023-04-17    8: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
3dff221746 2023-04-17    9: Debug.SetPlayerInfo(0,700,0,0)
3dff221746 2023-04-17   10: Debug.SetPlayerInfo(1,12200,0,0)
3dff221746 2023-04-17   11: 
3dff221746 2023-04-17   12: local e0=Effect.GlobalEffect()
3dff221746 2023-04-17   13: e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
3dff221746 2023-04-17   14: e0:SetCode(EVENT_ADJUST)
3dff221746 2023-04-17   15: e0:SetCountLimit(1)
3dff221746 2023-04-17   16: e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(0)>0 end)
3dff221746 2023-04-17   17: e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
3dff221746 2023-04-17   18: local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,6,6,nil)
3dff221746 2023-04-17   19: if g:GetCount()>0 then
3dff221746 2023-04-17   20:   Duel.SendtoHand(g,nil,REASON_RULE)
3dff221746 2023-04-17   21: end end)
3dff221746 2023-04-17   22: Duel.RegisterEffect(e0,0)
3dff221746 2023-04-17   23: 
3dff221746 2023-04-17   24: Debug.AddCard(14785765,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17   25: Debug.AddCard(71453557,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17   26: Debug.AddCard(72355441,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17   27: Debug.AddCard(90673413,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17   28: Debug.AddCard(51790181,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17   29: Debug.AddCard(81816475,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17   30: Debug.AddCard(12298909,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17   31: Debug.AddCard(52105192,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17   32: Debug.AddCard(98494543,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17   33: --~ Debug.AddCard(72355441,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17   34: --~ Debug.AddCard(90673413,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17   35: --~ Debug.AddCard(51790181,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17   36: Debug.AddCard(26082117,0,0,LOCATION_GRAVE,0,POS_FACEUP)
3dff221746 2023-04-17   37: Debug.AddCard(33420078,0,0,LOCATION_GRAVE,0,POS_FACEUP)
3dff221746 2023-04-17   38: Debug.AddCard(77334267,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
3dff221746 2023-04-17   39: Debug.AddCard(92661479,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
3dff221746 2023-04-17   40: Debug.AddCard(38495396,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
3dff221746 2023-04-17   41: Debug.AddCard(91949988,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
3dff221746 2023-04-17   42: Debug.AddCard(95040215,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
3dff221746 2023-04-17   43: Debug.AddCard(65878864,0,0,LOCATION_MZONE,2,POS_FACEDOWN_DEFENSE)
3dff221746 2023-04-17   44: Debug.AddCard(61705417,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
3dff221746 2023-04-17   45: Debug.AddCard(97077563,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
3dff221746 2023-04-17   46: Debug.AddCard(44330098,1,1,LOCATION_HAND,0,POS_FACEDOWN)
3dff221746 2023-04-17   47: Debug.AddCard(75652080,1,1,LOCATION_GRAVE,0,POS_FACEUP)
3dff221746 2023-04-17   48: Debug.AddCard(34710660,1,1,LOCATION_GRAVE,0,POS_FACEUP)
3dff221746 2023-04-17   49: Debug.AddCard(80117527,1,1,LOCATION_GRAVE,0,POS_FACEUP,true)
3dff221746 2023-04-17   50: Debug.AddCard(1992816,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK,true)
3dff221746 2023-04-17   51: Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   52: local g1=Debug.AddCard(66235877,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   53: g1:CompleteProcedure()
3dff221746 2023-04-17   54: Debug.AddCard(44095762,1,1,LOCATION_SZONE,1,POS_FACEDOWN)
3dff221746 2023-04-17   55: Debug.AddCard(44095762,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
3dff221746 2023-04-17   56: Debug.AddCard(44095762,1,1,LOCATION_SZONE,3,POS_FACEDOWN)
3dff221746 2023-04-17   57: Debug.ReloadFieldEnd()
3dff221746 2023-04-17   58: --~ Debug.ShowHint("在这个回合取得胜利!")
3dff221746 2023-04-17   59: Debug.ShowHint("从卡组中选择六张卡加入手卡!")
3dff221746 2023-04-17   60: aux.BeginPuzzle()
3dff221746 2023-04-17   61: local e999=Effect.GlobalEffect()
3dff221746 2023-04-17   62: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
3dff221746 2023-04-17   63: e999:SetCode(EVENT_DAMAGE)
3dff221746 2023-04-17   64: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
3dff221746 2023-04-17   65: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
3dff221746 2023-04-17   66: Debug.ShowHint("残局群181175613") end)
3dff221746 2023-04-17   67: Duel.RegisterEffect(e999,0)