Commit f0bcbb56 authored by Grajade's avatar Grajade

Update c1184073.lua

parent 6c72c127
...@@ -30,15 +30,14 @@ function c1184073.tg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -30,15 +30,14 @@ function c1184073.tg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SelectTarget(tp,Card.IsFacedown,tp,0,LOCATION_ONFIELD,1,1,nil) Duel.SelectTarget(tp,Card.IsFacedown,tp,0,LOCATION_ONFIELD,1,1,nil)
end end
function c1184073.op1(e,tp,eg,ep,ev,re,r,rp) function c1184073.op1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc and tc:IsRelateToEffect(e) then if tc:IsFacedown() and tc:IsRelateToEffect(e) then
local e1_1=Effect.CreateEffect(e:GetHandler()) local e1_1=Effect.CreateEffect(c)
e1_1:SetType(EFFECT_TYPE_SINGLE) e1_1:SetType(EFFECT_TYPE_SINGLE)
e1_1:SetCode(EFFECT_CANNOT_TRIGGER) e1_1:SetCode(EFFECT_CANNOT_TRIGGER)
e1_1:SetProperty(EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_SET_AVAILABLE)
e1_1:SetRange(LOCATION_ONFIELD)
e1_1:SetReset(RESET_EVENT+RESETS_STANDARD) e1_1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1_1,true) tc:RegisterEffect(e1_1)
end end
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