游戏王残局简化版

Annotation For single/X-LV-27.lua
Login

Annotation For single/X-LV-27.lua

Lines of single/X-LV-27.lua from check-in e7f204fb3d that are changed by the sequence of edits moving toward check-in fee70f269d:

                         1: --[[message
e7f204fb3d 2023-06-29    2: 卡数:10
e7f204fb3d 2023-06-29    3: 规则:新大师
                         4: ]]
                         5: --By OURYGO-YGO EZ manager
                         6: Debug.SetAIName("顽雨沉风")
                         7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
                         8: Debug.SetPlayerInfo(0,51100,0,0)
                         9: Debug.SetPlayerInfo(1,34600,0,0)
                        10: Debug.AddCard(36736723,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        11: Debug.AddCard(63977008,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        12: Debug.AddCard(53855409,0,0,LOCATION_HAND,0,POS_FACEDOWN)
                        13: local g02=Debug.AddCard(13582837,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        14: local g12=Debug.AddCard(27134689,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        15: local m01=Debug.AddCard(26864586,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
                        16: --~ Debug.AddCard(61844784,0,0,LOCATION_GRAVE,0,POS_FACEUP)
                        17: local m02=Debug.AddCard(403847,0,0,LOCATION_SZONE,2,POS_FACEUP)
                        18: local m03=Debug.AddCard(8529136,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
                        19: local c1=Debug.AddCard(67616300,0,0,LOCATION_SZONE,5,POS_FACEUP)
                        20: Debug.PreAddCounter(c1,0x2a,1) local e1=Effect.CreateEffect(c1) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EFFECT_DESTROY_REPLACE) e1:SetTarget(function(e,tp,eg,ep,ev,re,r,rp,chk) 	if chk==0 then return bit.band(r,REASON_RULE)==0 		and e:GetHandler():GetCounter(0x2a)>0 end 	return true end) e1:SetOperation(function (e,tp,eg,ep,ev,re,r,rp,chk) 	e:GetHandler():RemoveCounter(tp,0x2a,1,REASON_EFFECT) end) e1:SetReset(RESET_EVENT+0x1fe0000) c1:RegisterEffect(e1)
                        21: Debug.AddCard(60800381,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(53855409,0,0,LOCATION_GRAVE,0,POS_FACEUP)Debug.ReloadFieldEnd()
                        22: Debug.ShowHint("魔法防护器的效果已适用!")
                        23: aux.BeginPuzzle()
e7f204fb3d 2023-06-29   24: local e999=Effect.GlobalEffect()
e7f204fb3d 2023-06-29   25: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e7f204fb3d 2023-06-29   26: e999:SetCode(EVENT_DAMAGE)
e7f204fb3d 2023-06-29   27: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
e7f204fb3d 2023-06-29   28: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
e7f204fb3d 2023-06-29   29: Debug.ShowHint("残局群181175613") end)
e7f204fb3d 2023-06-29   30: Duel.RegisterEffect(e999,0)