Commit 061088e5 authored by sidschingis's avatar sidschingis

fix nontargetable value

parent e459f186
...@@ -30,7 +30,7 @@ function c71209500.efop(e,tp,eg,ep,ev,re,r,rp) ...@@ -30,7 +30,7 @@ function c71209500.efop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET) e1:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
e1:SetValue(1) e1:SetValue(c71209500.efilter)
e1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e1) tc:RegisterEffect(e1)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
...@@ -42,3 +42,6 @@ function c71209500.efop(e,tp,eg,ep,ev,re,r,rp) ...@@ -42,3 +42,6 @@ function c71209500.efop(e,tp,eg,ep,ev,re,r,rp)
tc=g:GetNext() tc=g:GetNext()
end end
end end
function c71209500.efilter(e,re)
return re:GetHandler():IsType(TYPE_MONSTER)
end
\ No newline at end of file
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