Commit 2a47b8c8 authored by 独孤朲's avatar 独孤朲

Merge pull request #78 from mercury233/patch-2

fix
parents 1f1ca7e8 c9a17092
...@@ -32,7 +32,7 @@ end ...@@ -32,7 +32,7 @@ end
function c57288064.filter(c,tp) function c57288064.filter(c,tp)
local atk=c:GetAttack() local atk=c:GetAttack()
return c:IsFaceup() and c:IsRace(RACE_ZOMBIE) and atk>=0 and c:IsAbleToDeck() return c:IsFaceup() and c:IsRace(RACE_ZOMBIE) and atk>=0 and c:IsAbleToDeck()
and Duel.IsExistingMatchingCard(c57288064.posfilter,tp,LOCATION_MZONE,0,1,nil,atk) and Duel.IsExistingMatchingCard(c57288064.posfilter,tp,0,LOCATION_MZONE,1,nil,atk)
end end
function c57288064.posfilter(c,atk) function c57288064.posfilter(c,atk)
return c:IsPosition(POS_FACEUP_ATTACK) and c:IsAttackBelow(atk) return c:IsPosition(POS_FACEUP_ATTACK) and c:IsAttackBelow(atk)
......
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