Commit fe4e761c authored by Tachibana's avatar Tachibana

watele

parent 2299854f
Pipeline #6733 failed with stages
in 28 minutes and 45 seconds
......@@ -180,6 +180,6 @@ function cm.efop4(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp)
end
function cm.retop(e,tp,eg,ep,ev,re,r,rp)
local lp=Duel.GetLP(tp)
local lp=Duel.GetLP(1-tp)
Duel.SetLP(1-tp,lp-2000)
end
\ No newline at end of file
......@@ -19,16 +19,14 @@ function c66915072.initial_effect(c)
Duel.SendtoGrave(g,REASON_COST)
end)
e1:SetTarget(function(e,tp,eg,ep,ev,re,r,rp,chk)
local ft=Duel.GetLocationCountFromEx(tp,tp,nil,c)
if chk==0 then return Duel.IsExistingMatchingCard(c66915072.sp,tp,LOCATION_EXTRA,0,1,nil,e,tp,ft) end
if chk==0 then return Duel.IsExistingMatchingCard(c66915072.sp,tp,LOCATION_EXTRA,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0)
end)
e1:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
local ft=Duel.GetLocationCountFromEx(tp,tp,nil,c)
if Duel.IsExistingMatchingCard(function(c)return c:IsCode(66915001) and c:IsFaceup()end,tp,LOCATION_SZONE,0,1,nil) and ft>1
if Duel.IsExistingMatchingCard(function(c)return c:IsCode(66915001) and c:IsFaceup()end,tp,LOCATION_SZONE,0,1,nil)
and Duel.SelectYesNo(tp,aux.Stringid(66915072,0)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,c66915072.sp,tp,LOCATION_EXTRA,0,2,2,nil,e,tp,ft)
local g=Duel.SelectMatchingCard(tp,c66915072.sp,tp,LOCATION_EXTRA,0,2,2,nil,e,tp)
if g:GetCount()==2 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end
......@@ -51,6 +49,6 @@ function c66915072.initial_effect(c)
end)
c:RegisterEffect(e1)
end
function c66915072.sp(c,e,tp,ft)
return c:IsCode(66915070) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and ft>0
function c66915072.sp(c,e,tp)
return c:IsCode(66915070) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
end
\ No newline at end of file
......@@ -310,7 +310,7 @@ function cm.SynMixCheckGoal(tp,sg,minc,ct,syncard,sg1,smat,gc,mgchk)
return false
end
end
if (g:FilterCount(Card.IsSynchroType,nil,TYPE_TUNER)==0 and g:FilterCount(Card.IsLocation,nil,LOCATION_SZONE)==0) or g:FilterCount(cm.ssfu,nil,sync)==0 then
if (g:FilterCount(Card.IsSynchroType,nil,TYPE_TUNER)==0 and g:FilterCount(Card.IsLocation,nil,LOCATION_SZONE)==0) or g:FilterCount(cm.ffsu,nil,sync)==0 then
return false
end
local le,lf,lloc,lmin,lmax=c:GetTunerLimit()
......
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