Commit 5e3236a6 authored by salix5's avatar salix5

Merge pull request #1503 from DailyShana/patch-7

fix
parents 3ff95240 4f298ad2
......@@ -21,7 +21,7 @@ function c24082387.filter1(c,e,tp,cg,minc)
and cg:CheckWithSumEqual(Card.GetLevel,c:GetLevel(),minc,99)
end
function c24082387.cgfilter(c)
return c:GetLevel()>0 and c:IsAbleToGraveAsCost()
return c:GetLevel()>0 and c:IsAbleToGraveAsCost() and bit.band(c:GetOriginalType(),TYPE_MONSTER)~=0
end
function c24082387.target(e,tp,eg,ep,ev,re,r,rp,chk)
local cg=Duel.GetMatchingGroup(c24082387.cgfilter,tp,LOCATION_MZONE,0,nil)
......
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