Commit 963b4ae5 authored by wind2009's avatar wind2009

Fix Minimalian

parent c8e9fb46
Pipeline #32508 passed with stages
in 1 minute and 48 seconds
...@@ -50,7 +50,7 @@ function s.spcost2(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -50,7 +50,7 @@ function s.spcost2(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function s.costfilter2(c,e,tp) function s.costfilter2(c,e,tp)
return c:IsFaceup() and c:GetOriginalLevel()>0 and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_DECK,0,1,nil,c,e,tp) return c:IsFaceup() and c:GetOriginalLevel()>0 and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_DECK,0,1,nil,c,e,tp)
and Duel.GetMZoneCount(tp,c)>0 and Duel.GetMZoneCount(tp,c)>0 and c:IsAbleToRemoveAsCost()
end end
function s.spfilter(c,tc,e,tp) function s.spfilter(c,tc,e,tp)
return (c:GetOriginalLevel()==tc:GetOriginalLevel()-1 return (c:GetOriginalLevel()==tc:GetOriginalLevel()-1
......
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