Commit a283210a authored by Satty's avatar Satty

fix

parent 90ed3454
Pipeline #35777 passed with stages
in 35 minutes and 20 seconds
......@@ -51,7 +51,7 @@ function s.spfilter(c,e,tp)
return c:IsSetCard(0x9341) and c:IsType(TYPE_MONSTER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetMZoneCount(tp,e:GetHandler())>0
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_DECK,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
end
......
--神选士 苍穹
--神选士 苍穹
local s,id=GetID()
function s.initial_effect(c)
c:SetSPSummonOnce(id)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,3))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(s.spcon)
e1:SetCondition(s.spcon)
e1:SetTarget(s.sptg)
e1:SetOperation(s.spop)
e1:SetValue(SUMMON_VALUE_SELF)
......@@ -161,6 +161,7 @@ function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if op==3 then typ2=4 end
end
e:SetLabel(typ2)
Duel.ShuffleHand(tp)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end
......
--神选士 阿波罗
--神选士 阿波罗
local s,id=GetID()
function s.initial_effect(c)
c:SetSPSummonOnce(id)
......@@ -165,6 +165,7 @@ function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if op==3 then typ2=4 end
end
e:SetLabel(typ2)
Duel.ShuffleHand(tp)
end
function s.thop(e,tp,eg,ep,ev,re,r,rp)
local typ=e:GetLabel()
......
......@@ -165,6 +165,7 @@ function s.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if op==3 then typ2=4 end
end
e:SetLabel(typ2)
Duel.ShuffleHand(tp)
end
function s.op(e,tp,eg,ep,ev,re,r,rp)
local typ=e:GetLabel()
......
......@@ -135,6 +135,7 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if op==3 then typ2=4 end
end
e:SetLabel(typ2)
Duel.ShuffleHand(tp)
end
function s.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetFlagEffect(id)>0 and ep==1-tp and Duel.IsChainDisablable(ev)
......
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