Commit 65c76062 authored by VanillaSalt's avatar VanillaSalt

fix

parent 5296b63e
...@@ -13,7 +13,7 @@ function c11801343.initial_effect(c) ...@@ -13,7 +13,7 @@ function c11801343.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c11801343.thfilter(c,e,tp) function c11801343.thfilter(c,e,tp)
return c:IsFaceup() and c:IsRace(RACE_CYBERSE) return c:IsFaceup() and c:IsRace(RACE_CYBERSE) and c:IsAbleToHand()
and Duel.GetMZoneCount(tp,c)>0 and Duel.GetMZoneCount(tp,c)>0
and Duel.IsExistingMatchingCard(c11801343.spfilter,tp,LOCATION_DECK,0,1,nil,e,tp,c) and Duel.IsExistingMatchingCard(c11801343.spfilter,tp,LOCATION_DECK,0,1,nil,e,tp,c)
end end
......
...@@ -43,7 +43,7 @@ function c42461852.spcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -43,7 +43,7 @@ function c42461852.spcon(e,tp,eg,ep,ev,re,r,rp)
return ep==tp and ev>=2000 return ep==tp and ev>=2000
end end
function c42461852.spfilter(c,e,tp) function c42461852.spfilter(c,e,tp)
return c:IsFacedown() and c:IsType(TYPE_LINK) and Duel.GetLocationCountFromEx(tp,tp,c)>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsFacedown() and c:IsType(TYPE_LINK) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c42461852.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c42461852.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c42461852.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp) end if chk==0 then return Duel.IsExistingMatchingCard(c42461852.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp) end
...@@ -56,7 +56,7 @@ function c42461852.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -56,7 +56,7 @@ function c42461852.spop(e,tp,eg,ep,ev,re,r,rp)
local tc=g:RandomSelect(tp,1):GetFirst() local tc=g:RandomSelect(tp,1):GetFirst()
if tc then if tc then
Duel.ConfirmCards(PLAYER_ALL,tc) Duel.ConfirmCards(PLAYER_ALL,tc)
if tc:IsType(TYPE_LINK) and Duel.GetLocationCountFromEx(tp,tp,tc)>0 and tc:IsCanBeSpecialSummoned(e,0,tp,false,false) then if tc:IsType(TYPE_LINK) and Duel.GetLocationCountFromEx(tp,tp,nil,tc)>0 and tc:IsCanBeSpecialSummoned(e,0,tp,false,false) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end end
end end
......
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