Commit 4dc22aa7 authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12038015.lua

parent fe9059b9
......@@ -5,7 +5,7 @@ local cm=_G["c"..m]
function cm.initial_effect(c)
c:EnableReviveLimit()
aux.AddXyzProcedure(c,nil,9,3,nil,aux.Stringid(m,0))
aux.AddXyzProcedure(c,nil,9,3,cm.ovfilter,aux.Stringid(m,0))
--
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -44,6 +44,9 @@ function cm.cost1(e,c,tp,st)
if bit.band(st,SUMMON_TYPE_XYZ)~=SUMMON_TYPE_XYZ then return true end
return Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_ONFIELD,0,1,nil,12038000)
end
function cm.ovfilter(c)
return c:IsFaceup() and c:IsType(TYPE_XYZ) and c:GetOverlayCount()==0
end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end
Duel.SetTargetPlayer(tp)
......
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