Commit 4153f5cf authored by GuGu's avatar GuGu

Update c10915.lua

parent f391c6a6
Pipeline #39709 passed with stage
in 11 seconds
......@@ -15,9 +15,9 @@ function c10915.initial_effect(c)
return (c:IsSetCard(0x527) or c:IsSetCard(0x251e)) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c10915.tg1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c10915.tfilter1,tp,LOCATION_DECK,0,1,nil,e,tp)
if chk==0 then return Duel.IsExistingMatchingCard(c10915.tfilter1,tp,LOCATION_HAND+LOCATION_DECK,0,1,nil,e,tp)
and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND+LOCATION_DECK)
end
function c10915.dfilter(c)
return (c:IsType(TYPE_CONTINUOUS) or c:IsType(TYPE_FIELD)) and c:IsFaceup()
......@@ -25,7 +25,7 @@ function c10915.initial_effect(c)
function c10915.op1(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetMZoneCount(tp)<0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=Duel.SelectMatchingCard(tp,c10915.tfilter1,tp,LOCATION_DECK,0,1,1,nil,e,tp)
local sg=Duel.SelectMatchingCard(tp,c10915.tfilter1,tp,LOCATION_HAND+LOCATION_DECK,0,1,1,nil,e,tp)
if sg:GetCount()<1 then return end
if Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)>0 then
local lc=Duel.GetOperatedGroup():GetFirst()
......
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