游戏王残局简化版

Annotation For single/[WCS2006]04_cannon.lua
Login

Annotation For single/[WCS2006]04_cannon.lua

Lines of single/[WCS2006]04_cannon.lua from check-in e7f204fb3d that are changed by the sequence of edits moving toward check-in 05e78174eb:

                         1: --[[message
e7f204fb3d 2023-06-29    2: 卡数:4
e7f204fb3d 2023-06-29    3: 规则:大师3
                         4: ]]
                         5: Debug.SetAIName("[WCS2006]04_cannon")
                         6: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
                         7: 
                         8: Debug.SetPlayerInfo(0,2000,0,0)
                         9: Debug.SetPlayerInfo(1,2500,0,0)
                        10: 
                        11: Debug.AddCard(40640057,1,1,LOCATION_HAND,0,POS_FACEDOWN)
                        12: 
                        13: Debug.AddCard(11384280,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
                        14: Debug.AddCard(29654737,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        15: Debug.AddCard(86281779,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        16: 
                        17: Debug.AddCard(40703222,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
                        18: 
                        19: Debug.ReloadFieldEnd()
                        20: --~ Debug.ShowHint("1回合內取得勝利")
                        21: aux.BeginPuzzle()
e7f204fb3d 2023-06-29   22: local e999=Effect.GlobalEffect()
e7f204fb3d 2023-06-29   23: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e7f204fb3d 2023-06-29   24: e999:SetCode(EVENT_DAMAGE)
e7f204fb3d 2023-06-29   25: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
e7f204fb3d 2023-06-29   26: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
e7f204fb3d 2023-06-29   27: Debug.ShowHint("残局群181175613") end)
e7f204fb3d 2023-06-29   28: Duel.RegisterEffect(e999,0)