Commit faa87fd0 authored by wind2009's avatar wind2009

Fix ナイトメア・スローン

parent 714de583
Pipeline #25615 passed with stages
in 1 minute and 12 seconds
...@@ -30,11 +30,11 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -30,11 +30,11 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD)
local sg=g:Select(tp,1,1,nil) local sg=g:Select(tp,1,1,nil)
local tc=sg:GetFirst() local tc=sg:GetFirst()
if tc:IsAbleToHand() and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then if not tc:IsAbleToHand() or Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
Duel.Destroy(tc,REASON_EFFECT) Duel.Destroy(tc,REASON_EFFECT)
else elseif tc:IsAbleToHand() then
Duel.SendtoHand(tc,nil,REASON_EFFECT) Duel.SendtoHand(tc,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tc) Duel.ConfirmCards(1-tp,tc)
end 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