游戏王残局简化版

Annotation For 07.Constellar vs Evilswarm.lua
Login

Annotation For 07.Constellar vs Evilswarm.lua

Lines of 07.Constellar vs Evilswarm.lua from check-in 6d07678e85 that are changed by the sequence of edits moving toward check-in 7dc0b9159d:

                         1: --[[message
                         2: 卡数:13
                         3: 规则:大师3
                         4: 星圣vs入魔
                         5: ]]
                         6: Debug.SetAIName("四妹")
                         7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
                         8: Debug.SetPlayerInfo(0,100,0,0)
                         9: Debug.SetPlayerInfo(1,3250,0,0)
                        10: Debug.AddCard(70908596,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        11: Debug.AddCard(78358521,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        12: Debug.AddCard(78364470,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        13: Debug.AddCard(57103969,0,0,LOCATION_HAND,0,POS_FACEDOWN)
6d07678e85 2023-06-29   14: Debug.AddCard(2563463,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        15: Debug.AddCard(2091298,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        16: Debug.AddCard(98012938,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        17: Debug.AddCard(33420078,0,0,LOCATION_GRAVE,0,POS_FACEUP)
                        18: Debug.AddCard(16906241,0,0,LOCATION_GRAVE,0,POS_FACEUP)
                        19: Debug.AddCard(41269771,0,0,LOCATION_GRAVE,0,POS_FACEUP)
                        20: Debug.AddCard(94634433,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
                        21: Debug.AddCard(359563,1,1,LOCATION_MZONE,1,POS_FACEUP_DEFENSE,true)
                        22: Debug.AddCard(77542832,1,1,LOCATION_MZONE,1,POS_FACEUP)
6d07678e85 2023-06-29   23: --~ Debug.AddCard(91279700,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK,true)
                        24: Debug.AddCard(77542832,1,1,LOCATION_MZONE,2,POS_FACEUP)
                        25: Debug.AddCard(37926346,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK,true)
                        26: Debug.AddCard(77542832,1,1,LOCATION_MZONE,3,POS_FACEUP)
6d07678e85 2023-06-29   27: --~ Debug.AddCard(9999961,1,1,LOCATION_MZONE,3,POS_FACEUP)
6d07678e85 2023-06-29   28: --~ Debug.AddCard(0,1,1,LOCATION_MZONE,3,POS_FACEUP)
                        29: Debug.AddCard(0,1,1,LOCATION_MZONE,3,POS_FACEUP)
                        30: Debug.ReloadFieldEnd()
                        31: aux.BeginPuzzle()
                        32: local str = {}
                        33: local fun = {}
                        34: 
                        35: local cache_1
                        36: 
                        37: fun["通关邀请"] = function()
                        38:   local effect_100
                        39:   effect_100 = Effect.GlobalEffect()
                        40:   effect_100:SetType(EFFECT_TYPE_FIELD
                        41:     + EFFECT_TYPE_CONTINUOUS)
                        42:   effect_100:SetCode(EVENT_DAMAGE)
                        43:   function cache_1()
                        44: 
                        45:     cache_1 = Duel.GetLP(1)
                        46: 
                        47:     if cache_1 <= 0 then
                        48:       cache_1 = true
                        49:     else
                        50:       cache_1 = false
                        51:       end
                        52: 
                        53:     return cache_1
                        54:     end
                        55:   effect_100:SetCondition(cache_1)
                        56:   function cache_1()
                        57:     Debug.ShowHint("残局群181175613")
                        58:     return
                        59:     end
                        60:   effect_100:SetOperation(cache_1)
                        61:   Duel.RegisterEffect(effect_100
                        62:     , 0)
                        63:   end
                        64: 
                        65: fun["通关邀请"]()
                        66: --~ aux.GetID()
                        67: --~ Debug.ShowHint(GetID())
                        68: --~ fun()
                        69: 
                        70: _G.fun()