Commit 930a4b7a authored by Amiya's avatar Amiya

修复

parent 6201f366
Pipeline #41207 passed with stages
in 2 minutes and 28 seconds
......@@ -96,6 +96,9 @@ function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
g1:AddCard(c)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g1,3,0,0)
end
function s.ntdfilter(c)
return not c:IsAbleToDeck()
end
function s.tdop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToChain,nil,e)
......@@ -106,6 +109,7 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
for tc in aux.Next(sg) do
if not aux.NecroValleyFilter()(tc) then res=false end
end
if g:IsExists(s.ntdfilter,1,nil) then return end
if res and g:GetCount()==3 then
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end
......
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