Commit b2d95bb7 authored by Hello23-Ygopro's avatar Hello23-Ygopro Committed by DailyShana

fix Pot of Desires (#754)

parent a0d87c7a
...@@ -14,7 +14,7 @@ function c35261759.initial_effect(c) ...@@ -14,7 +14,7 @@ function c35261759.initial_effect(c)
end end
function c35261759.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c35261759.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetDecktopGroup(tp,10) local g=Duel.GetDecktopGroup(tp,10)
if chk==0 then return g:FilterCount(Card.IsAbleToRemove,nil)==10 if chk==0 then return g:FilterCount(Card.IsAbleToRemoveAsCost,nil)==10
and Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)>=12 end and Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)>=12 end
Duel.DisableShuffleCheck() Duel.DisableShuffleCheck()
Duel.Remove(g,POS_FACEDOWN,REASON_COST) Duel.Remove(g,POS_FACEDOWN,REASON_COST)
......
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