游戏王残局简化版

Annotation For [WCS2006]13_hero.lua
Login

Annotation For [WCS2006]13_hero.lua

Lines of [WCS2006]13_hero.lua from check-in f8a1b1a6a8 that are changed by the sequence of edits moving toward check-in 46fa9991e7:

                         1: --[[message
f8a1b1a6a8 2023-04-17    2: 
                         3: 卡数:7
                         4: 规则:大师3
                         5: ]]
                         6: Debug.SetAIName("[WCS2006]13_hero")
                         7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
                         8: 
                         9: Debug.SetPlayerInfo(0,1400,0,0)
                        10: Debug.SetPlayerInfo(1,4700,0,0)
                        11: 
                        12: Debug.AddCard(24094653,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        13: 
                        14: Debug.AddCard(79109599,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        15: Debug.AddCard(45906428,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        16: Debug.AddCard(21844576,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        17: Debug.AddCard(24094653,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        18: 
                        19: Debug.AddCard(58932615,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        20: Debug.AddCard(20721928,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
                        21: Debug.AddCard(23995346,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        22: 
                        23: Debug.AddCard(63035430,0,0,LOCATION_SZONE,5,POS_FACEUP)
                        24: 
                        25: Debug.AddCard(25366484,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        26: Debug.AddCard(35809262,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        27: 
                        28: Debug.ReloadFieldEnd()
                        29: --~ Debug.ShowHint("1回合內取得勝利")
                        30: aux.BeginPuzzle()
                        31: local e999=Effect.GlobalEffect()
                        32: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
                        33: e999:SetCode(EVENT_DAMAGE)
                        34: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
                        35: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
                        36: Debug.ShowHint("残局群181175613") end)
                        37: Duel.RegisterEffect(e999,0)