Commit 2c759493 authored by Tachibana's avatar Tachibana

nmbd

parent 2e0333b8
......@@ -63,10 +63,14 @@ function c12031011.thop(e,tp,eg,ep,ev,re,r,rp)
if not Duel.IsExistingMatchingCard(c12031011.thfilter,tp,LOCATION_GRAVE+LOCATION_REMOVED,LOCATION_GRAVE+LOCATION_REMOVED,1,nil) then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local ct=Duel.SelectMatchingCard(tp,c12031011.thfilter,tp,LOCATION_GRAVE+LOCATION_REMOVED,LOCATION_GRAVE+LOCATION_REMOVED,1,1,nil)
Duel.SendtoHand(ct,tp,REASON_EFFECT)
if ct:GetFirst():IsAbleToHandAsCost() then
Duel.SendtoHand(ct,tp,REASON_EFFECT)
else
Duel.SendtoDeck(ct,nil,2,REASON_EFFECT)
end
if c:IsCode(12031000) and Duel.IsExistingMatchingCard(c12031011.thfilter1,tp,LOCATION_DECK,0,1,nil) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local ct=Duel.SelectMatchingCard(tp,c12031011.thfilter1,tp,LOCATION_DECK,0,1,1,nil)
Duel.SendtoHand(ct,tp,REASON_EFFECT)
Duel.SendtoHand(ct,tp,REASON_EFFECT)
end
end
\ No newline at end of file
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