Commit 157bf642 authored by wind2009's avatar wind2009

Fix

parent a1e2a805
No preview for this file type
...@@ -80,7 +80,7 @@ function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -80,7 +80,7 @@ function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SetOperationInfo(0,CATEGORY_TODECK,tg,2,0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,tg,2,0,0)
end end
function s.tdop(e,tp,eg,ep,ev,re,r,rp) function s.tdop(e,tp,eg,ep,ev,re,r,rp)
local tg=Duel.GetTargetsRelateToChain() local tg=Duel.GetTargetsRelateToChain():Filter(Card.IsOnField,nil)
if tg:GetCount()>0 then if tg:GetCount()>0 then
aux.PlaceCardsOnDeckBottom(tp,tg) aux.PlaceCardsOnDeckBottom(tp,tg)
end end
......
...@@ -36,7 +36,7 @@ function s.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -36,7 +36,7 @@ function s.condition(e,tp,eg,ep,ev,re,r,rp)
return g:IsExists(Card.IsRace,1,nil,RACE_ZOMBIE) and g:IsExists(Card.IsCode,1,nil,97077563) return g:IsExists(Card.IsRace,1,nil,RACE_ZOMBIE) and g:IsExists(Card.IsCode,1,nil,97077563)
end end
function s.tgfilter1(c) function s.tgfilter1(c)
return c:IsFaceup() and c:IsType(TYPE_MONSTER) and c:IsAbleToGrave() return c:IsType(TYPE_MONSTER) and c:IsAbleToGrave()
end end
function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(1-tp) and chkc:IsLocation(LOCATION_MZONE) and s.tgfilter1(chkc) end if chkc then return chkc:IsControler(1-tp) and chkc:IsLocation(LOCATION_MZONE) and s.tgfilter1(chkc) 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