Commit 913cd7f9 authored by mercury233's avatar mercury233 Committed by GitHub

fix

parent 00ba917c
......@@ -50,7 +50,7 @@ function c93449450.atkval(e,c)
return c:GetLevel()*300
end
function c93449450.immval(e,te)
if te:GetOwner()~=e:GetHandler() and te:IsActiveType(TYPE_MONSTER) and te:IsActivated() then
if te:GetOwnerPlayer()~=e:GetHandlerPlayer() and te:IsActiveType(TYPE_MONSTER) and te:IsActivated() then
local lv=e:GetHandler():GetLevel()
local tc=te:GetHandler()
if tc:GetRank()>0 then
......
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