游戏王残局简化版

Annotation For single/32.Enemy Controlled Heraldry.lua
Login

Annotation For single/32.Enemy Controlled Heraldry.lua

Lines of single/32.Enemy Controlled Heraldry.lua from check-in 8e17f93174 that are changed by the sequence of edits moving toward check-in a5cf779f2d:

                         1: --[[message
                         2: 控敌的纹章
                         3: ]]
                         4: Debug.SetAIName("四妹")
                         5: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
                         6: Debug.SetPlayerInfo(0,2200,0,0)
                         7: Debug.SetPlayerInfo(1,109125,0,0)
                         8: 
                         9: local e0=Effect.GlobalEffect()
                        10: e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
                        11: e0:SetCode(EVENT_ADJUST)
                        12: e0:SetCountLimit(1)
                        13: e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(0)>0 end)
                        14: e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
                        15: local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,6,6,nil)
                        16: if g:GetCount()>0 then
                        17:   Duel.SendtoHand(g,nil,REASON_RULE)
                        18: end end)
                        19: Duel.RegisterEffect(e0,0)
                        20: 
                        21: Debug.AddCard(82315772,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        22: Debug.AddCard(37011715,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        23: Debug.AddCard(60316373,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        24: Debug.AddCard(19310321,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
                        25: Debug.AddCard(98045062,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        26: Debug.AddCard(89399912,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        27: Debug.AddCard(45725480,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        28: Debug.AddCard(82315772,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        29: Debug.AddCard(76862289,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        30: Debug.AddCard(73048641,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        31: Debug.AddCard(45705025,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        32: Debug.AddCard(60316373,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        33: Debug.AddCard(81385346,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        34: Debug.AddCard(53804307,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        35: Debug.AddCard(82315772,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        36: Debug.AddCard(47660516,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        37: Debug.AddCard(12247206,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        38: Debug.AddCard(82293134,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        39: Debug.AddCard(9622164,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        40: --~ Debug.AddCard(89399912,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        41: --~ Debug.AddCard(45725480,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        42: Debug.AddCard(90411554,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        43: --~ Debug.AddCard(81385346,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        44: --~ Debug.AddCard(53804307,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        45: Debug.AddCard(90470931,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        46: Debug.AddCard(98045062,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
                        47: Debug.AddCard(94770493,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
                        48: Debug.AddCard(26400609,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
                        49: Debug.AddCard(23649496,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        50: Debug.AddCard(2061963,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        51: Debug.AddCard(11522979,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        52: Debug.AddCard(80117527,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        53: Debug.AddCard(60802233,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        54: Debug.AddCard(45869829,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
                        55: Debug.AddCard(46652477,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
                        56: Debug.AddCard(74519184,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
                        57: Debug.AddCard(12510878,1,1,LOCATION_DECK,0,POS_FACEDOWN)
                        58: Debug.AddCard(29948642,1,1,LOCATION_DECK,0,POS_FACEDOWN)
                        59: Debug.AddCard(4392470,1,1,LOCATION_DECK,0,POS_FACEDOWN)
                        60: Debug.AddCard(17238333,1,1,LOCATION_HAND,0,POS_FACEDOWN)
                        61: Debug.AddCard(17238333,1,1,LOCATION_HAND,0,POS_FACEDOWN)
                        62: local g1=Debug.AddCard(47017574,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
                        63: g1:CompleteProcedure()
                        64: local g1=Debug.AddCard(97403510,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
                        65: g1:CompleteProcedure()
                        66: Debug.AddCard(89189982,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
                        67: Debug.AddCard(41218256,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        68: local g1=Debug.AddCard(11522979,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
                        69: g1:CompleteProcedure()
                        70: local g1=Debug.AddCard(2407234,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
                        71: g1:CompleteProcedure()
                        72: local g1=Debug.AddCard(6165656,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
                        73: g1:CompleteProcedure()
                        74: Debug.AddCard(89631139,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
                        75: Debug.AddCard(00473469,1,1,LOCATION_SZONE,0,POS_FACEDOWN)
                        76: Debug.AddCard(57115864,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
                        77: Debug.AddCard(98139712,1,1,LOCATION_SZONE,4,POS_FACEUP)
                        78: Debug.AddCard(56433456,1,1,LOCATION_SZONE,5,POS_FACEUP)
                        79: Debug.ReloadFieldEnd()
                        80: aux.BeginPuzzle()