游戏王残局简化版

Annotation For single/LV-044.lua
Login

Annotation For single/LV-044.lua

Lines of single/LV-044.lua from check-in a9bf41bc6a that are changed by the sequence of edits moving toward check-in f26b7be7fc:

                         1: --puzzle1
                         2: Debug.SetAIName("Level-044")
a9bf41bc6a 2023-07-29    3: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI)
                         4: Debug.SetPlayerInfo(0,100,0,0)
                         5: Debug.SetPlayerInfo(1,1700,0,0)
                         6: 
                         7: Debug.AddCard(60082869,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
                         8: Debug.AddCard(37011715,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
                         9: Debug.AddCard(41420027,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
                        10: 
                        11: Debug.AddCard(71413901,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        12: 
                        13: Debug.AddCard(51452091,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
                        14: 
                        15: local m01=Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        16: local s01=Debug.AddCard(1435851,1,1,LOCATION_SZONE,3,POS_FACEUP_ATTACK)
                        17: Debug.PreEquip(s01,m01)
                        18: 
                        19: Debug.AddCard(22046459,1,1,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        20: Debug.AddCard(64389297,1,1,LOCATION_GRAVE,1,POS_FACEUP_ATTACK)
                        21: Debug.AddCard(73891874,1,1,LOCATION_GRAVE,2,POS_FACEUP_ATTACK)
                        22: 
                        23: Debug.ReloadFieldEnd()
                        24: Debug.ShowHint("GAME START!")
                        25: aux.BeginPuzzle()
                        26: local e999=Effect.GlobalEffect()
                        27: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
                        28: e999:SetCode(EVENT_DAMAGE)
                        29: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
                        30: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
                        31: Debug.ShowHint("残局群181175613") end)
                        32: Duel.RegisterEffect(e999,0)