Commit 9b322165 authored by Tachibana's avatar Tachibana

ybb

parent bbf8fc28
...@@ -72,7 +72,7 @@ function cm.desfilter(c) ...@@ -72,7 +72,7 @@ function cm.desfilter(c)
end end
---- ----
function cm.imfilter(c,e,tp) function cm.imfilter(c,e,tp)
return c:IsSetCard(0xa82) and c:IsAbleToHand() and c:IsFaceup() return c:IsSetCard(0xa82) and c:IsAbleToHand() and c:IsFaceup() and c:IsType(TYPE_MONSTER)
end end
function cm.imtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.imtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.imfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil,e,tp) end if chk==0 then return Duel.IsExistingMatchingCard(cm.imfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil,e,tp) 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