Commit 9397ecaf authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c23410015.lua

parent 82f655d6
...@@ -74,16 +74,13 @@ function cm.rmcheck(c,tp) ...@@ -74,16 +74,13 @@ function cm.rmcheck(c,tp)
return c:IsAbleToRemove(tp,POS_FACEDOWN,REASON_EFFECT) return c:IsAbleToRemove(tp,POS_FACEDOWN,REASON_EFFECT)
end end
function cm.rmop(e,tp,eg,ep,ev,re,r,rp) function cm.rmop(e,tp,eg,ep,ev,re,r,rp)
local g1=Duel.GetFieldGroup(tp,LOCATION_DECK,0) Duel.DisableShuffleCheck()
local rg1=g1:Filter(cm.rmcheck,nil,tp) local rg1=Duel.GetFieldGroup(tp,LOCATION_DECK,0)
local g2=Duel.GetFieldGroup(tp,0,LOCATION_DECK) local tc=rg1:GetMinGroup(Card.GetSequence):GetFirst()
local rg2=g2:Filter(cm.rmcheck,nil,tp) local rg2=Duel.GetFieldGroup(tp,0,LOCATION_DECK)
if Duel.IsPlayerAffectedByEffect(tp,23410013) then local tc2=rg2:GetMinGroup(Card.GetSequence):GetFirst()
Duel.Hint(HINT_CARD,0,23410017) local rmg=Group.FromCards(tc,tc2)
rg2=g2:Filter(cm.rmcheck,nil,tp) Duel.Remove(rmg,POS_FACEDOWN,REASON_EFFECT) end
end
rg1:Merge(rg2)
if #rg1==2 then Duel.Remove(rg1,POS_FACEDOWN,REASON_EFFECT) end
end end
function cm.cfilter(c,tp) function cm.cfilter(c,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