Commit ae2f4fa9 authored by salix5's avatar salix5

Merge pull request #1117 from Lsty/patch-5

Update c96729612.lua
parents 16cd95a3 cb5177d6
...@@ -25,13 +25,13 @@ function c96729612.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -25,13 +25,13 @@ function c96729612.activate(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end local mg=Duel.GetMatchingGroup(c96729612.filter2,tp,LOCATION_GRAVE,0,nil)
local g=Duel.GetMatchingGroup(c96729612.filter2,tp,LOCATION_GRAVE,0,nil) if mg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(96729612,0)) then
if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(96729612,0)) then
Duel.BreakEffect() Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local sg=g:Select(tp,1,1,nil) local sg=mg:Select(tp,1,1,nil)
Duel.SendtoHand(sg,nil,REASON_EFFECT) Duel.SendtoHand(sg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,sg) Duel.ConfirmCards(1-tp,sg)
end end
end
end 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