I am assuming that somewhere deep in the code there is something that defines PROP_LIFE_DEC as life--, so elements can just say Properties = PROP_LIFE_DEC to decrease life at each frame. What I wanted to do was change that so in a mod, all elements that decreased life, increased it on each frame (life++ basically).
This is the only thing I could find (found in Elements.h):
#define PROP_LIFE_DEC 0x04000 //2^14 Life decreases by one every frame if > zero
So, I don't know what to do. I thought it would be as easy as changing a -- to a ++, but I don't know where to even find it.
Edit: So, it's been 24 hrs and no one has replied, so I'm assuming the people that read this didn't understand it (it was a little confusing). What I want to do is, with every frame, increase the life value of an element. I don't particularly care how I do it, but I think editing the definition of PROP_LIFE_DEC would be easiest. It would also be ok if I went to each element's code and forced it to increase life each frame. However, I don't know how to do that either.