Commit 0f9858a9 authored by Amiya's avatar Amiya

修复

parent fd49e0b7
Pipeline #42102 failed with stages
in 44 seconds
...@@ -58,6 +58,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,6 +58,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToChain() and tc:IsFaceup() then if tc:IsRelateToChain() and tc:IsFaceup() then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,tc) local g=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,tc)
if not g or g:GetCount()==0 then return end
local fc=g:GetFirst() local fc=g:GetFirst()
if tc and Duel.SpecialSummonStep(fc,0,tp,tp,false,false,POS_FACEUP)~=0 then if tc and Duel.SpecialSummonStep(fc,0,tp,tp,false,false,POS_FACEUP)~=0 then
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
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