Commit f1d6b21b authored by wind2009's avatar wind2009

Fix Defense of the Temple

parent 2f7dcb07
...@@ -38,7 +38,7 @@ function s.filter2(c,e,tp,m,f,chkf) ...@@ -38,7 +38,7 @@ function s.filter2(c,e,tp,m,f,chkf)
return res return res
end end
function s.ffilter(c,tp) function s.ffilter(c,tp)
return aux.IsCodeListed(c,29762407) and c:IsControler(tp) return aux.IsCodeListed(c,29762407) and c:IsControler(tp) and c:IsOnField()
end end
function s.fcheck(tp,sg,fc) function s.fcheck(tp,sg,fc)
return not sg:IsExists(Card.IsControler,1,nil,1-tp) or sg:IsExists(s.ffilter,1,nil,tp) return not sg:IsExists(Card.IsControler,1,nil,1-tp) or sg:IsExists(s.ffilter,1,nil,tp)
......
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