Commit 7577a074 authored by Tachibana's avatar Tachibana

ndyd

parent b47dda30
...@@ -111,7 +111,7 @@ function cm.filter1(c) ...@@ -111,7 +111,7 @@ function cm.filter1(c)
return c:IsSetCard(0x5420) and c:IsType(TYPE_MONSTER) and c:IsFaceup() return c:IsSetCard(0x5420) and c:IsType(TYPE_MONSTER) and c:IsFaceup()
end end
function cm.condition(e,tp,eg,ep,ev,re,r,rp) function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(cm.filter0,tp,LOCATION_MZONE,0,1,nil) and Duel.IsExistingMatchingCard(cm.filter0,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(cm.filter0,tp,LOCATION_MZONE,0,1,nil) and Duel.IsExistingMatchingCard(cm.filter1,tp,LOCATION_MZONE,0,1,nil)
end end
function cm.thfilter2(c) function cm.thfilter2(c)
return ((c:IsLevelAbove(2) and c:IsLevelBelow(7)) or (c:IsRankAbove(2) and c:IsRankBelow(7))) and c:IsAbleToHand() return ((c:IsLevelAbove(2) and c:IsLevelBelow(7)) or (c:IsRankAbove(2) and c:IsRankBelow(7))) and c:IsAbleToHand()
......
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