Commit 2a91154b authored by Huangnan's avatar Huangnan

fix

parent 2a2fd02d
......@@ -158,9 +158,9 @@ function cm.activate2(e,tp,eg,ep,ev,re,r,rp)
local e9=e7:Clone()
e9:SetCode(EFFECT_CANNOT_BE_LINK_MATERIAL)
tc:RegisterEffect(e9)
if Duel.SelectYesNo(tp,aux.Stringid(m,3)) then
if Duel.IsExistingMatchingCard(cm.effilter2,tp,0,LOCATION_MZONE+LOCATION_GRAVE,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(m,3)) then
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(m,4))
local zc=Duel.SelectMatchingCard(tp,cm.cfilter,tp,0,LOCATION_MZONE+LOCATION_GRAVE,1,1,nil):GetFirst()
local zc=Duel.SelectMatchingCard(tp,cm.effilter2,tp,0,LOCATION_MZONE+LOCATION_GRAVE,1,1,nil):GetFirst()
Duel.HintSelection(Group.FromCards(zc))
zc:RegisterFlagEffect(18700544,RESET_PHASE+PHASE_END,0,1)
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