Commit 521286ec authored by tsubaki's avatar tsubaki

2.0.0 fix6

parent 61614649
Pipeline #39145 passed with stage
in 4 seconds
......@@ -22,11 +22,6 @@ function c21145.cost(e,tp,eg,ep,ev,re,r,rp,chk)
return Duel.IsExistingMatchingCard(c21145.filter,tp,LO,0,1,nil) end
local g=Duel.SelectMatchingCard(tp,c21145.filter,tp,LO,0,1,1,nil)
Duel.Release(g,REASON_COST)
if g:GetFirst():IsSetCard(0x522) then
e:SetLabel(1)
else
e:SetLabel(0)
end
end
function c21145.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,0,LOCATION_HAND,1,nil) end
......@@ -35,7 +30,6 @@ end
function c21145.activate(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(Card.IsAbleToRemove,tp,0,LOCATION_HAND,nil)
if g:GetCount()==0 then return end
local ct=e:GetLabel()
local a,b,dot=DOT.DotCounter.Get(1-tp)
local rg=g:RandomSelect(tp,2)
if Duel.Remove(rg,POS_FACEDOWN,REASON_EFFECT)~=0 then
......
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