Commit 164ae5c6 authored by POLYMER's avatar POLYMER

fix

parent 660ee1f3
...@@ -53,6 +53,7 @@ function cm.initial_effect(c) ...@@ -53,6 +53,7 @@ function cm.initial_effect(c)
--leave field --leave field
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCode(EFFECT_SEND_REPLACE) e2:SetCode(EFFECT_SEND_REPLACE)
e2:SetTarget(cm.reptg) e2:SetTarget(cm.reptg)
...@@ -61,6 +62,7 @@ function cm.initial_effect(c) ...@@ -61,6 +62,7 @@ function cm.initial_effect(c)
--destroy replace --destroy replace
local e8=Effect.CreateEffect(c) local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE) e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e8:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e8:SetCode(EFFECT_DESTROY_REPLACE) e8:SetCode(EFFECT_DESTROY_REPLACE)
e8:SetRange(LOCATION_MZONE) e8:SetRange(LOCATION_MZONE)
e8:SetTarget(cm.desreptg) e8:SetTarget(cm.desreptg)
...@@ -197,7 +199,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -197,7 +199,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetReset(RESET_EVENT+RESETS_REDIRECT) e1:SetReset(RESET_EVENT+RESETS_REDIRECT)
e1:SetValue(LOCATION_DECK) e1:SetValue(LOCATION_DECK)
tc:RegisterEffect(e1,true) tc:RegisterEffect(e1,true)
tc=g:GetNext() tc=exg:GetNext()
end end
Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT)
local p=tp local p=tp
......
...@@ -58,6 +58,7 @@ function cm.initial_effect(c) ...@@ -58,6 +58,7 @@ function cm.initial_effect(c)
--leave field --leave field
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCode(EFFECT_SEND_REPLACE) e2:SetCode(EFFECT_SEND_REPLACE)
e2:SetTarget(cm.reptg) e2:SetTarget(cm.reptg)
...@@ -66,6 +67,7 @@ function cm.initial_effect(c) ...@@ -66,6 +67,7 @@ function cm.initial_effect(c)
--destroy replace --destroy replace
local e8=Effect.CreateEffect(c) local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE) e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e8:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e8:SetCode(EFFECT_DESTROY_REPLACE) e8:SetCode(EFFECT_DESTROY_REPLACE)
e8:SetRange(LOCATION_MZONE) e8:SetRange(LOCATION_MZONE)
e8:SetTarget(cm.desreptg) e8:SetTarget(cm.desreptg)
...@@ -219,7 +221,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -219,7 +221,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetReset(RESET_EVENT+RESETS_REDIRECT) e1:SetReset(RESET_EVENT+RESETS_REDIRECT)
e1:SetValue(LOCATION_DECK) e1:SetValue(LOCATION_DECK)
tc:RegisterEffect(e1,true) tc:RegisterEffect(e1,true)
tc=g:GetNext() tc=exg:GetNext()
end end
Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT)
local p=tp local p=tp
......
...@@ -63,8 +63,10 @@ function cm.initial_effect(c) ...@@ -63,8 +63,10 @@ function cm.initial_effect(c)
--e2:SetCondition(cm.tdcon) --e2:SetCondition(cm.tdcon)
--e2:SetOperation(cm.tdop) --e2:SetOperation(cm.tdop)
--c:RegisterEffect(e2) --c:RegisterEffect(e2)
--leave field
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCode(EFFECT_SEND_REPLACE) e2:SetCode(EFFECT_SEND_REPLACE)
e2:SetTarget(cm.reptg) e2:SetTarget(cm.reptg)
...@@ -73,6 +75,7 @@ function cm.initial_effect(c) ...@@ -73,6 +75,7 @@ function cm.initial_effect(c)
--destroy replace --destroy replace
local e8=Effect.CreateEffect(c) local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE) e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e8:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e8:SetCode(EFFECT_DESTROY_REPLACE) e8:SetCode(EFFECT_DESTROY_REPLACE)
e8:SetRange(LOCATION_MZONE) e8:SetRange(LOCATION_MZONE)
e8:SetTarget(cm.desreptg) e8:SetTarget(cm.desreptg)
...@@ -262,7 +265,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -262,7 +265,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetReset(RESET_EVENT+RESETS_REDIRECT) e1:SetReset(RESET_EVENT+RESETS_REDIRECT)
e1:SetValue(LOCATION_DECK) e1:SetValue(LOCATION_DECK)
tc:RegisterEffect(e1,true) tc:RegisterEffect(e1,true)
tc=g:GetNext() tc=exg:GetNext()
end end
Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT)
local p=tp local p=tp
......
...@@ -53,6 +53,7 @@ function cm.initial_effect(c) ...@@ -53,6 +53,7 @@ function cm.initial_effect(c)
--leave field --leave field
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCode(EFFECT_SEND_REPLACE) e2:SetCode(EFFECT_SEND_REPLACE)
e2:SetTarget(cm.reptg) e2:SetTarget(cm.reptg)
...@@ -61,6 +62,7 @@ function cm.initial_effect(c) ...@@ -61,6 +62,7 @@ function cm.initial_effect(c)
--destroy replace --destroy replace
local e8=Effect.CreateEffect(c) local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE) e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e8:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e8:SetCode(EFFECT_DESTROY_REPLACE) e8:SetCode(EFFECT_DESTROY_REPLACE)
e8:SetRange(LOCATION_MZONE) e8:SetRange(LOCATION_MZONE)
e8:SetTarget(cm.desreptg) e8:SetTarget(cm.desreptg)
...@@ -197,7 +199,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -197,7 +199,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetReset(RESET_EVENT+RESETS_REDIRECT) e1:SetReset(RESET_EVENT+RESETS_REDIRECT)
e1:SetValue(LOCATION_DECK) e1:SetValue(LOCATION_DECK)
tc:RegisterEffect(e1,true) tc:RegisterEffect(e1,true)
tc=g:GetNext() tc=exg:GetNext()
end end
Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT)
local p=tp local p=tp
......
...@@ -58,6 +58,7 @@ function cm.initial_effect(c) ...@@ -58,6 +58,7 @@ function cm.initial_effect(c)
--leave field --leave field
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCode(EFFECT_SEND_REPLACE) e2:SetCode(EFFECT_SEND_REPLACE)
e2:SetTarget(cm.reptg) e2:SetTarget(cm.reptg)
...@@ -66,6 +67,7 @@ function cm.initial_effect(c) ...@@ -66,6 +67,7 @@ function cm.initial_effect(c)
--destroy replace --destroy replace
local e8=Effect.CreateEffect(c) local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE) e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e8:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e8:SetCode(EFFECT_DESTROY_REPLACE) e8:SetCode(EFFECT_DESTROY_REPLACE)
e8:SetRange(LOCATION_MZONE) e8:SetRange(LOCATION_MZONE)
e8:SetTarget(cm.desreptg) e8:SetTarget(cm.desreptg)
...@@ -208,7 +210,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -208,7 +210,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetReset(RESET_EVENT+RESETS_REDIRECT) e1:SetReset(RESET_EVENT+RESETS_REDIRECT)
e1:SetValue(LOCATION_DECK) e1:SetValue(LOCATION_DECK)
tc:RegisterEffect(e1,true) tc:RegisterEffect(e1,true)
tc=g:GetNext() tc=exg:GetNext()
end end
Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT)
local p=tp local p=tp
......
...@@ -58,6 +58,7 @@ function cm.initial_effect(c) ...@@ -58,6 +58,7 @@ function cm.initial_effect(c)
--leave field --leave field
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCode(EFFECT_SEND_REPLACE) e2:SetCode(EFFECT_SEND_REPLACE)
e2:SetTarget(cm.reptg) e2:SetTarget(cm.reptg)
...@@ -66,6 +67,7 @@ function cm.initial_effect(c) ...@@ -66,6 +67,7 @@ function cm.initial_effect(c)
--destroy replace --destroy replace
local e8=Effect.CreateEffect(c) local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE) e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e8:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e8:SetCode(EFFECT_DESTROY_REPLACE) e8:SetCode(EFFECT_DESTROY_REPLACE)
e8:SetRange(LOCATION_MZONE) e8:SetRange(LOCATION_MZONE)
e8:SetTarget(cm.desreptg) e8:SetTarget(cm.desreptg)
...@@ -206,7 +208,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -206,7 +208,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetReset(RESET_EVENT+RESETS_REDIRECT) e1:SetReset(RESET_EVENT+RESETS_REDIRECT)
e1:SetValue(LOCATION_DECK) e1:SetValue(LOCATION_DECK)
tc:RegisterEffect(e1,true) tc:RegisterEffect(e1,true)
tc=g:GetNext() tc=exg:GetNext()
end end
Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT)
local p=tp local p=tp
......
...@@ -58,6 +58,7 @@ function cm.initial_effect(c) ...@@ -58,6 +58,7 @@ function cm.initial_effect(c)
--leave field --leave field
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCode(EFFECT_SEND_REPLACE) e2:SetCode(EFFECT_SEND_REPLACE)
e2:SetTarget(cm.reptg) e2:SetTarget(cm.reptg)
...@@ -66,6 +67,7 @@ function cm.initial_effect(c) ...@@ -66,6 +67,7 @@ function cm.initial_effect(c)
--destroy replace --destroy replace
local e8=Effect.CreateEffect(c) local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE) e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e8:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e8:SetCode(EFFECT_DESTROY_REPLACE) e8:SetCode(EFFECT_DESTROY_REPLACE)
e8:SetRange(LOCATION_MZONE) e8:SetRange(LOCATION_MZONE)
e8:SetTarget(cm.desreptg) e8:SetTarget(cm.desreptg)
...@@ -240,7 +242,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -240,7 +242,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetReset(RESET_EVENT+RESETS_REDIRECT) e1:SetReset(RESET_EVENT+RESETS_REDIRECT)
e1:SetValue(LOCATION_DECK) e1:SetValue(LOCATION_DECK)
tc:RegisterEffect(e1,true) tc:RegisterEffect(e1,true)
tc=g:GetNext() tc=exg:GetNext()
end end
Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT)
local p=tp local p=tp
......
...@@ -58,6 +58,7 @@ function cm.initial_effect(c) ...@@ -58,6 +58,7 @@ function cm.initial_effect(c)
--leave field --leave field
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCode(EFFECT_SEND_REPLACE) e2:SetCode(EFFECT_SEND_REPLACE)
e2:SetTarget(cm.reptg) e2:SetTarget(cm.reptg)
...@@ -66,6 +67,7 @@ function cm.initial_effect(c) ...@@ -66,6 +67,7 @@ function cm.initial_effect(c)
--destroy replace --destroy replace
local e8=Effect.CreateEffect(c) local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE) e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e8:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e8:SetCode(EFFECT_DESTROY_REPLACE) e8:SetCode(EFFECT_DESTROY_REPLACE)
e8:SetRange(LOCATION_MZONE) e8:SetRange(LOCATION_MZONE)
e8:SetTarget(cm.desreptg) e8:SetTarget(cm.desreptg)
...@@ -212,7 +214,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -212,7 +214,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetReset(RESET_EVENT+RESETS_REDIRECT) e1:SetReset(RESET_EVENT+RESETS_REDIRECT)
e1:SetValue(LOCATION_DECK) e1:SetValue(LOCATION_DECK)
tc:RegisterEffect(e1,true) tc:RegisterEffect(e1,true)
tc=g:GetNext() tc=exg:GetNext()
end end
Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT)
local p=tp local p=tp
......
...@@ -58,6 +58,7 @@ function cm.initial_effect(c) ...@@ -58,6 +58,7 @@ function cm.initial_effect(c)
--leave field --leave field
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCode(EFFECT_SEND_REPLACE) e2:SetCode(EFFECT_SEND_REPLACE)
e2:SetTarget(cm.reptg) e2:SetTarget(cm.reptg)
...@@ -66,6 +67,7 @@ function cm.initial_effect(c) ...@@ -66,6 +67,7 @@ function cm.initial_effect(c)
--destroy replace --destroy replace
local e8=Effect.CreateEffect(c) local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE) e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e8:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e8:SetCode(EFFECT_DESTROY_REPLACE) e8:SetCode(EFFECT_DESTROY_REPLACE)
e8:SetRange(LOCATION_MZONE) e8:SetRange(LOCATION_MZONE)
e8:SetTarget(cm.desreptg) e8:SetTarget(cm.desreptg)
...@@ -237,7 +239,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -237,7 +239,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetReset(RESET_EVENT+RESETS_REDIRECT) e1:SetReset(RESET_EVENT+RESETS_REDIRECT)
e1:SetValue(LOCATION_DECK) e1:SetValue(LOCATION_DECK)
tc:RegisterEffect(e1,true) tc:RegisterEffect(e1,true)
tc=g:GetNext() tc=exg:GetNext()
end end
Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT)
local p=tp local p=tp
......
...@@ -58,6 +58,7 @@ function cm.initial_effect(c) ...@@ -58,6 +58,7 @@ function cm.initial_effect(c)
--leave field --leave field
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCode(EFFECT_SEND_REPLACE) e2:SetCode(EFFECT_SEND_REPLACE)
e2:SetTarget(cm.reptg) e2:SetTarget(cm.reptg)
...@@ -66,6 +67,7 @@ function cm.initial_effect(c) ...@@ -66,6 +67,7 @@ function cm.initial_effect(c)
--destroy replace --destroy replace
local e8=Effect.CreateEffect(c) local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE) e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e8:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e8:SetCode(EFFECT_DESTROY_REPLACE) e8:SetCode(EFFECT_DESTROY_REPLACE)
e8:SetRange(LOCATION_MZONE) e8:SetRange(LOCATION_MZONE)
e8:SetTarget(cm.desreptg) e8:SetTarget(cm.desreptg)
...@@ -209,7 +211,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -209,7 +211,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetReset(RESET_EVENT+RESETS_REDIRECT) e1:SetReset(RESET_EVENT+RESETS_REDIRECT)
e1:SetValue(LOCATION_DECK) e1:SetValue(LOCATION_DECK)
tc:RegisterEffect(e1,true) tc:RegisterEffect(e1,true)
tc=g:GetNext() tc=exg:GetNext()
end end
Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT)
local p=tp local p=tp
......
...@@ -53,6 +53,7 @@ function cm.initial_effect(c) ...@@ -53,6 +53,7 @@ function cm.initial_effect(c)
--leave field --leave field
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCode(EFFECT_SEND_REPLACE) e2:SetCode(EFFECT_SEND_REPLACE)
e2:SetTarget(cm.reptg) e2:SetTarget(cm.reptg)
...@@ -61,6 +62,7 @@ function cm.initial_effect(c) ...@@ -61,6 +62,7 @@ function cm.initial_effect(c)
--destroy replace --destroy replace
local e8=Effect.CreateEffect(c) local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE) e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e8:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e8:SetCode(EFFECT_DESTROY_REPLACE) e8:SetCode(EFFECT_DESTROY_REPLACE)
e8:SetRange(LOCATION_MZONE) e8:SetRange(LOCATION_MZONE)
e8:SetTarget(cm.desreptg) e8:SetTarget(cm.desreptg)
...@@ -186,7 +188,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -186,7 +188,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetReset(RESET_EVENT+RESETS_REDIRECT) e1:SetReset(RESET_EVENT+RESETS_REDIRECT)
e1:SetValue(LOCATION_DECK) e1:SetValue(LOCATION_DECK)
tc:RegisterEffect(e1,true) tc:RegisterEffect(e1,true)
tc=g:GetNext() tc=exg:GetNext()
end end
Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT)
local ct=Duel.GetOperatedGroup():FilterCount(Card.IsCode,nil,7429151) local ct=Duel.GetOperatedGroup():FilterCount(Card.IsCode,nil,7429151)
......
...@@ -58,6 +58,7 @@ function cm.initial_effect(c) ...@@ -58,6 +58,7 @@ function cm.initial_effect(c)
--leave field --leave field
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCode(EFFECT_SEND_REPLACE) e2:SetCode(EFFECT_SEND_REPLACE)
e2:SetTarget(cm.reptg) e2:SetTarget(cm.reptg)
...@@ -66,6 +67,7 @@ function cm.initial_effect(c) ...@@ -66,6 +67,7 @@ function cm.initial_effect(c)
--destroy replace --destroy replace
local e8=Effect.CreateEffect(c) local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE) e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e8:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e8:SetCode(EFFECT_DESTROY_REPLACE) e8:SetCode(EFFECT_DESTROY_REPLACE)
e8:SetRange(LOCATION_MZONE) e8:SetRange(LOCATION_MZONE)
e8:SetTarget(cm.desreptg) e8:SetTarget(cm.desreptg)
...@@ -206,7 +208,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -206,7 +208,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetReset(RESET_EVENT+RESETS_REDIRECT) e1:SetReset(RESET_EVENT+RESETS_REDIRECT)
e1:SetValue(LOCATION_DECK) e1:SetValue(LOCATION_DECK)
tc:RegisterEffect(e1,true) tc:RegisterEffect(e1,true)
tc=g:GetNext() tc=exg:GetNext()
end end
Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT)
local p=tp local p=tp
......
...@@ -58,6 +58,7 @@ function cm.initial_effect(c) ...@@ -58,6 +58,7 @@ function cm.initial_effect(c)
--leave field --leave field
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCode(EFFECT_SEND_REPLACE) e2:SetCode(EFFECT_SEND_REPLACE)
e2:SetTarget(cm.reptg) e2:SetTarget(cm.reptg)
...@@ -66,6 +67,7 @@ function cm.initial_effect(c) ...@@ -66,6 +67,7 @@ function cm.initial_effect(c)
--destroy replace --destroy replace
local e8=Effect.CreateEffect(c) local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE) e8:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e8:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e8:SetCode(EFFECT_DESTROY_REPLACE) e8:SetCode(EFFECT_DESTROY_REPLACE)
e8:SetRange(LOCATION_MZONE) e8:SetRange(LOCATION_MZONE)
e8:SetTarget(cm.desreptg) e8:SetTarget(cm.desreptg)
...@@ -260,7 +262,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -260,7 +262,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetReset(RESET_EVENT+RESETS_REDIRECT) e1:SetReset(RESET_EVENT+RESETS_REDIRECT)
e1:SetValue(LOCATION_DECK) e1:SetValue(LOCATION_DECK)
tc:RegisterEffect(e1,true) tc:RegisterEffect(e1,true)
tc=g:GetNext() tc=exg:GetNext()
end end
Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT)
local p=tp local p=tp
......
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