--[[message
新手教学
]]
Debug.SetAIName("顽雨沉风")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,1000,0,0)
Debug.AddCard(53927679,0,0,LOCATION_HAND,0,POS_FACEDOWN)
local g02=Debug.AddCard(89631139,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local m1=Debug.AddCard(65741786,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.PreSummon(m1, SUMMON_TYPE_LINK, LOCATION_EXTRA)
local m2=Debug.AddCard(65741786,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.PreSummon(m2, SUMMON_TYPE_LINK, LOCATION_EXTRA)
Debug.AddCard(21887175,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
local m3 = Debug.AddCard(27548199,0,0,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
local s3 = Debug.AddCard(65741786,0,0,LOCATION_GRAVE,0,POS_FACEUP)
local e1=Effect.CreateEffect(m3)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE_START+PHASE_DRAW)
e1:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local te=c:GetActivateEffect()
c:CreateEffectRelation(te)
local tg=te:GetTarget()
local op=te:GetOperation()
if tg then tg(te,tp,eg,ep,ev,re,r,rp,1) end
if op then op(te,tp,eg,ep,ev,re,r,rp) end
c:ReleaseEffectRelation(te)
end)
Duel.RegisterEffect(e1,1)
local g12=Debug.AddCard(46986414,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local g11=Debug.AddCard(46986414,1,1,LOCATION_MZONE,1,POS_FACEUP_DEFENSE)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()
--~ Debug.PreSetTarget(m3, s3)