Commit 2197aaab authored by nanahira's avatar nanahira

fix

parent 198deb14
Pipeline #35731 passed with stage
in 19 seconds
...@@ -133,7 +133,7 @@ cm.e2 = { ...@@ -133,7 +133,7 @@ cm.e2 = {
end, end,
op = function (e, tp, eg, ep, ev, re, r, rp) op = function (e, tp, eg, ep, ev, re, r, rp)
local c = e:GetHandler() local c = e:GetHandler()
if Duel.Remove(c, POS_FACEUP, REASON_EFFECT) > 0 then if c:IsRelateToEffect(e) and Duel.Remove(c, POS_FACEUP, REASON_EFFECT) > 0 then
Duel.BreakEffect() Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp, cm.e2.filter, tp, LOCATION_EXTRA, 0, 1, 1, nil, e, tp) local g=Duel.SelectMatchingCard(tp, cm.e2.filter, tp, LOCATION_EXTRA, 0, 1, 1, nil, e, tp)
...@@ -142,4 +142,4 @@ cm.e2 = { ...@@ -142,4 +142,4 @@ cm.e2 = {
end end
end end
end end
} }
\ No newline at end of file
...@@ -63,7 +63,7 @@ cm.e2 = { ...@@ -63,7 +63,7 @@ cm.e2 = {
end, end,
op = function (e, tp, eg, ep, ev, re, r, rp) op = function (e, tp, eg, ep, ev, re, r, rp)
local c = e:GetHandler() local c = e:GetHandler()
if Duel.Remove(c, POS_FACEUP, REASON_EFFECT) > 0 and c:IsLocation(LOCATION_REMOVED) and c:IsFaceup() then if c:IsRelateToEffect(e) and Duel.Remove(c, POS_FACEUP, REASON_EFFECT) > 0 and c:IsLocation(LOCATION_REMOVED) and c:IsFaceup() and Duel.GetLocationCount(tp, LOCATION_MZONE) > 0 then
Duel.BreakEffect() Duel.BreakEffect()
Duel.SpecialSummon(c, 0, tp, tp, false, false, POS_FACEUP) Duel.SpecialSummon(c, 0, tp, tp, false, false, POS_FACEUP)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
......
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