Commit 361dedfe authored by DailyShana's avatar DailyShana

fix

parent b26ffcf3
...@@ -20,14 +20,13 @@ function c10691144.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -20,14 +20,13 @@ function c10691144.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterFlagEffect(tp,10691144,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,10691144,RESET_PHASE+PHASE_END,0,1)
end end
function c10691144.rmcon(e,tp,eg,ep,ev,re,r,rp) function c10691144.rmcon(e,tp,eg,ep,ev,re,r,rp)
if not (re:GetOwnerPlayer()==1-tp and re:IsActiveType(TYPE_MONSTER) and re:IsActivated()) then
return false
end
local flag=0 local flag=0
local tc=eg:GetFirst() local tc=eg:GetFirst()
while tc do while tc do
local ploc=tc:GetPreviousLocation() local ploc=tc:GetPreviousLocation()
if tc:GetPreviousControler()==tp and bit.band(ploc,0x1e)~=0 then local te=tc:GetReasonEffect()
if tc:IsReason(REASON_EFFECT) and not tc:IsReason(REASON_REDIRECT) and bit.band(ploc,0x1e)~=0
and tc:GetPreviousControler()==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