Commit c86de376 authored by POLYMER's avatar POLYMER

fix

parent f3833e45
...@@ -65,15 +65,15 @@ function c9910354.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,15 +65,15 @@ function c9910354.activate(e,tp,eg,ep,ev,re,r,rp)
end end
end end
end end
function c9910354.spcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnCount()~=e:GetLabel()
end
function c9910354.spfilter(c,e,tp) function c9910354.spfilter(c,e,tp)
return c:IsType(TYPE_LINK) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsType(TYPE_LINK) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c9910354.spcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnCount()~=e:GetLabel() and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c9910354.spfilter,tp,LOCATION_GRAVE,0,1,nil,e,tp)
end
function c9910354.spop(e,tp,eg,ep,ev,re,r,rp) function c9910354.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,9910354) Duel.Hint(HINT_CARD,0,9910354)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c9910354.spfilter),tp,LOCATION_GRAVE,0,1,1,nil,e,tp) local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c9910354.spfilter),tp,LOCATION_GRAVE,0,1,1,nil,e,tp)
if g:GetCount()>0 then if g:GetCount()>0 then
......
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