游戏王残局简化版

Annotation For X-LV-07.lua
Login

Annotation For X-LV-07.lua

Lines of X-LV-07.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-10
                         3: 卡数:3
                         4: 规则:新大师
                         5: ]]
                         6: --By OURYGO-YGO EZ manager
                         7: Debug.SetAIName("顽雨沉风")
                         8: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
                         9: Debug.SetPlayerInfo(0,8000,0,0)
                        10: Debug.SetPlayerInfo(1,1600,0,0)
                        11: 
                        12: Debug.AddCard(81777047,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        13: Debug.AddCard(81777047,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        14: local g02=Debug.AddCard(62651957,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        15: local g12=Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        16: local m02=Debug.AddCard(23171610,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
                        17: Debug.ReloadFieldEnd()
                        18: aux.BeginPuzzle()
                        19: 
                        20: Debug.ShowHint("尝试一下效果攻击力的固定")
                        21: 
                        22: local e999=Effect.GlobalEffect()
                        23: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
                        24: e999:SetCode(EVENT_DAMAGE)
                        25: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
                        26: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
                        27: Debug.ShowHint("残局群181175613") end)
                        28: Duel.RegisterEffect(e999,0)