游戏王残局简化版

Annotation For single/NH-02.lua
Login

Annotation For single/NH-02.lua

Lines of single/NH-02.lua from check-in e7f204fb3d that are changed by the sequence of edits moving toward check-in e397e69d58:

                         1: --[[message
e7f204fb3d 2023-06-29    2: 卡数:49
e7f204fb3d 2023-06-29    3: 规则:大师3
                         4: 大风起兮云飞扬!
                         5: ]]
                         6: Debug.SetAIName("顽雨沉风")
                         7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_PSEUDO_SHUFFLE+DUEL_SIMPLE_AI,3)
                         8: Debug.SetPlayerInfo(0,3100,0,0)
                         9: Debug.SetPlayerInfo(1,123700,0,0)
                        10: 
e7f204fb3d 2023-06-29   11: local e0=Effect.GlobalEffect()
e7f204fb3d 2023-06-29   12: e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e7f204fb3d 2023-06-29   13: e0:SetCode(EVENT_ADJUST)
e7f204fb3d 2023-06-29   14: e0:SetCountLimit(1)
e7f204fb3d 2023-06-29   15: e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(0)>0 end)
e7f204fb3d 2023-06-29   16: e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
e7f204fb3d 2023-06-29   17: local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,8,8,nil)
e7f204fb3d 2023-06-29   18: if g:GetCount()>0 then
e7f204fb3d 2023-06-29   19:   Duel.SendtoHand(g,nil,REASON_RULE)
e7f204fb3d 2023-06-29   20: end end)
e7f204fb3d 2023-06-29   21: Duel.RegisterEffect(e0,0)
                        22: 
                        23: Debug.AddCard(7198399,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
                        24: Debug.AddCard(99666430,0,0,LOCATION_MZONE,0,POS_FACEUP_ATTACK,true)
                        25: Debug.AddCard(68815132,0,0,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
                        26: Debug.AddCard(46247516,1,1,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        27: --~ Debug.AddCard(96945958,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        28: Debug.AddCard(17658803,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        29: Debug.AddCard(17658803,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        30: Debug.AddCard(96945958,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        31: Debug.AddCard(71007216,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        32: Debug.AddCard(56585883,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        33: Debug.AddCard(5399521,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        34: Debug.AddCard(70117860,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        35: Debug.AddCard(98867329,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        36: Debug.AddCard(56747793,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        37: Debug.AddCard(37011715,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        38: Debug.AddCard(73356503,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        39: Debug.AddCard(7044562,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        40: Debug.AddCard(76812113,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)
                        41: --~ Debug.AddCard(68815132,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        42: Debug.AddCard(14785765,0,0,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
                        43: --~ Debug.AddCard(70117860,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        44: Debug.AddCard(70117860,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        45: --~ Debug.AddCard(7608148,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        46: c=Debug.AddCard(21516908,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        47: c:CompleteProcedure()
                        48: Debug.AddCard(80208158,1,1,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        49: c=Debug.AddCard(14577226,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        50: c:CompleteProcedure()
                        51: Debug.AddCard(98506199,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK,true)
                        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(67616300,1,1,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
                        83: Debug.AddCard(44405066,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        84: Debug.AddCard(46247516,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        85: Debug.AddCard(29401950,1,1,LOCATION_SZONE,2,POS_FACEDOWN_ATTACK)
                        86: 
                        87: Debug.AddCard(64554883,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
                        88: Debug.AddCard(7198399,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
                        89: Debug.AddCard(67949763,1,1,LOCATION_SZONE,4,POS_FACEDOWN_ATTACK)
                        90: Debug.AddCard(67949763,1,1,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK)
                        91: Debug.ReloadFieldEnd()
e7f204fb3d 2023-06-29   92: 
e7f204fb3d 2023-06-29   93: Debug.ShowHint("从卡组中选择八张卡加入手卡!")
                        94: aux.BeginPuzzle()
e7f204fb3d 2023-06-29   95: local e999=Effect.GlobalEffect()
e7f204fb3d 2023-06-29   96: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e7f204fb3d 2023-06-29   97: e999:SetCode(EVENT_DAMAGE)
e7f204fb3d 2023-06-29   98: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
e7f204fb3d 2023-06-29   99: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
e7f204fb3d 2023-06-29  100: Debug.ShowHint("残局群181175613") end)
e7f204fb3d 2023-06-29  101: Duel.RegisterEffect(e999,0)
                       102: 
                       103: