游戏王残局简化版

Annotation For 32.Enemy Controlled Heraldry.lua
Login

Annotation For 32.Enemy Controlled Heraldry.lua

Lines of 32.Enemy Controlled Heraldry.lua from check-in f8a1b1a6a8 that are changed by the sequence of edits moving toward check-in 46fa9991e7:

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