Commit eb850783 authored by GuGu's avatar GuGu

Update c99999017.lua

parent 402d1755
Pipeline #29070 passed with stage
in 12 seconds
...@@ -45,14 +45,14 @@ function c99999017.sccon(e,tp,eg,ep,ev,re,r,rp) ...@@ -45,14 +45,14 @@ function c99999017.sccon(e,tp,eg,ep,ev,re,r,rp)
end end
function c99999017.sctarg(e,tp,eg,ep,ev,re,r,rp,chk) function c99999017.sctarg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
if chk==0 then return c:GetFlagEffect(50091196)==0 if chk==0 then return c:GetFlagEffect(99999017)==0
and Duel.IsExistingMatchingCard(Card.IsSynchroSummonable,tp,LOCATION_EXTRA,0,1,nil,c) end and Duel.IsExistingMatchingCard(Card.IsSynchroSummonable,tp,LOCATION_EXTRA,0,1,nil,c) end
c:RegisterFlagEffect(50091196,RESET_CHAIN,0,1) c:RegisterFlagEffect(99999017,RESET_CHAIN,0,1)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
end end
function c99999017.scop(e,tp,eg,ep,ev,re,r,rp) function c99999017.scop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:GetControler()~=tp or not c:IsRelateToEffect(e) then return end if c:GetControler()~=tp or not c:IsRelateToEffect(e) or c:IsFacedown() then return end
local g=Duel.GetMatchingGroup(Card.IsSynchroSummonable,tp,LOCATION_EXTRA,0,nil,c) local g=Duel.GetMatchingGroup(Card.IsSynchroSummonable,tp,LOCATION_EXTRA,0,nil,c)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
......
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