Commit 17b1aca2 authored by TanakaKotoha's avatar TanakaKotoha

fix 5

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