Commit fae63e77 authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12010046.lua

parent 7d177f48
...@@ -59,6 +59,7 @@ function c12010046.repop(e,tp,eg,ep,ev,re,r,rp) ...@@ -59,6 +59,7 @@ function c12010046.repop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c12010046.spcon(e,tp,eg,ep,ev,re,r,rp) function c12010046.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and c:IsReason(REASON_EFFECT) and c:GetReasonPlayer()==1-tp and e:GetHandler():GetOverlayCount()~=0 return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and c:IsReason(REASON_EFFECT) and c:GetReasonPlayer()==1-tp and e:GetHandler():GetOverlayCount()~=0
end end
function c12010046.spfilter(c,e,tp) function c12010046.spfilter(c,e,tp)
...@@ -81,4 +82,4 @@ function c12010046.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -81,4 +82,4 @@ function c12010046.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.Overlay(tc,Group.FromCards(e:GetHandler())) Duel.Overlay(tc,Group.FromCards(e:GetHandler()))
end end
end end
end end
\ No newline at end of file
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