游戏王残局简化版

Annotation For [WCS2011]-12.lua
Login

Annotation For [WCS2011]-12.lua

Lines of [WCS2011]-12.lua from check-in a85fa7a5ed that are changed by the sequence of edits moving toward check-in 9afa050a88:

                         1: --[[message
                         2: 卡数:
                         3: 规则:大师3
                         4: ]]
                         5: --wcs2011-12
                         6: Debug.SetAIName("[WCS2011]-12")
                         7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
                         8: Debug.SetPlayerInfo(0,700,0,0)
a85fa7a5ed 2023-04-22    9: Debug.SetPlayerInfo(1,3200,0,0)
                        10: 
                        11: local e0=Effect.GlobalEffect()
                        12: e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
                        13: e0:SetCode(EVENT_ADJUST)
                        14: e0:SetCountLimit(1)
                        15: e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(0)>0 end)
                        16: e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
                        17: local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,1,1,nil)
                        18: if g:GetCount()>0 then
                        19:   Duel.SendtoHand(g,nil,REASON_RULE)
                        20: end end)
                        21: Duel.RegisterEffect(e0,0)
                        22: 
                        23: Debug.AddCard(43642620,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        24: Debug.AddCard(75652080,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        25: Debug.AddCard(35262428,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        26: Debug.AddCard(35262428,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        27: Debug.AddCard(37011715,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        28: Debug.AddCard(81674782,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        29: Debug.AddCard(82732705,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
                        30: Debug.AddCard(21070956,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
                        31: Debug.AddCard(27551,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
                        32: Debug.AddCard(27174286,0,0,LOCATION_SZONE,4,POS_FACEDOWN)
                        33: Debug.AddCard(71717923,0,0,LOCATION_GRAVE,0,POS_FACEUP)
                        34: Debug.AddCard(54541900,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
                        35: Debug.AddCard(54541900,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        36: Debug.AddCard(54541900,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
                        37: Debug.AddCard(98139712,1,1,LOCATION_SZONE,2,POS_FACEUP)
                        38: Debug.AddCard(84916669,1,1,LOCATION_GRAVE,0,POS_FACEUP)
                        39: Debug.AddCard(43642620,1,1,LOCATION_GRAVE,0,POS_FACEUP)
                        40: Debug.ReloadFieldEnd()
                        41: --~ Debug.ShowHint("在这个回合取得胜利!")
                        42: aux.BeginPuzzle()
                        43: local e999=Effect.GlobalEffect()
                        44: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
                        45: e999:SetCode(EVENT_DAMAGE)
                        46: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
                        47: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
                        48: Debug.ShowHint("残局群181175613") end)
                        49: Duel.RegisterEffect(e999,0)
                        50: 
                        51: Debug.ShowHint("从卡组中选择一张卡加入手卡!")