--[[message
卡数:13
规则:大师3
星圣vs入魔
]]
--puzzle1
Debug.SetAIName("四妹")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
Debug.SetPlayerInfo(0,100,0,0)
Debug.SetPlayerInfo(1,3250,0,0)
Debug.AddCard(70908596,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(78358521,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(78364470,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(57103969,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(2091298,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(98012938,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(33420078,0,0,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(16906241,0,0,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(41269771,0,0,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(94634433,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(359563,1,1,LOCATION_MZONE,1,POS_FACEUP_DEFENSE,true)
Debug.AddCard(77542832,1,1,LOCATION_MZONE,1,POS_FACEUP)
Debug.AddCard(91279700,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK,true)
Debug.AddCard(77542832,1,1,LOCATION_MZONE,2,POS_FACEUP)
Debug.AddCard(37926346,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK,true)
Debug.AddCard(77542832,1,1,LOCATION_MZONE,3,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)