Commit 17b1aca2 authored by TanakaKotoha's avatar TanakaKotoha

fix 5

parent 4dc22aa7
......@@ -56,11 +56,11 @@ function c33330099.initial_effect(c)
e10:SetValue(1)
c:RegisterEffect(e10)
end
function c33330099.afilter(c)
return bit.band(c:GetPreviousTypeOnField(),TYPE_EFFECT)==0 and c:IsType(TYPE_MONSTER)
function c33330099.afilter(c,tp)
return bit.band(c:GetPreviousTypeOnField(),TYPE_EFFECT)==0 and c:IsType(TYPE_MONSTER) and c:GetPreviousControler()==tp
end
function c33330099.con(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c33330099.afilter,1,nil)
return eg:IsExists(c33330099.afilter,1,nil,tp)
end
function c33330099.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(aux.TRUE,tp,0,LOCATION_ONFIELD,1,nil) 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