Commit 0a7ab9e0 authored by mercury233's avatar mercury233 Committed by GitHub

fix

parent f6737f93
...@@ -70,6 +70,7 @@ function c15449853.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -70,6 +70,7 @@ function c15449853.tdop(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end if not e:GetHandler():IsRelateToEffect(e) then return end
local tg=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e) local tg=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e)
if tg:GetCount()==0 then return end if tg:GetCount()==0 then return end
local ct=Duel.SendtoDeck(tg,nil,0,REASON_EFFECT) if Duel.SendtoDeck(tg,nil,0,REASON_EFFECT)==0 then return end
local ct=Duel.GetOperatedGroup():Filter(Card.IsLocation,nil,LOCATION_DECK):GetCount()
if ct>0 then Duel.SortDecktop(tp,tp,ct) end if ct>0 then Duel.SortDecktop(tp,tp,ct) end
end 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