Commit cd78c281 authored by Amiya's avatar Amiya

修复

parent 109a6e04
Pipeline #40518 passed with stages
in 1 minute and 30 seconds
...@@ -77,7 +77,21 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -77,7 +77,21 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=g:FilterSelect(tp,s.spfilter,1,1,nil,e,tp) local sg=g:FilterSelect(tp,s.spfilter,1,1,nil,e,tp)
Duel.SpecialSummon(sg,0,tp,1-tp,false,false,POS_FACEUP) local tc=sg:GetFirst()
if Duel.SpecialSummonStep(tc,0,tp,1-tp,false,false,POS_FACEUP)~=0 then
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_DISABLE_EFFECT)
e2:SetValue(RESET_TURN_SET)
e2:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e2)
end
Duel.SpecialSummonComplete()
end end
end end
end end
\ No newline at end of file
...@@ -97,7 +97,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -97,7 +97,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetValue(1000) e1:SetValue(1000)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1) tc:RegisterEffect(e1,true)
tc:CompleteProcedure() tc:CompleteProcedure()
end end
end end
\ No newline at end of file
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