Commit 5c5df768 authored by wyykak's avatar wyykak

fix 26119

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 6ab87a22
Pipeline #14173 passed with stage
in 2 minutes and 24 seconds
......@@ -38,7 +38,7 @@ function c26119.initial_effect(c)
e4:SetTargetRange(LOCATION_ONFIELD,0)
e4:SetCondition(c26119.econdition)
e4:SetTarget(c26119.etarget)
e4:SetValue(c26119.tgval)
e4:SetValue(aux.tgoval)
c:RegisterEffect(e4)
--copy
local e5=Effect.CreateEffect(c)
......@@ -82,16 +82,12 @@ function c26119.operation1(e,tp,eg,ep,ev,re,r,rp)
end
end
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)
end
function c26119.etarget(e,c)
return c:IsFaceup()
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)
return c:IsType(TYPE_MONSTER) and c:IsLevelBelow(8)
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