游戏王残局简化版

Annotation For NH-02.lua
Login

Annotation For NH-02.lua

Lines of NH-02.lua from check-in 3dff221746 that are changed by the sequence of edits moving toward check-in f8a1b1a6a8:

                         1: --[[message
3dff221746 2023-04-17    2: 更新:2023-04-15
                         3: 卡数:47
                         4: 规则:大师3
                         5: 大风起兮云飞扬!
                         6: ]]
                         7: Debug.SetAIName("顽雨沉风")
                         8: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_PSEUDO_SHUFFLE+DUEL_SIMPLE_AI,3)
                         9: Debug.SetPlayerInfo(0,4500,0,0)
                        10: Debug.SetPlayerInfo(1,123700,0,0)
                        11: 
                        12: local e0=Effect.GlobalEffect()
                        13: e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
                        14: e0:SetCode(EVENT_ADJUST)
                        15: e0:SetCountLimit(1)
                        16: e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(0)>0 end)
                        17: e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
                        18: local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,8,8,nil)
                        19: if g:GetCount()>0 then
                        20:   Duel.SendtoHand(g,nil,REASON_RULE)
                        21: end end)
                        22: Duel.RegisterEffect(e0,0)
                        23: 
                        24: Debug.AddCard(7198399,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
                        25: Debug.AddCard(99666430,0,0,LOCATION_MZONE,0,POS_FACEUP_ATTACK,true)
                        26: Debug.AddCard(68815132,0,0,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
                        27: Debug.AddCard(46247516,1,1,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        28: --~ Debug.AddCard(96945958,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        29: Debug.AddCard(17658803,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        30: Debug.AddCard(17658803,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        31: Debug.AddCard(96945958,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        32: Debug.AddCard(71007216,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        33: Debug.AddCard(56585883,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        34: Debug.AddCard(5399521,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        35: Debug.AddCard(70117860,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        36: Debug.AddCard(98867329,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        37: Debug.AddCard(56747793,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        38: Debug.AddCard(37011715,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        39: Debug.AddCard(73356503,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        40: Debug.AddCard(7044562,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        41: Debug.AddCard(76812113,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        42: --~ Debug.AddCard(68815132,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        43: Debug.AddCard(14785765,0,0,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
                        44: --~ Debug.AddCard(70117860,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        45: Debug.AddCard(70117860,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        46: --~ Debug.AddCard(7608148,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        47: c=Debug.AddCard(21516908,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        48: c:CompleteProcedure()
                        49: Debug.AddCard(80208158,1,1,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        50: c=Debug.AddCard(14577226,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        51: c:CompleteProcedure()
                        52: Debug.AddCard(70939418,0,0,LOCATION_REMOVED,0,POS_FACEUP_ATTACK)
                        53: Debug.AddCard(82044279,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
                        54: Debug.AddCard(64880894,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
                        55: Debug.AddCard(42110604,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
                        56: Debug.AddCard(14816688,0,0,LOCATION_SZONE,0,POS_FACEDOWN_ATTACK)
                        57: Debug.AddCard(52503575,0,0,LOCATION_SZONE,2,POS_FACEDOWN_ATTACK)
                        58: Debug.AddCard(19162134,0,0,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
                        59: Debug.AddCard(79333300,0,0,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK)
                        60: Debug.AddCard(79333300,0,0,LOCATION_SZONE,4,POS_FACEDOWN_ATTACK)
                        61: Debug.AddCard(67775894,0,0,LOCATION_SZONE,1,POS_FACEDOWN_ATTACK)
                        62: Debug.AddCard(43722862,0,0,LOCATION_DECK,1,POS_FACEUP_ATTACK)
                        63: Debug.AddCard(12525049,0,0,LOCATION_DECK,2,POS_FACEUP_ATTACK)
                        64: --~ Debug.AddCard(56585883,0,0,LOCATION_DECK,3,POS_FACEUP_ATTACK)
                        65: Debug.AddCard(12247206,0,0,LOCATION_DECK,4,POS_FACEUP_ATTACK)
                        66: --~ Debug.AddCard(88392300,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        67: Debug.AddCard(49267971,0,0,LOCATION_DECK,4,POS_FACEUP_ATTACK)
                        68: Debug.AddCard(27753563,0,0,LOCATION_DECK,4,POS_FACEUP_ATTACK)
                        69: --~ Debug.AddCard(56585883,0,0,LOCATION_DECK,3,POS_FACEUP_ATTACK)
                        70: --~ Debug.AddCard(67775894,0,0,LOCATION_DECK,5,POS_FACEUP_ATTACK)
                        71: Debug.AddCard(80161395,0,0,LOCATION_DECK,6,POS_FACEUP_ATTACK)
                        72: Debug.AddCard(31178212,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        73: Debug.AddCard(33776734,1,1,LOCATION_HAND,0,POS_FACEUP_ATTACK)
                        74: Debug.AddCard(60643553,1,1,LOCATION_HAND,0,POS_FACEUP_ATTACK)
                        75: --~ Debug.AddCard(24731453,1,1,LOCATION_HAND,0,POS_FACEUP_ATTACK)
                        76: Debug.AddCard(64554883,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
                        77: Debug.AddCard(46247516,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
                        78: Debug.AddCard(12247206,1,1,LOCATION_SZONE,0,POS_FACEDOWN_ATTACK)
                        79: --~ Debug.AddCard(5833312,1,1,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
                        80: Debug.AddCard(71829750,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
                        81: Debug.AddCard(14342283,1,1,LOCATION_SZONE,1,POS_FACEUP_ATTACK)
                        82: Debug.AddCard(44405066,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        83: Debug.AddCard(46247516,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        84: Debug.AddCard(29401950,1,1,LOCATION_SZONE,2,POS_FACEDOWN_ATTACK)
                        85: 
                        86: Debug.AddCard(64554883,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
                        87: Debug.AddCard(7198399,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
                        88: Debug.AddCard(67949763,1,1,LOCATION_SZONE,4,POS_FACEDOWN_ATTACK)
                        89: Debug.AddCard(67949763,1,1,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK)
                        90: Debug.ReloadFieldEnd()
                        91: 
                        92: Debug.ShowHint("从卡组中选择八张卡加入手卡!")
                        93: aux.BeginPuzzle()
                        94: local e999=Effect.GlobalEffect()
                        95: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
                        96: e999:SetCode(EVENT_DAMAGE)
                        97: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
                        98: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
                        99: Debug.ShowHint("残局群181175613") end)
                       100: Duel.RegisterEffect(e999,0)
                       101: 
                       102: