Commit 76feb0fd authored by CubeRuler's avatar CubeRuler

fix

parent 831b515c
......@@ -44,7 +44,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
function cm.eftg(e,c)
return c:IsType(TYPE_MONSTER)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0xcfbe)
end
function cm.cfilter(c)
return c:IsFacedown()
......
......@@ -73,7 +73,7 @@ function cm.sumlimit(e,c,sump,sumtype,sumpos,targetp)
return bit.band(sumpos,POS_FACEDOWN)>0
end
function cm.tgop(e,tp,eg,ep,ev,re,r,rp)
if not ev or ep==1-tp then return end
if ( not ev ) or ep==1-tp then return end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_CHAIN_END)
......
......@@ -61,7 +61,9 @@ function cm.setop(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.damop(e,tp,eg,ep,ev,re,r,rp)
if rp and rp==1-tp then
Duel.Draw(tp,1,REASON_EFFECT)
end
end
function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp and c:IsPreviousPosition(POS_DEFENSE)
......
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