Commit 93d5a008 authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12029014.lua

parent a7422398
......@@ -52,7 +52,7 @@ function cm.checkop3(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
if re:IsActiveType(TYPE_MONSTER) then
if re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsControler(tp) then
Dark_Sr[#Dark_Sr+1]=re:GetHandler():GetCode()
end
end
......@@ -65,7 +65,9 @@ end
function cm.checkop1(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst()
while tc do
Real_Sr[#Real_Sr+1]=tc:GetCode()
if tc:IsControler(tp) then
Real_Sr[#Real_Sr+1]=tc:GetCode()
end
tc=eg:GetNext()
end
end
......@@ -140,4 +142,4 @@ function cm.drop2(e,tp,eg,ep,ev,re,r,rp)
local n=Duel.GetFlagEffect(tp,m)
Duel.ResetFlagEffect(tp,m)
Duel.Draw(tp,n,REASON_EFFECT)
end
\ No newline at end of file
end
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