Commit aaa82022 authored by wind2009's avatar wind2009

Fix ヴァルモニカ・エレディターレ

parent 54277a2a
...@@ -60,7 +60,9 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,7 +60,9 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
if ct==0 then return end if ct==0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local tg=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.tdfilter),tp,LOCATION_GRAVE+LOCATION_EXTRA+LOCATION_REMOVED,0,1,ct,nil) local tg=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.tdfilter),tp,LOCATION_GRAVE+LOCATION_EXTRA+LOCATION_REMOVED,0,1,ct,nil)
if tg:GetCount()>0 and Duel.SendtoDeck(tg,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)~=0 then if tg:GetCount()>0 then
Duel.HintSelection(tg)
if Duel.SendtoDeck(tg,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)~=0 then
local og=Duel.GetOperatedGroup() local og=Duel.GetOperatedGroup()
local dr=og:FilterCount(Card.IsLocation,nil,LOCATION_DECK+LOCATION_EXTRA) local dr=og:FilterCount(Card.IsLocation,nil,LOCATION_DECK+LOCATION_EXTRA)
local drc=math.floor(dr/3) local drc=math.floor(dr/3)
...@@ -69,4 +71,5 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -69,4 +71,5 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel.Draw(tp,drc,REASON_EFFECT) Duel.Draw(tp,drc,REASON_EFFECT)
end end
end end
end
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