Commit 0143f670 authored by DailyShana's avatar DailyShana

fix

parent d5c11f45
...@@ -25,8 +25,8 @@ function c10691144.rmcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -25,8 +25,8 @@ function c10691144.rmcon(e,tp,eg,ep,ev,re,r,rp)
while tc do while tc do
local ploc=tc:GetPreviousLocation() local ploc=tc:GetPreviousLocation()
local te=tc:GetReasonEffect() local te=tc:GetReasonEffect()
if tc:IsReason(REASON_EFFECT) and not tc:IsReason(REASON_REDIRECT) and bit.band(ploc,0x1e)~=0 if tc:IsReason(REASON_EFFECT) and not tc:IsReason(REASON_REDIRECT) and bit.band(ploc,0x1e)~=0 and tc:GetPreviousControler()==tp
and tc:GetPreviousControler()==tp and te:IsActiveType(TYPE_MONSTER) and te:IsActivated() then and te:GetOwnerPlayer()==1-tp and te:IsActiveType(TYPE_MONSTER) and te:IsActivated() then
flag=bit.bor(flag,ploc) flag=bit.bor(flag,ploc)
end end
tc=eg:GetNext() tc=eg:GetNext()
......
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