Rewrite these functions of my Edopro card so that instead of negating, it applies a continuous effect to the opposing player. All next activations of the same card will deal damage to the opponent of 1000 times the number of times he activated it this turn, counting from the activation of that effect. In other words, instead of negating the card, you should apply a continuous exponential burn effect that only ends at the end of this turn. rewrite the code below so it does what I asked!
function s.negcon(e,tp,eg,ep,ev,re,r,rp)
return NAME_1.IsChainNegatable(ev) and re:GetHandler()~=e:GetHandler()
end
function s.negcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk == 0 then return NAME_1.CheckLPCost(tp, 1500) end
NAME_1.PayLPCost(tp, 1500)
end
function s.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk == 0 then return true end
NAME_1.SetOperationInfo(0, CATEGORY_NEGATE, eg, 1, 0, 0)
end
function s.negop3(e,tp,eg,ep,ev,re,r,rp)
NAME_1.NegateEffect(ev)
end Please answer in JSON format.
user