Commit a109847b authored by mallu11's avatar mallu11 Committed by mercury233

fix Graydle (#1226)

parent d69854bf
...@@ -17,7 +17,7 @@ function c29834183.eqcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -17,7 +17,7 @@ function c29834183.eqcon(e,tp,eg,ep,ev,re,r,rp)
and c:IsReason(REASON_DESTROY) and c:GetPreviousControler()==tp and c:IsPreviousLocation(LOCATION_MZONE) and c:IsReason(REASON_DESTROY) and c:GetPreviousControler()==tp and c:IsPreviousLocation(LOCATION_MZONE)
end end
function c29834183.eqfilter(c,tp) function c29834183.eqfilter(c,tp)
if not c:IsFaceup() or not c:IsControlerCanBeChanged() then return false end if not c:IsFaceup() then return false end
if c:IsType(TYPE_TRAPMONSTER) then return Duel.GetLocationCount(tp,LOCATION_SZONE,tp,LOCATION_REASON_CONTROL)>0 and Duel.GetLocationCount(tp,LOCATION_SZONE,tp,0)>=2 end if c:IsType(TYPE_TRAPMONSTER) then return Duel.GetLocationCount(tp,LOCATION_SZONE,tp,LOCATION_REASON_CONTROL)>0 and Duel.GetLocationCount(tp,LOCATION_SZONE,tp,0)>=2 end
return true return true
end end
......
...@@ -17,7 +17,7 @@ function c66451379.eqcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -17,7 +17,7 @@ function c66451379.eqcon(e,tp,eg,ep,ev,re,r,rp)
and c:IsReason(REASON_DESTROY) and c:GetPreviousControler()==tp and c:IsPreviousLocation(LOCATION_MZONE) and c:IsReason(REASON_DESTROY) and c:GetPreviousControler()==tp and c:IsPreviousLocation(LOCATION_MZONE)
end end
function c66451379.eqfilter(c,tp) function c66451379.eqfilter(c,tp)
if not c:IsFaceup() or not c:IsControlerCanBeChanged() then return false end if not c:IsFaceup() then return false end
if c:IsType(TYPE_TRAPMONSTER) then return Duel.GetLocationCount(tp,LOCATION_SZONE,tp,LOCATION_REASON_CONTROL)>0 and Duel.GetLocationCount(tp,LOCATION_SZONE,tp,0)>=2 end if c:IsType(TYPE_TRAPMONSTER) then return Duel.GetLocationCount(tp,LOCATION_SZONE,tp,LOCATION_REASON_CONTROL)>0 and Duel.GetLocationCount(tp,LOCATION_SZONE,tp,0)>=2 end
return true return true
end end
......
...@@ -17,7 +17,7 @@ function c93445074.eqcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -17,7 +17,7 @@ function c93445074.eqcon(e,tp,eg,ep,ev,re,r,rp)
and c:IsReason(REASON_DESTROY) and c:GetPreviousControler()==tp and c:IsPreviousLocation(LOCATION_MZONE) and c:IsReason(REASON_DESTROY) and c:GetPreviousControler()==tp and c:IsPreviousLocation(LOCATION_MZONE)
end end
function c93445074.eqfilter(c,tp) function c93445074.eqfilter(c,tp)
if not c:IsFaceup() or not c:IsControlerCanBeChanged() then return false end if not c:IsFaceup() then return false end
if c:IsType(TYPE_TRAPMONSTER) then return Duel.GetLocationCount(tp,LOCATION_SZONE,tp,LOCATION_REASON_CONTROL)>0 and Duel.GetLocationCount(tp,LOCATION_SZONE,tp,0)>=2 end if c:IsType(TYPE_TRAPMONSTER) then return Duel.GetLocationCount(tp,LOCATION_SZONE,tp,LOCATION_REASON_CONTROL)>0 and Duel.GetLocationCount(tp,LOCATION_SZONE,tp,0)>=2 end
return true return true
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