Commit 421392bf authored by wyykak's avatar wyykak

fix 26154

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 83b36a20
Pipeline #13055 passed with stage
in 1 minute and 15 seconds
......@@ -56,13 +56,13 @@ function c26145.activate(e,tp,eg,ep,ev,re,r,rp)
local sg=Group.CreateGroup()
if opt==1 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
sg=Duel.SelectMatchingCard(tp,c26145.filter,tp,LOCATION_HAND,0,1,1,nil,e,tp)
sg=Duel.SelectMatchingCard(tp,c26145.hfilter,tp,LOCATION_HAND,0,1,1,nil,e,tp)
if Duel.SpecialSummon(sg,0,tp,tp,true,true,POS_FACEUP)==0 then return end
elseif opt==2 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,c26145.cfilter,tp,LOCATION_ONFIELD,0,1,1,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
sg=Duel.SelectMatchingCard(tp,c26145.filter,tp,LOCATION_EXTRA,0,1,1,nil,e,tp)
sg=Duel.SelectMatchingCard(tp,c26145.exfilter,tp,LOCATION_EXTRA,0,1,1,nil,e,tp)
Duel.SendtoGrave(g,REASON_EFFECT)
if Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)==0 then return end
else return end
......
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