Commit e0e9c772 authored by Tachibana's avatar Tachibana

watele

parent 2bd215b6
Pipeline #6655 passed with stages
in 39 minutes and 31 seconds
...@@ -49,7 +49,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -49,7 +49,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoGrave(fc,REASON_RULE) Duel.SendtoGrave(fc,REASON_RULE)
Duel.BreakEffect() Duel.BreakEffect()
end end
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
te:UseCountLimit(tp,1,true) te:UseCountLimit(tp,1,true)
local tep=tc:GetControler() local tep=tc:GetControler()
local cost=te:GetCost() local cost=te:GetCost()
......
...@@ -44,23 +44,23 @@ end ...@@ -44,23 +44,23 @@ end
function c33200070.activate(e,tp,eg,ep,ev,re,r,rp) function c33200070.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP) if Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP) and
end Duel.IsExistingMatchingCard(c33200070.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,tc)
if Duel.IsExistingMatchingCard(c33200070.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,tc) and aux.MustMaterialCheck(tc,tp,EFFECT_MUST_BE_XMATERIAL) and
and aux.MustMaterialCheck(tc,tp,EFFECT_MUST_BE_XMATERIAL) and Duel.GetLocationCountFromEx(tp,tp,tc,TYPE_XYZ)>0 and Duel.SelectYesNo(tp,aux.Stringid(33200070,0)) then
Duel.GetLocationCountFromEx(tp,tp,tc,TYPE_XYZ)>0 and Duel.SelectYesNo(tp,aux.Stringid(33200070,0)) then Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) local g=Duel.SelectMatchingCard(tp,c33200070.filter2,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,tc)
local g=Duel.SelectMatchingCard(tp,c33200070.filter2,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,tc) local sc=g:GetFirst()
local sc=g:GetFirst() if sc then
if sc then local mg=tc:GetOverlayGroup()
local mg=tc:GetOverlayGroup() if mg:GetCount()~=0 then
if mg:GetCount()~=0 then Duel.Overlay(sc,mg)
Duel.Overlay(sc,mg) end
sc:SetMaterial(Group.FromCards(tc))
Duel.Overlay(sc,Group.FromCards(tc))
Duel.SpecialSummon(sc,SUMMON_TYPE_XYZ,tp,tp,false,false,POS_FACEUP)
sc:CompleteProcedure()
end end
sc:SetMaterial(Group.FromCards(tc))
Duel.Overlay(sc,Group.FromCards(tc))
Duel.SpecialSummon(sc,SUMMON_TYPE_XYZ,tp,tp,false,false,POS_FACEUP)
sc:CompleteProcedure()
end end
end end
end end
......
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