Commit 5c5df768 authored by wyykak's avatar wyykak

fix 26119

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 6ab87a22
...@@ -38,7 +38,7 @@ function c26119.initial_effect(c) ...@@ -38,7 +38,7 @@ function c26119.initial_effect(c)
e4:SetTargetRange(LOCATION_ONFIELD,0) e4:SetTargetRange(LOCATION_ONFIELD,0)
e4:SetCondition(c26119.econdition) e4:SetCondition(c26119.econdition)
e4:SetTarget(c26119.etarget) e4:SetTarget(c26119.etarget)
e4:SetValue(c26119.tgval) e4:SetValue(aux.tgoval)
c:RegisterEffect(e4) c:RegisterEffect(e4)
--copy --copy
local e5=Effect.CreateEffect(c) local e5=Effect.CreateEffect(c)
...@@ -82,16 +82,12 @@ function c26119.operation1(e,tp,eg,ep,ev,re,r,rp) ...@@ -82,16 +82,12 @@ function c26119.operation1(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c26119.econdition(e,tp,eg,ep,ev,re,r,rp) function c26119.econdition(e,tp,eg,ep,ev,re,r,rp)
local tp=e:GetHandler():GetControler()
return Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_PZONE,0,1,e:GetHandler(),26119) return Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_PZONE,0,1,e:GetHandler(),26119)
end end
function c26119.etarget(e,c) function c26119.etarget(e,c)
return c:IsFaceup() return c:IsFaceup()
end end
function c26119.tgval(e,re,rp)
-- local tp=e:GetHandler():GetControler()
-- return tp~=rp and aux.tgval(e,re,rp)
return aux.tgoval(e,re,rp)
end
function c26119.cfilter(c) function c26119.cfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsLevelBelow(8) return c:IsType(TYPE_MONSTER) and c:IsLevelBelow(8)
end 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