Commit 9f72b26e authored by wind2009's avatar wind2009

Fix Sunset Beat

修复伤害效果无法发动的bug
parent 3dca6aea
...@@ -53,7 +53,7 @@ function s.cfilter2(c,tp,e) ...@@ -53,7 +53,7 @@ function s.cfilter2(c,tp,e)
return c:IsPreviousPosition(POS_FACEDOWN) and c:IsFaceup() and c:IsControler(tp) and c:IsType(TYPE_FLIP) and c:IsCanBeEffectTarget(e) return c:IsPreviousPosition(POS_FACEDOWN) and c:IsFaceup() and c:IsControler(tp) and c:IsType(TYPE_FLIP) and c:IsCanBeEffectTarget(e)
end end
function s.damcon(e,tp,eg,ep,ev,re,r,rp) function s.damcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.cfilter2,1,nil,tp) return eg:IsExists(s.cfilter2,1,nil,tp,e)
end end
function s.damtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function s.damtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return eg:IsContains(chkc) and chkc:IsPreviousControler(tp) if chkc then return eg:IsContains(chkc) and chkc:IsPreviousControler(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