游戏王残局简化版

Annotation For 32.Enemy Controlled Heraldry_衍生-1.lua
Login

Annotation For 32.Enemy Controlled Heraldry_衍生-1.lua

Lines of 32.Enemy Controlled Heraldry_衍生-1.lua from check-in 072e496e9f that are changed by the sequence of edits moving toward check-in 1d5c23ebdd:

                         1: --[[message
                         2: 卡数:41
                         3: 规则:大师3
                         4: 控敌的纹章
                         5: ]]
                         6: Debug.SetAIName("四妹")
                         7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
                         8: Debug.SetPlayerInfo(0,2200,0,0)
                         9: Debug.SetPlayerInfo(1,168150,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,6,6,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(82315772,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        24: Debug.AddCard(37011715,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        25: Debug.AddCard(60316373,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        26: Debug.AddCard(19310321,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
                        27: Debug.AddCard(98045062,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        28: Debug.AddCard(89399912,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        29: Debug.AddCard(45725480,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        30: Debug.AddCard(82315772,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        31: Debug.AddCard(76862289,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        32: Debug.AddCard(73048641,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        33: Debug.AddCard(45705025,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        34: Debug.AddCard(60316373,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        35: Debug.AddCard(81385346,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        36: Debug.AddCard(53804307,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        37: Debug.AddCard(82315772,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        38: Debug.AddCard(47660516,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        39: Debug.AddCard(12247206,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        40: Debug.AddCard(82293134,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        41: Debug.AddCard(9622164,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        42: --~ Debug.AddCard(89399912,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        43: --~ Debug.AddCard(45725480,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        44: Debug.AddCard(90411554,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        45: --~ Debug.AddCard(81385346,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        46: --~ Debug.AddCard(53804307,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        47: Debug.AddCard(37364101,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        48: Debug.AddCard(98045062,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
                        49: Debug.AddCard(94770493,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
                        50: Debug.AddCard(26400609,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
                        51: Debug.AddCard(23649496,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        52: Debug.AddCard(2061963,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        53: Debug.AddCard(11522979,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        54: Debug.AddCard(80117527,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        55: Debug.AddCard(60802233,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        56: Debug.AddCard(45869829,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
                        57: Debug.AddCard(46652477,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
                        58: Debug.AddCard(74519184,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
                        59: Debug.AddCard(12510878,1,1,LOCATION_DECK,0,POS_FACEDOWN)
                        60: Debug.AddCard(29948642,1,1,LOCATION_DECK,0,POS_FACEDOWN)
                        61: Debug.AddCard(4392470,1,1,LOCATION_DECK,0,POS_FACEDOWN)
                        62: Debug.AddCard(17238333,1,1,LOCATION_HAND,0,POS_FACEDOWN)
                        63: Debug.AddCard(17238333,1,1,LOCATION_HAND,0,POS_FACEDOWN)
                        64: local g1=Debug.AddCard(47017574,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
                        65: g1:CompleteProcedure()
                        66: local g1=Debug.AddCard(97403510,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
                        67: g1:CompleteProcedure()
                        68: Debug.AddCard(89189982,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
                        69: Debug.AddCard(41218256,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        70: local g1=Debug.AddCard(11522979,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
                        71: g1:CompleteProcedure()
                        72: local g1=Debug.AddCard(2407234,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
                        73: g1:CompleteProcedure()
                        74: local g1=Debug.AddCard(6165656,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
                        75: g1:CompleteProcedure()
                        76: Debug.AddCard(89631139,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
                        77: Debug.AddCard(00473469,1,1,LOCATION_SZONE,0,POS_FACEDOWN)
                        78: Debug.AddCard(57115864,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
                        79: Debug.AddCard(98139712,1,1,LOCATION_SZONE,4,POS_FACEUP)
                        80: Debug.AddCard(56433456,1,1,LOCATION_SZONE,5,POS_FACEUP)
                        81: Debug.ReloadFieldEnd()
072e496e9f 2023-04-27   82: --~ Debug.ShowHint("在这个回合取得胜利!")
072e496e9f 2023-04-27   83: Debug.ShowHint("从卡组中选择六张卡加入手卡!")
                        84: aux.BeginPuzzle()