Commit 3f5dd780 authored by Tachibana's avatar Tachibana

ybb

parent 4fee1f73
......@@ -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)
......
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