Commit 32c9a855 authored by Tachibana's avatar Tachibana

eme

parent 334b43e5
Pipeline #7148 passed with stages
in 29 minutes and 1 second
......@@ -60,12 +60,12 @@ function c21310007.thfilter2(c)
return c:IsCode(21310008) and c:IsAbleToHand()
end
function c21310007.thtg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c21310007.thfilter,tp,LOCATION_GRAVE+LOCATION_DECK,0,1,nil) end
if chk==0 then return Duel.IsExistingMatchingCard(c21310007.thfilter2,tp,LOCATION_GRAVE+LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_GRAVE+LOCATION_DECK)
end
function c21310007.thop2(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c21310007.thfilter),tp,LOCATION_GRAVE+LOCATION_DECK,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c21310007.thfilter2),tp,LOCATION_GRAVE+LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
......
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