--[[message
卡数:6
规则:新大师
]]
--By OURYGO-YGO EZ manager
Debug.SetAIName("顽雨沉风")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,2500,0,0)
local g01=Debug.AddCard(23635815,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
local g02=Debug.AddCard(38955728,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local g12=Debug.AddCard(59380081,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local g11=Debug.AddCard(25795273,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
local m02=Debug.AddCard(83102080,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
local c0=Debug.AddCard(33550694,0,0,LOCATION_SZONE,5,POS_FACEUP)
Debug.AddCard(10817524,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(41517789,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.ReloadFieldEnd()
aux.BeginPuzzle()
local e999=Effect.GlobalEffect()
e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e999:SetCode(EVENT_DAMAGE)
e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
Debug.ShowHint("残局群181175613") end)
Duel.RegisterEffect(e999,0)