Commit a24424ec authored by Tachibana's avatar Tachibana

ybb

parent b7d235a9
No preview for this file type
...@@ -41,8 +41,11 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -41,8 +41,11 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x362)
end
function cm.condition2(e,tp,eg,ep,ev,re,r,rp) function cm.condition2(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp return rp==1-tp and Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_MZONE,0,1,nil)
end end
function cm.target2(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true 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