Commit 7323df07 authored by Tachibana's avatar Tachibana

rar

parent 8a96d58a
Pipeline #3563 passed with stages
in 32 minutes and 56 seconds
......@@ -23,7 +23,7 @@ function c65020053.filter(c)
return c:IsSetCard(0x5da1) and c:IsType(TYPE_MONSTER) and c:IsAttribute(ATTRIBUTE_DARK) and c:IsAbleToHand()
end
function c65020053.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c65020053.filter,tp,LOCATION_DECK,0,1,nil) and Duel.IsExistingMatchingCard(c65020053.refil,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
if chk==0 then return Duel.IsExistingMatchingCard(c65020053.filter,tp,LOCATION_DECK,0,1,nil) and Duel.IsExistingMatchingCard(c65020053.refil,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,e:GetHandler()) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end
function c65020053.refil(c)
......@@ -35,7 +35,7 @@ function c65020053.activate(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then
if Duel.SendtoHand(g,nil,REASON_EFFECT)~=0 then
Duel.ConfirmCards(1-tp,g)
local g2=Duel.SelectMatchingCard(tp,c65020053.refil,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
local g2=Duel.SelectMatchingCard(tp,c65020053.refil,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,e:GetHandler())
if g2:GetCount()>0 then
Duel.HintSelection(g2)
Duel.Remove(g2,POS_FACEDOWN,REASON_EFFECT)
......
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