Commit 7f5e7c77 authored by salix5's avatar salix5

fix

parent dc5c865f
...@@ -51,17 +51,17 @@ function c14001430.reptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -51,17 +51,17 @@ function c14001430.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return bit.band(r,REASON_EFFECT)~=0 and re and re:IsActiveType(TYPE_MONSTER) if chk==0 then return bit.band(r,REASON_EFFECT)~=0 and re and re:IsActiveType(TYPE_MONSTER)
and re:GetHandler():IsSetCard(0x71) and eg:IsExists(c14001430.repfilter,1,nil,tp) end and re:GetHandler():IsSetCard(0x71) and eg:IsExists(c14001430.repfilter,1,nil,tp) end
if Duel.SelectYesNo(tp,aux.Stringid(14001430,0)) then if Duel.SelectYesNo(tp,aux.Stringid(14001430,0)) then
local g=eg:Filter(c14001430.repfilter,nil,tp) local ct=eg:FilterCount(c14001430.repfilter,nil,tp)
local ct=g:GetCount()
if ct>1 then if ct>1 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND)
g=g:Select(tp,1,ct,nil) g=eg:FilterSelect(tp,c14001430.repfilter,1,ct,nil,tp)
else
g=eg:Filter(c14001430.repfilter,nil,tp)
end end
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
if g:GetCount()==ct then return true end return true
end else return false end
return false
end end
function c14001430.repval(e,c) function c14001430.repval(e,c)
return c14001430.repfilter(c,e:GetHandlerPlayer()) return c14001430.repfilter(c,e:GetHandlerPlayer())
......
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