Commit c03e4b40 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent b3bd1533
...@@ -47,8 +47,9 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -47,8 +47,9 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoDeck(c,nil,2,REASON_EFFECT) Duel.SendtoDeck(c,nil,2,REASON_EFFECT)
end end
end end
if Duel.IsPlayerAffectedByEffect(tp,12492002) and Duel.SelectYesNo(tp,aux.Stringid(12492002,2)) then if Duel.IsPlayerAffectedByEffect(tp,12492002) and Duel.GetFlagEffect(tp,m)==0 and Duel.SelectYesNo(tp,aux.Stringid(12492002,2)) then
Duel.NegateSummon(eg) Duel.NegateSummon(eg)
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
Duel.Destroy(eg,REASON_EFFECT) Duel.Destroy(eg,REASON_EFFECT)
end end
end end
...@@ -41,8 +41,9 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -41,8 +41,9 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoDeck(c,nil,2,REASON_EFFECT) Duel.SendtoDeck(c,nil,2,REASON_EFFECT)
end end
end end
if Duel.IsPlayerAffectedByEffect(tp,12492002) and Duel.SelectYesNo(tp,aux.Stringid(12492002,2)) then if Duel.IsPlayerAffectedByEffect(tp,12492002) and Duel.GetFlagEffect(tp,m)==0 and Duel.SelectYesNo(tp,aux.Stringid(12492002,2)) then
Duel.NegateActivation(ev) Duel.NegateActivation(ev)
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
if re:GetHandler():IsRelateToEffect(re) then if re:GetHandler():IsRelateToEffect(re) then
Duel.Destroy(re:GetHandler(),REASON_EFFECT) Duel.Destroy(re:GetHandler(),REASON_EFFECT)
end end
......
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