Commit 522aa5ef authored by mercury233's avatar mercury233 Committed by GitHub

fix アマゾネスの秘湯

parent 6930aa91
......@@ -24,7 +24,7 @@ function c62480168.filter(c,tp,pcon)
end
function c62480168.activate(e,tp,eg,ep,ev,re,r,rp)
local pcon=Duel.CheckLocation(tp,LOCATION_PZONE,0) or Duel.CheckLocation(tp,LOCATION_PZONE,1)
local g=Duel.GetMatchingGroup(c62480168.filter,tp,LOCATION_DECK,0,nil,tp)
local g=Duel.GetMatchingGroup(c62480168.filter,tp,LOCATION_DECK,0,nil,tp,pcon)
if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(62480168,0)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD)
local sc=g:Select(tp,1,1,nil):GetFirst()
......@@ -63,4 +63,4 @@ function c62480168.rctg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function c62480168.rcop(e,tp,eg,ep,ev,re,r,rp)
Duel.Recover(tp,ev,REASON_EFFECT)
end
\ No newline at end of file
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