Commit de440375 authored by mercury233's avatar mercury233 Committed by GitHub

fix レッカーパンダ

parent 39d76c0b
......@@ -62,13 +62,11 @@ function c28139785.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function c28139785.thop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c28139785.thfilter,tp,LOCATION_GRAVE,0,nil)
if #g==0 then return end
local sg=g:GetMinGroup(Card.GetLevel)
if sg:GetCount()>1 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
sg=sg:Select(tp,1,1,nil)
end
if sg:GetCount()>0 then
Duel.SendtoHand(sg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,sg)
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