Commit 2327b007 authored by mercury233's avatar mercury233 Committed by GitHub

fix 天孔邪鬼

parent 2f4e34c7
...@@ -25,7 +25,8 @@ end ...@@ -25,7 +25,8 @@ end
function c43739056.actlimit(e,re,tp) function c43739056.actlimit(e,re,tp)
local rc=re:GetHandler() local rc=re:GetHandler()
local c=e:GetHandler() local c=e:GetHandler()
return re:IsActiveType(TYPE_MONSTER) and rc:IsAttribute(c:GetAttribute()) and rc~=c and tp==c:GetControler() return re:IsActiveType(TYPE_MONSTER) and rc:IsSummonType(SUMMON_TYPE_SPECIAL) and re:GetActivateLocation()==LOCATION_MZONE
and rc:IsAttribute(c:GetAttribute()) and rc~=c and tp==c:GetControler()
end end
function c43739056.ctcon(e,tp,eg,ep,ev,re,r,rp) function c43739056.ctcon(e,tp,eg,ep,ev,re,r,rp)
local p=e:GetHandler():GetOwner() local p=e:GetHandler():GetOwner()
......
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