Commit bba0fde1 authored by TanakaKotoha's avatar TanakaKotoha

fix

parent abeb6fe3
......@@ -67,6 +67,7 @@ function cm.ops(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
Duel.BreakEffect()
-- Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
if Duel.IsExistingMatchingCard(Suyul.filter,tpLOCATION_ONFIELD,LOCATION_ONFIELD,1,nil,e,tp) then
local bg=Duel.SelectMatchingCard(tp,Suyul.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
local tc=bg:GetFirst()
Duel.NegateRelatedChain(tc,RESET_TURN_SET)
......@@ -91,6 +92,7 @@ function cm.ops(e,tp,eg,ep,ev,re,r,rp)
e3:SetReset(RESET_PHASE+PHASE_END)
tc:RegisterEffect(e3)
end
end
local e0=Effect.CreateEffect(e:GetHandler())
e0:SetType(EFFECT_TYPE_FIELD)
e0:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
......
......@@ -44,6 +44,7 @@ function cm.ops(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
Duel.BreakEffect()
-- Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
if Duel.IsExistingMatchingCard(Suyul.filter,tpLOCATION_ONFIELD,LOCATION_ONFIELD,1,nil,e,tp) then
local bg=Duel.SelectMatchingCard(tp,Suyul.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
local tc=bg:GetFirst()
Duel.NegateRelatedChain(tc,RESET_TURN_SET)
......@@ -68,6 +69,7 @@ function cm.ops(e,tp,eg,ep,ev,re,r,rp)
e3:SetReset(RESET_PHASE+PHASE_END)
tc:RegisterEffect(e3)
end
end
local e0=Effect.CreateEffect(e:GetHandler())
e0:SetType(EFFECT_TYPE_FIELD)
e0:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
......
......@@ -44,6 +44,7 @@ function cm.ops(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
Duel.BreakEffect()
-- Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
if Duel.IsExistingMatchingCard(Suyul.filter,tpLOCATION_ONFIELD,LOCATION_ONFIELD,1,nil,e,tp) then
local bg=Duel.SelectMatchingCard(tp,Suyul.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
local tc=bg:GetFirst()
Duel.NegateRelatedChain(tc,RESET_TURN_SET)
......@@ -68,6 +69,7 @@ function cm.ops(e,tp,eg,ep,ev,re,r,rp)
e3:SetReset(RESET_PHASE+PHASE_END)
tc:RegisterEffect(e3)
end
end
local e0=Effect.CreateEffect(e:GetHandler())
e0:SetType(EFFECT_TYPE_FIELD)
e0:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
......
......@@ -42,6 +42,7 @@ function cm.ops(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
Duel.BreakEffect()
-- Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
if Duel.IsExistingMatchingCard(Suyul.filter,tpLOCATION_ONFIELD,LOCATION_ONFIELD,1,nil,e,tp) then
local bg=Duel.SelectMatchingCard(tp,Suyul.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
local tc=bg:GetFirst()
Duel.NegateRelatedChain(tc,RESET_TURN_SET)
......@@ -66,6 +67,7 @@ function cm.ops(e,tp,eg,ep,ev,re,r,rp)
e3:SetReset(RESET_PHASE+PHASE_END)
tc:RegisterEffect(e3)
end
end
local e0=Effect.CreateEffect(e:GetHandler())
e0:SetType(EFFECT_TYPE_FIELD)
e0:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
......
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