Commit a0007a8e authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12005018.lua

parent 7a0be910
...@@ -96,6 +96,7 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp) ...@@ -96,6 +96,7 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
local dg=Duel.SelectMatchingCard(tp,cm.filter1,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,1,nil) local dg=Duel.SelectMatchingCard(tp,cm.filter1,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,1,nil)
Duel.Release(dg,REASON_EFFECT+REASON_COST) Duel.Release(dg,REASON_EFFECT+REASON_COST)
Duel.SpecialSummon(c,SUMMON_TYPE_RITUAL,tp,tp,false,true,POS_FACEUP) Duel.SpecialSummon(c,SUMMON_TYPE_RITUAL,tp,tp,false,true,POS_FACEUP)
c:CompleteProcedure()
Duel.RegisterFlagEffect(tp,m,RESET_EVENT+RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,m,RESET_EVENT+RESET_PHASE+PHASE_END,0,1)
end end
end end
...@@ -112,6 +113,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -112,6 +113,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local dg=Duel.SelectMatchingCard(tp,cm.filter1,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,1,nil) local dg=Duel.SelectMatchingCard(tp,cm.filter1,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,1,nil)
Duel.Release(dg,REASON_EFFECT+REASON_COST) Duel.Release(dg,REASON_EFFECT+REASON_COST)
c:CompleteProcedure()
Duel.RegisterFlagEffect(tp,m,RESET_EVENT+RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,m,RESET_EVENT+RESET_PHASE+PHASE_END,0,1)
end end
function cm.tdtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.tdtg(e,tp,eg,ep,ev,re,r,rp,chk)
...@@ -126,4 +128,4 @@ function cm.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -126,4 +128,4 @@ function cm.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel.HintSelection(g) Duel.HintSelection(g)
Duel.SendtoGrave(g,REASON_EFFECT) Duel.SendtoGrave(g,REASON_EFFECT)
end end
end end
\ No newline at end of file
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