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

fix Enchanting Fitting Room (#521)

parent b6d52022
...@@ -19,6 +19,7 @@ function c30531525.filter(c,e,tp) ...@@ -19,6 +19,7 @@ function c30531525.filter(c,e,tp)
end end
function c30531525.target(e,tp,eg,ep,ev,re,r,rp,chk) function c30531525.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)>3
and Duel.IsExistingMatchingCard(c30531525.filter,tp,LOCATION_DECK,0,1,nil,e,tp) end and Duel.IsExistingMatchingCard(c30531525.filter,tp,LOCATION_DECK,0,1,nil,e,tp) end
end end
function c30531525.activate(e,tp,eg,ep,ev,re,r,rp) function c30531525.activate(e,tp,eg,ep,ev,re,r,rp)
......
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