Commit 325a2a2f authored by DailyShana's avatar DailyShana

fix

parent b287f2a4
...@@ -49,11 +49,15 @@ function c76067258.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -49,11 +49,15 @@ function c76067258.operation(e,tp,eg,ep,ev,re,r,rp)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT) e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
e2:SetProperty(EFFECT_FLAG_SET_AVAILABLE+EFFECT_FLAG_OWNER_RELATE) e2:SetProperty(EFFECT_FLAG_SET_AVAILABLE+EFFECT_FLAG_OWNER_RELATE)
e2:SetCondition(c76067258.indcon)
e2:SetValue(1) e2:SetValue(1)
e2:SetReset(RESET_EVENT+0x1fe0000) e2:SetReset(RESET_EVENT+0x1fe0000)
tc:RegisterEffect(e2) tc:RegisterEffect(e2)
end end
end end
function c76067258.indcon(e)
return e:GetOwner():IsHasCardTarget(e:GetHandler())
end
function c76067258.repfilter(c,tp) function c76067258.repfilter(c,tp)
return c:IsControler(tp) and c:GetFlagEffect(76067258)~=0 return c:IsControler(tp) and c:GetFlagEffect(76067258)~=0
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