Commit dbc23ce0 authored by Vury Leo's avatar Vury Leo

can activate oppression when facedown

parent 527bb073
......@@ -11,9 +11,9 @@ function s.initial_effect(c)
e3:SetDescription(aux.Stringid(id,0))
e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetRange(LOCATION_SZONE)
e3:SetProperty(EFFECT_FLAG_BOTH_SIDE)
e3:SetProperty(EFFECT_FLAG_BOTH_SIDE+EFFECT_FLAG_SET_AVAILABLE)
e3:SetCode(EVENT_SPSUMMON)
e3:SetCondition(aux.NegateSummonCondition)
e3:SetCondition(s.con2)
e3:SetCost(s.cost2)
e3:SetTarget(s.target2)
e3:SetOperation(s.activate2)
......@@ -31,6 +31,9 @@ function s.initial_effect(c)
e4:SetOperation(s.activate3)
c:RegisterEffect(e4)
end
function s.con2(e,tp,eg,ep,ev,re,r,rp)
return aux.NegateSummonCondition() and (e:GetHandler():IsFaceup() or e:GetHandler():GetControler()==tp)
end
function s.cost2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLPCost(tp,800) end
Duel.PayLPCost(tp,800)
......
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