Commit 6a3c012b authored by TanakaKotoha's avatar TanakaKotoha

wadashimo

parent bf6c0b0a
Pipeline #645 failed with stages
in 22 minutes and 25 seconds
......@@ -56,7 +56,7 @@ function cm.initial_effect(c)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e4:SetCode(EVENT_LEAVE_FIELD)
e4:SetProperty(EFFECT_FLAG_DELAY)
e4:SetCountLimit(1,12004024+100)
e4:SetCountLimit(1)
e4:SetCondition(c12004024.pencon)
e4:SetTarget(c12004024.pentg)
e4:SetOperation(c12004024.penop)
......@@ -188,5 +188,5 @@ end
function c12004024.penop(e,tp,eg,ep,ev,re,r,rp)
if not Duel.CheckLocation(tp,LOCATION_PZONE,0) and not Duel.CheckLocation(tp,LOCATION_PZONE,1) then return end
local c=e:GetHandler()
Duel.MoveToField(c,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
Duel.MoveToField(c,tp,tp,LOCATION_PZONE,POS_FACEUP,true)
end
\ No newline at end of file
......@@ -43,7 +43,7 @@ function c12009014.recon(e,tp,eg,ep,ev,re,r,rp)
end
function c12009014.reop(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end
Duel.MoveToField(e:GetHandler(),tp,1-tp,LOCATION_SZONE,POS_FACEUP,true)
Duel.MoveToField(e:GetHandler(),tp,1-tp,LOCATION_PZONE,POS_FACEUP,true)
end
function c12009014.spcon(e,tp,eg,ep,ev,re,r,rp)
local tp=e:GetHandler():GetControler()
......
......@@ -47,13 +47,13 @@ function c12010004.spfilter(c,e,tp)
end
function c12010004.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.GetLocationCountFromEx(tp,tp,nil,TYPE_XYZ)>0
and Duel.IsExistingTarget(c12010004.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp) end
and Duel.IsExistingMatchingCard(c12010004.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
end
function c12010004.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if Duel.GetLocationCountFromEx(tp,tp,nil,TYPE_XYZ)<=0 then return false end
if not Duel.IsExistingTarget(c12010004.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp) then return false end
if not Duel.IsExistingMatchingCard(c12010004.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp) then return false end
local g=Duel.SelectMatchingCard(tp,c12010004.spfilter,tp,LOCATION_EXTRA,0,1,1,nil,e,tp)
local tc=g:GetFirst()
if tc and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
......
......@@ -44,7 +44,7 @@ function c12010005.operation(e,tp,eg,ep,ev,re,r,rp)
if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
Duel.MoveToField(tc,tp,tp,LOCATION_PZONE,POS_FACEUP,true)
end
end
end
......
......@@ -82,7 +82,7 @@ function c12011001.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local g=Duel.SelectMatchingCard(tp,c12011001.filter1,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
Duel.MoveToField(g:GetFirst(),tp,tp,LOCATION_SZONE,POS_FACEUP,true)
Duel.MoveToField(g:GetFirst(),tp,tp,LOCATION_PZONE,POS_FACEUP,true)
end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local g=Duel.SelectMatchingCard(tp,c12011001.filter1,tp,LOCATION_DECK,0,1,1,nil)
......@@ -135,4 +135,4 @@ function c12011001.adop1(e,tp,eg,ep,ev,re,r,rp)
e2:SetValue(atk)
tc:RegisterEffect(e2)
end
end
end
\ No newline at end of file
......@@ -74,4 +74,4 @@ function cm.thop1(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then
Duel.MoveToField(g:GetFirst(),tp,tp,LOCATION_PZONE,POS_FACEUP,true)
end
end
end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment