Commit a2ee0cb8 authored by nekrozar's avatar nekrozar Committed by DailyShana

fix Flash of the Forbidden Spell (#832)

parent 9efd5a6e
......@@ -10,8 +10,11 @@ function c39956951.initial_effect(c)
e1:SetOperation(c39956951.activate)
c:RegisterEffect(e1)
end
function c39956951.cfilter(c)
return c:GetSequence()<5
end
function c39956951.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,0,LOCATION_MZONE)>=5
return Duel.GetMatchingGroupCount(c39956951.cfilter,tp,0,LOCATION_MZONE,nil)>=5
end
function c39956951.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(aux.TRUE,tp,0,LOCATION_MZONE,1,nil) 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