Commit d8bc74c8 authored by salix5's avatar salix5

fix

parent 7cdb5fac
......@@ -54,14 +54,14 @@ function c29726552.spcon2(e,c)
and Duel.IsExistingMatchingCard(c29726552.cfilter,tp,0,LOCATION_MZONE,1,nil)
end
function c29726552.filter(c,tp)
return c:IsFaceup() and c:GetSummonPlayer()==tp
return c:GetSummonPlayer()==tp
end
function c29726552.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsCanRemoveCounter(tp,1,1,0x37,2,REASON_COST) end
Duel.RemoveCounter(tp,1,1,0x37,2,REASON_COST)
end
function c29726552.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return eg:IsExists(c29726552.filter,1,nil,1-tp) end
if chk==0 then return eg:IsExists(c29726552.filter,1,nil,1-tp) and not eg:IsContains(e:GetHandler()) end
local g=eg:Filter(c29726552.filter,nil,1-tp)
Duel.SetTargetCard(g)
end
......
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