Commit ef964df7 authored by POLYMER's avatar POLYMER

fix

parent 10ecb810
...@@ -87,7 +87,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -87,7 +87,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
for tc in aux.Next(lg) do for tc in aux.Next(lg) do
zone=bit.bor(zone,tc:GetColumnZone(LOCATION_MZONE,tp)) zone=bit.bor(zone,tc:GetColumnZone(LOCATION_MZONE,tp))
end end
if c:IsRelateToEffect(e) then if zone>0 and c:IsRelateToEffect(e) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP,zone) Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP,zone)
end end
end end
...@@ -87,7 +87,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -87,7 +87,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
for tc in aux.Next(lg) do for tc in aux.Next(lg) do
zone=bit.bor(zone,tc:GetColumnZone(LOCATION_MZONE,tp)) zone=bit.bor(zone,tc:GetColumnZone(LOCATION_MZONE,tp))
end end
if c:IsRelateToEffect(e) then if zone>0 and c:IsRelateToEffect(e) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP,zone) Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP,zone)
end end
end end
...@@ -109,7 +109,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -109,7 +109,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
for tc in aux.Next(lg) do for tc in aux.Next(lg) do
zone=bit.bor(zone,tc:GetColumnZone(LOCATION_MZONE,tp)) zone=bit.bor(zone,tc:GetColumnZone(LOCATION_MZONE,tp))
end end
if c:IsRelateToEffect(e) then if zone>0 and c:IsRelateToEffect(e) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP,zone) Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP,zone)
end end
end end
...@@ -44,6 +44,7 @@ function c98920630.spfilter(c,e,tp) ...@@ -44,6 +44,7 @@ function c98920630.spfilter(c,e,tp)
end end
function c98920630.recop(e,tp,eg,ep,ev,re,r,rp) function c98920630.recop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c98920630.spfilter,tp,LOCATION_DECK+LOCATION_HAND,0,nil,e,tp) local g=Duel.GetMatchingGroup(c98920630.spfilter,tp,LOCATION_DECK+LOCATION_HAND,0,nil,e,tp)
local c=e:GetHandler()
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
......
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