游戏王残局简化版

Annotation For single/sample9.lua
Login

Annotation For single/sample9.lua

Lines of single/sample9.lua from check-in e2c3bec93f that are changed by the sequence of edits moving toward check-in 392062af7f:

                         1: --[[message
                         2: 综合残局2
                         3: ]]
e2c3bec93f 2023-07-09    4: 
e2c3bec93f 2023-07-09    5: 
                         6: --~ 必须位于残局文件顶部
                         7: --~ 加载残局函数库
                         8: Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
                         9: Debug.SetAIName("sample9")
                        10: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,5)
                        11: Debug.SetPlayerInfo(0,100,0,0)
                        12: Debug.SetPlayerInfo(1,4300,0,0)
                        13: 
                        14: Debug.AddCard(00027551,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
                        15: 
                        16: Debug.AddCard(67441435,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        17: Debug.AddCard(50720316,0,0,LOCATION_GRAVE,1,POS_FACEUP_ATTACK)
                        18: 
                        19: Debug.AddCard(01845204,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        20: 
                        21: Debug.AddCard(63060238,0,0,LOCATION_DECK,1,POS_FACEUP_ATTACK)
                        22: Debug.AddCard(15839054,0,0,LOCATION_DECK,2,POS_FACEUP_ATTACK)
                        23: Debug.AddCard(24094653,0,0,LOCATION_DECK,3,POS_FACEUP_ATTACK)
                        24: Debug.AddCard(45906428,0,0,LOCATION_DECK,4,POS_FACEUP_ATTACK)
                        25: 
                        26: Debug.AddCard(16304628,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        27: Debug.AddCard(45815891,0,0,LOCATION_EXTRA,1,POS_FACEDOWN)
                        28: Debug.AddCard(34086406,0,0,LOCATION_EXTRA,2,POS_FACEDOWN)
                        29: Debug.AddCard(17412721,0,0,LOCATION_EXTRA,3,POS_FACEDOWN)
                        30: 
                        31: Debug.AddCard(74677422,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        32: Debug.AddCard(89631139,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
                        33: 
                        34: --~ Debug.AddCard(70342110,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
                        35: 
                        36: Debug.ReloadFieldEnd()
e2c3bec93f 2023-07-09   37: --~ Debug.ShowHint("GAME START!")
                        38: aux.BeginPuzzle()
                        39: fun["开局说明"]()
e2c3bec93f 2023-07-09   40: local e999=Effect.GlobalEffect()
e2c3bec93f 2023-07-09   41: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2c3bec93f 2023-07-09   42: e999:SetCode(EVENT_DAMAGE)
e2c3bec93f 2023-07-09   43: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
e2c3bec93f 2023-07-09   44: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
e2c3bec93f 2023-07-09   45: Debug.ShowHint("残局群181175613") end)
e2c3bec93f 2023-07-09   46: Duel.RegisterEffect(e999,0)