游戏王残局简化版

Annotation For Dragonmaids vs Dragons_衍生-2.lua
Login

Annotation For Dragonmaids vs Dragons_衍生-2.lua

Lines of Dragonmaids vs Dragons_衍生-2.lua from check-in c1ceb023d7 that are changed by the sequence of edits moving toward check-in 56ae9cbeec:

                         1: --[[message
c1ceb023d7 2023-06-05    2: 卡数:25
                         3: 规则:大师2020
                         4: This Puzzle is made by 闪光的白日梦 and optimized by Eroldin.
                         5: ]]
                         6: 
                         7: Debug.SetAIName("闪光的白日梦")
                         8: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
                         9: Debug.SetPlayerInfo(0,1100,0,0)
c1ceb023d7 2023-06-05   10: Debug.SetPlayerInfo(1,12200,0,0)
                        11: 
                        12: Debug.AddCard(40110009,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        13: Debug.AddCard(78625592,1,1,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        14: Debug.AddCard(42055234,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        15: Debug.AddCard(49575521,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        16: Debug.AddCard(32600024,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        17: Debug.AddCard(15848542,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        18: Debug.AddCard(24799107,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
                        19: Debug.AddCard(41232647,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
                        20: Debug.AddCard(14625090,0,0,LOCATION_SZONE,0,POS_FACEUP_ATTACK)
                        21: Debug.AddCard(62256492,0,0,LOCATION_SZONE,1,POS_FACEUP_ATTACK)
                        22: Debug.AddCard(62256492,0,0,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
                        23: Debug.AddCard(77515704,0,0,LOCATION_SZONE,3,POS_FACEUP_ATTACK)
                        24: Debug.AddCard(56051086,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
c1ceb023d7 2023-06-05   25: Debug.AddCard(40398073,0,0,LOCATION_HAND,2,POS_FACEUP_ATTACK)
                        26: Debug.AddCard(76782778,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK)
                        27: Debug.AddCard(13171876,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK)
                        28: Debug.AddCard(80161395,0,0,LOCATION_HAND,5,POS_FACEUP_ATTACK)
                        29: Debug.AddCard(44095762,1,1,LOCATION_SZONE,0,POS_FACEDOWN_ATTACK)
                        30: Debug.AddCard(99267151,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
                        31: Debug.AddCard(86780027,1,1,LOCATION_SZONE,1,POS_FACEUP_ATTACK)
                        32: 
                        33: Debug.AddCard(50913601,1,1,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
                        34: Debug.AddCard(99267151,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        35: Debug.AddCard(99267151,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
                        36: Debug.AddCard(77910045,1,1,LOCATION_SZONE,4,POS_FACEUP_ATTACK)
                        37: Debug.AddCard(10669138,1,1,LOCATION_MZONE,6,POS_FACEUP_ATTACK)
                        38: Debug.ReloadFieldEnd()
                        39: aux.BeginPuzzle()
                        40: 
                        41: 
                        42: 
                        43: local str = {}
                        44: local fun = {}
                        45: 
                        46: local cache1
                        47: 
                        48: fun["通关邀请"]=function()
                        49:   local e100
                        50:   e100=Effect.GlobalEffect()
                        51:   e100:SetType(EFFECT_TYPE_FIELD
                        52:     + EFFECT_TYPE_CONTINUOUS)
                        53:   e100:SetCode(EVENT_DAMAGE)
                        54:   function cache1(e
                        55:     , tp
                        56:     , eg
                        57:     , ep
                        58:     , ev
                        59:     , re
                        60:     , r
                        61:     , rp)
                        62:     cache1=Duel.GetLP(1)
                        63:     return cache1<=0
                        64:     end
                        65:   e100:SetCondition(cache1)
                        66:   function cache1(e
                        67:     , tp
                        68:     , eg
                        69:     , ep
                        70:     , ev
                        71:     , re
                        72:     , r
                        73:     , rp)
                        74:     Debug.ShowHint("残局群181175613")
                        75:     return
                        76:     end
                        77:   e100:SetOperation(cache1)
                        78:   Duel.RegisterEffect(e100
                        79:     , 0)
                        80:   end
                        81: 
                        82: 
                        83: fun["通关邀请"]()
                        84: