Commit 4683bec7 authored by POLYMER's avatar POLYMER

fix

parent d7cd037b
......@@ -45,7 +45,8 @@ end
function c9911512.sprcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
return Duel.IsExistingMatchingCard(c9911512.costfilter1,tp,LOCATION_HAND,0,1,c)
return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c9911512.costfilter1,tp,LOCATION_HAND,0,1,c)
and Duel.IsExistingMatchingCard(c9911512.costfilter2,tp,0,LOCATION_HAND,1,nil)
end
function c9911512.sprop(e,tp,eg,ep,ev,re,r,rp,c)
......
......@@ -46,7 +46,8 @@ function c9911514.sprcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local g=Duel.GetDecktopGroup(1-tp,1)
return Duel.IsExistingMatchingCard(c9911514.costfilter,tp,LOCATION_DECK,0,1,nil) and g:GetFirst():IsAbleToGraveAsCost()
return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c9911514.costfilter,tp,LOCATION_DECK,0,1,nil) and g:GetFirst():IsAbleToGraveAsCost()
end
function c9911514.sprop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
......
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