游戏王残局简化版

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 a5cf779f2d that are changed by the sequence of edits moving toward check-in 6de962152f:

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