游戏王残局简化版

Annotation For sample8.lua
Login

Annotation For sample8.lua

Lines of sample8.lua from check-in 3dff221746 that are changed by the sequence of edits moving toward check-in f8a1b1a6a8:

                         1: --[[message
3dff221746 2023-04-17    2: 更新:2023-04-16
                         3: 卡数:6
                         4: 规则:大师2020
                         5: 综合残局1
                         6: ]]
                         7: Debug.SetAIName("sample8")
                         8: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
                         9: Debug.SetPlayerInfo(0,100,0,0)
                        10: Debug.SetPlayerInfo(1,11500,0,0)
                        11: 
                        12: Debug.AddCard(15341821,0,0,LOCATION_MZONE,2,POS_FACEUP_DEFENSE)
                        13: Debug.AddCard(58932615,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
                        14: Debug.AddCard(37955049,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
                        15: 
                        16: Debug.AddCard(87979586,0,0,LOCATION_REMOVED,0,POS_FACEUP_ATTACK)
                        17: 
                        18: Debug.AddCard(28637168,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        19: Debug.AddCard(99748883,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        20: 
                        21: Debug.AddCard(97204936,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        22: Debug.AddCard(95992081,0,0,LOCATION_EXTRA,1,POS_FACEDOWN)
                        23: Debug.AddCard(26563200,0,0,LOCATION_EXTRA,2,POS_FACEDOWN)
                        24: 
                        25: Debug.AddCard(6740720,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        26: --~ Debug.AddCard(6740720,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
                        27: Debug.AddCard(24311372,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
                        28: 
                        29: Debug.ReloadFieldEnd()
                        30: --~ Debug.ShowHint("GAME START!")
                        31: aux.BeginPuzzle()
                        32: local e999=Effect.GlobalEffect()
                        33: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
                        34: e999:SetCode(EVENT_DAMAGE)
                        35: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
                        36: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
                        37: Debug.ShowHint("残局群181175613") end)
                        38: Duel.RegisterEffect(e999,0)