Commit 98e1cdfc authored by mercury233's avatar mercury233

fix

parent 1d9275b1
......@@ -58,5 +58,5 @@ function c12467005.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function c12467005.aclimit(e,re,tp)
return re:GetHandler():IsCode(e:GetLabel())
return re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:GetHandler():IsCode(e:GetLabel())
end
......@@ -51,7 +51,8 @@ function c81055000.thop1(e,tp,eg,ep,ev,re,r,rp)
end
function c81055000.aclimit(e,re,tp)
local tc=e:GetLabelObject()
return re:GetHandler():IsCode(tc:GetCode()) and not re:GetHandler():IsImmuneToEffect(e)
return re:GetHandler():IsCode(tc:GetCode())
and re:IsHasType(EFFECT_TYPE_ACTIVATE) and not re:GetHandler():IsImmuneToEffect(e)
end
function c81055000.thtg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and chkc:IsAbleToHand() end
......
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