游戏王残局简化版

Annotation For single/LV-017.lua
Login

Annotation For single/LV-017.lua

Lines of single/LV-017.lua from check-in 64b764d6e7 that are changed by the sequence of edits moving toward check-in 01f4d02028:

                         1: --puzzle1
                         2: Debug.SetAIName("Level-017")
                         3: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
                         4: Debug.SetPlayerInfo(0,8000,0,0)
                         5: Debug.SetPlayerInfo(1,1000,0,0)
                         6: 
                         7: Debug.AddCard(63519819,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                         8: 
                         9: Debug.AddCard(34853266,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        10: Debug.AddCard(14087893,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        11: 
                        12: Debug.AddCard(89631139,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
                        13: Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        14: Debug.AddCard(89631139,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
                        15: 
                        16: Debug.ReloadFieldEnd()
64b764d6e7 2023-07-30   17: Debug.ShowHint("GAME START!")
                        18: aux.BeginPuzzle()
64b764d6e7 2023-07-30   19: local e999=Effect.GlobalEffect()
64b764d6e7 2023-07-30   20: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
64b764d6e7 2023-07-30   21: e999:SetCode(EVENT_DAMAGE)
64b764d6e7 2023-07-30   22: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
64b764d6e7 2023-07-30   23: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
64b764d6e7 2023-07-30   24: Debug.ShowHint("残局群181175613") end)
64b764d6e7 2023-07-30   25: Duel.RegisterEffect(e999,0)