游戏王残局简化版

Annotation For LV-014.lua
Login

Annotation For LV-014.lua

Lines of LV-014.lua from check-in a773487a51 that are changed by the sequence of edits moving toward check-in d662f5dea6:

                         1: --puzzle1
                         2: Debug.SetAIName("Level-014")
a773487a51 2023-04-22    3: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI)
a773487a51 2023-04-22    4: Debug.SetPlayerInfo(0,2250,0,0)
                         5: Debug.SetPlayerInfo(1,100,0,0)
                         6: 
a773487a51 2023-04-22    7: Debug.AddCard(51275027,0,0,LOCATION_MZONE,2,POS_FACEUP_DEFENCE)
                         8: Debug.AddCard(30778711,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
a773487a51 2023-04-22    9: 
                        10: Debug.AddCard(5318639,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        11: Debug.AddCard(22046459,0,0,LOCATION_HAND,0,POS_FACEDOWN)
a773487a51 2023-04-22   12: Debug.AddCard(97687912,0,0,LOCATION_HAND,0,POS_FACEDOWN)
a773487a51 2023-04-22   13: Debug.AddCard(20871001,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        14: Debug.AddCard(80161395,0,0,LOCATION_HAND,0,POS_FACEDOWN)
a773487a51 2023-04-22   15: Debug.AddCard(20871001,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        16: 
a773487a51 2023-04-22   17: Debug.AddCard(92377303,1,1,LOCATION_MZONE,2,POS_FACEUP_DEFENCE)
                        18: 
                        19: Debug.AddCard(84970821,1,1,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
                        20: 
                        21: Debug.ReloadFieldEnd()
a773487a51 2023-04-22   22: Debug.ShowHint("GAME START!")
                        23: aux.BeginPuzzle()
                        24: local e999=Effect.GlobalEffect()
                        25: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
                        26: e999:SetCode(EVENT_DAMAGE)
                        27: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
                        28: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
                        29: Debug.ShowHint("残局群181175613") end)
                        30: Duel.RegisterEffect(e999,0)