Commit ece80f81 authored by 花桃白音's avatar 花桃白音

fix #4202048--remove posfacedown

parent a326cee7
Pipeline #33192 passed with stages
in 46 minutes and 35 seconds
......@@ -47,7 +47,7 @@ function cm.initial_effect(c)
end)
e3:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
if Duel.SelectYesNo(c:GetOwner(),aux.Stringid(m,0)) then
cm.pickup = eg:Filter(Card.IsAbleToRemove,nil)
cm.pickup = eg:Filter(Card.IsAbleToRemove,nil,1-tp,POS_FACEDOWN_DEFENSE)
Duel.SpecialSummonRule(c:GetOwner(),e:GetHandler())
end
end)
......@@ -67,7 +67,7 @@ function cm.initial_effect(c)
e5:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
c:SetCardData(1,4202048)
local ctp = e:GetHandlerPlayer()
local g=Duel.GetFieldGroup(ctp,0,LOCATION_EXTRA):Filter(Card.IsAbleToRemoveAsCost,nil)
local g=Duel.GetFieldGroup(ctp,0,LOCATION_EXTRA):Filter(Card.IsAbleToRemoveAsCost,nil,1-tp,POS_FACEDOWN_DEFENSE)
Duel.Remove(g,POS_FACEDOWN,REASON_ACTION)
end)
c:RegisterEffect(e5)
......
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