Commit 6bdadd3e authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 79e8c2e8
Pipeline #29723 passed with stages
in 27 minutes and 28 seconds
......@@ -8,7 +8,7 @@ function c50218599.initial_effect(c)
e1:SetCountLimit(1,50218599)
e1:SetCondition(c50218599.condition)
e1:SetCost(c50218599.cost)
e1:SetTarget(c50218599.target)
e1:SetTarget(aux.nbtg)
e1:SetOperation(c50218599.activate)
c:RegisterEffect(e1)
--draw
......@@ -30,13 +30,6 @@ function c50218599.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckRemoveOverlayCard(tp,1,0,1,REASON_COST) end
Duel.RemoveOverlayCard(tp,1,0,1,1,REASON_COST)
end
function c50218599.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return re:GetHandler():IsAbleToRemove() end
Duel.SetOperationInfo(0,CATEGORY_NEGATE,eg,1,0,0)
if re:GetHandler():IsRelateToEffect(re) then
Duel.SetOperationInfo(0,CATEGORY_REMOVE,eg,1,0,0)
end
end
function c50218599.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.NegateActivation(ev) and re:GetHandler():IsRelateToEffect(re) then
Duel.Remove(eg,POS_FACEUP,REASON_EFFECT)
......
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