Commit cc086d4d authored by wind2009's avatar wind2009

Fix Deadly Zombie Breath

parent 03c68013
Pipeline #43038 passed with stages
in 2 minutes and 24 seconds
No preview for this file type
...@@ -52,14 +52,11 @@ function s.condition2(e,tp,eg,ep,ev,re,r,rp) ...@@ -52,14 +52,11 @@ function s.condition2(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,LOCATION_MZONE,0,nil) local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,LOCATION_MZONE,0,nil)
return g:IsExists(Card.IsRace,1,nil,RACE_ZOMBIE) return g:IsExists(Card.IsRace,1,nil,RACE_ZOMBIE)
end end
function s.tgfilter1(c,tp) function s.tgfilter(c,tp)
return c:IsFaceup() and c:IsType(TYPE_MONSTER) and c:IsAbleToGrave() and c:IsControler(tp) return c:IsFaceup() and c:IsAbleToGrave() and c:IsControler(tp)
end
function s.tgfilter2(c,tp)
return c:IsFaceup() and c:IsAbleToGrave() and c:IsControler(1-tp)
end end
function s.gcheck(g,tp) function s.gcheck(g,tp)
return aux.gffcheck(g,s.tgfilter1,tp,s.tgfilter2,tp) return aux.gffcheck(g,s.tgfilter,tp,s.tgfilter,1-tp)
end end
function s.tgtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function s.tgtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return false end if chkc then return false 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