Commit 0a609c45 authored by mercury233's avatar mercury233 Committed by GitHub

fix

parent 481349c3
......@@ -45,7 +45,7 @@ function c50383626.rellimit(e,c,tp,sumtp)
return c==e:GetHandler()
end
function c50383626.spcfilter(c,tp)
return c:GetPreviousControler()==tp and c:GetPreviousAttributeOnField()==ATTRIBUTE_DARK
return c:GetPreviousControler()==tp and bit.band(c:GetPreviousAttributeOnField(),ATTRIBUTE_DARK)~=0
end
function c50383626.spcon(e,tp,eg,ep,ev,re,r,rp)
return not eg:IsContains(e:GetHandler()) and eg:IsExists(c50383626.spcfilter,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