Commit 03638f34 authored by mercury233's avatar mercury233

fix

parent cdd473b0
...@@ -23,7 +23,8 @@ function c94626871.initial_effect(c) ...@@ -23,7 +23,8 @@ function c94626871.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c94626871.cfilter(c,tp,zone) function c94626871.cfilter(c,tp,zone)
if not c:IsReason(REASON_DESTROY) or not c:IsReason(REASON_BATTLE+REASON_EFFECT) then return false end if not c:IsReason(REASON_DESTROY) or not c:IsReason(REASON_BATTLE+REASON_EFFECT)
or not zone then return false end
local seq=c:GetPreviousSequence() local seq=c:GetPreviousSequence()
if c:GetPreviousControler()~=tp then seq=seq+16 end if c:GetPreviousControler()~=tp then seq=seq+16 end
return c:IsPreviousLocation(LOCATION_MZONE) and bit.extract(zone,seq)~=0 return c:IsPreviousLocation(LOCATION_MZONE) and bit.extract(zone,seq)~=0
......
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