--[[message
更新：2023-04-10
卡数：11
规则：新大师
]]
Debug.SetAIName("顽雨沉风")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
Debug.SetPlayerInfo(0,1500,0,0)
Debug.SetPlayerInfo(1,13450,0,0)

Debug.AddCard(54620698,0,0,LOCATION_HAND,0,POS_FACEDOWN)
local g00=Debug.AddCard(8692301,0,0,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
local g13=Debug.AddCard(9012916,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
local m02=Debug.AddCard(55824220,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(01264319,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(81846636,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(49597193,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(39512984,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(47611119,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(47611119,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(24484270,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(94689206,0,0,LOCATION_GRAVE,0,POS_FACEUP)Debug.AddCard(99645428,0,0,LOCATION_GRAVE,0,POS_FACEUP)Debug.AddCard(79531196,0,0,LOCATION_GRAVE,0,POS_FACEUP)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)
