Commit c68f85ab authored by wind2009's avatar wind2009

Fix

parent 38d8a5be
......@@ -37,7 +37,7 @@ function s.initial_effect(c)
local e4=e3:Clone()
e4:SetCondition(s.descon)
e4:SetCode(EVENT_TO_GRAVE)
c:RegisterEffect(e2)
c:RegisterEffect(e4)
end
function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return not e:GetHandler():IsPublic() end
......
......@@ -15,7 +15,7 @@ function s.initial_effect(c)
c:RegisterEffect(e1)
end
function s.costfilter(c,e,tp)
return c:IsType(TYPE_MONSTER) and c:IsAbleToGraveAsCost() and Duel.GetMZoneCount(tp,c)>0 and c:IsFaceupEx()
return c:IsType(TYPE_MONSTER) and c:IsRace(RACE_FAIRY) and c:IsAbleToGraveAsCost() and Duel.GetMZoneCount(tp,c)>0 and c:IsFaceupEx()
and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_REMOVED,0,1,c,e,tp)
end
function s.spfilter(c,e,tp)
......
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