Commit 2fcc4775 authored by TanakaKotoha's avatar TanakaKotoha

Mercury233

parent 35ba9e4c
......@@ -56,10 +56,10 @@ function cm.desrepop(e,tp,eg,ep,ev,re,r,rp)
Duel.Destroy(tc,REASON_EFFECT+REASON_REPLACE)
end
function cm.atkfilter1(c,tp)
return c:IsSetCard(0xfc) and Duel.IsExistingTarget(cm.atkfilter2,tp,LOCATION_MZONE,0,1,c)
return c:IsType(TYPE_MONSTER) and Duel.IsExistingTarget(cm.atkfilter2,tp,LOCATION_MZONE,0,1,c)
end
function cm.atkfilter2(c)
return c:IsFaceup() and c:IsSetCard(0xfc)
return c:IsFaceup() and c:IsType(TYPE_MONSTER) and not c:IsHasEffect(EFFECT_DIRECT_ATTACK)
end
function cm.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,cm.atkfilter1,1,nil,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