Commit 3f5dd780 authored by Tachibana's avatar Tachibana

ybb

parent 4fee1f73
Pipeline #10189 passed with stages
in 23 minutes and 23 seconds
......@@ -53,7 +53,7 @@ end
function cm.xyztarget(c,tp)
return c:IsCanOverlay() and Duel.GetMZoneCount(tp,c)
end
function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
function cm.ptarget(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_XYZ,tp,false,false) and Duel.IsExistingTarget(cm.xyztarget,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,c,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL)
......@@ -63,7 +63,7 @@ end
function cm.poperation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) and tc:IsCanOverlay() and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_XYZ,tp,false,false) then
if c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) and tc:IsCanOverlay() and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_XYZ,tp,false,false) then
Duel.Overlay(c,tc)
Duel.SpecialSummon(c,SUMMON_TYPE_XYZ,tp,tp,false,false,POS_FACEUP)
c:CompleteProcedure()
......
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