Commit 8da51818 authored by mercury233's avatar mercury233 Committed by GitHub

fix 無限泡影

parent 5737da6b
...@@ -46,7 +46,7 @@ function c10045474.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -46,7 +46,7 @@ function c10045474.activate(e,tp,eg,ep,ev,re,r,rp)
e4:SetTargetRange(LOCATION_SZONE,LOCATION_SZONE) e4:SetTargetRange(LOCATION_SZONE,LOCATION_SZONE)
e4:SetTarget(c10045474.distg) e4:SetTarget(c10045474.distg)
e4:SetReset(RESET_PHASE+PHASE_END) e4:SetReset(RESET_PHASE+PHASE_END)
e4:SetLabel(c:GetSequence()) e4:SetLabel(c:GetSequence(),c:GetFieldID())
Duel.RegisterEffect(e4,tp) Duel.RegisterEffect(e4,tp)
local e5=Effect.CreateEffect(c) local e5=Effect.CreateEffect(c)
e5:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e5:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
...@@ -68,9 +68,9 @@ function c10045474.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -68,9 +68,9 @@ function c10045474.activate(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c10045474.distg(e,c) function c10045474.distg(e,c)
local seq=e:GetLabel() local seq,fid=e:GetLabel()
local tp=e:GetHandlerPlayer() local tp=e:GetHandlerPlayer()
return c:IsType(TYPE_SPELL+TYPE_TRAP) and aux.GetColumn(c,tp)==seq return c:IsType(TYPE_SPELL+TYPE_TRAP) and aux.GetColumn(c,tp)==seq and c:GetFieldID()~=fid
end end
function c10045474.disop(e,tp,eg,ep,ev,re,r,rp) function c10045474.disop(e,tp,eg,ep,ev,re,r,rp)
local tseq=e:GetLabel() local tseq=e:GetLabel()
......
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