Commit 2f0c2900 authored by nekrozar's avatar nekrozar

fix Darkest Diabolos, Lord of the Lair

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