Commit 1cfe233e authored by mercury233's avatar mercury233 Committed by GitHub

fix

parent 1864b4de
...@@ -61,12 +61,12 @@ end ...@@ -61,12 +61,12 @@ end
function c36975314.con(e) function c36975314.con(e)
local c=e:GetOwner() local c=e:GetOwner()
local h=e:GetHandler() local h=e:GetHandler()
return c:IsHasCardTarget(h) return c:IsHasCardTarget(h) and not c:IsDisabled()
end end
function c36975314.rcon(e) function c36975314.rcon(e)
local c=e:GetOwner() local c=e:GetOwner()
local h=e:GetHandler() local h=e:GetHandler()
return c:IsHasCardTarget(h) and h:IsControler(c:GetControler()) return c:IsHasCardTarget(h) and h:IsControler(c:GetControler()) and not c:IsDisabled()
end end
function c36975314.descon(e,tp,eg,ep,ev,re,r,rp) function c36975314.descon(e,tp,eg,ep,ev,re,r,rp)
local tc=e:GetHandler():GetFirstCardTarget() local tc=e:GetHandler():GetFirstCardTarget()
......
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