Commit 0b95e4cb authored by VanillaSalt's avatar VanillaSalt

Merge pull request #764 from salix5/patch

fix
parents acfd384a c5acdf34
...@@ -57,7 +57,7 @@ function c21007444.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -57,7 +57,7 @@ function c21007444.activate(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c21007444.desfilter(c,fid) function c21007444.desfilter(c,fid)
return c:GetFlagEffect(21007444)==fid return c:GetFlagEffectLabel(21007444)==fid
end end
function c21007444.desop(e,tp,eg,ep,ev,re,r,rp) function c21007444.desop(e,tp,eg,ep,ev,re,r,rp)
local sg=e:GetLabelObject() local sg=e:GetLabelObject()
......
...@@ -49,7 +49,7 @@ function c27174286.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -49,7 +49,7 @@ function c27174286.op(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c27174286.rmfilter(c,fid) function c27174286.rmfilter(c,fid)
return c:GetFlagEffect(27174286)==fid return c:GetFlagEffectLabel(27174286)==fid
end end
function c27174286.rmop(e,tp,eg,ep,ev,re,r,rp) function c27174286.rmop(e,tp,eg,ep,ev,re,r,rp)
local g=e:GetLabelObject() local g=e:GetLabelObject()
......
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