Even a quarter ellipse will do.

I have put a name to my pain!

**Bias**

This module calculates Ken Perlin's Bias function. Given an input value between 0 and 1, it calculates an output value which is also between 0 and 1 according to:

**y(x) = x^(log(B)/log(0.5))**

where the input value x and bias B correspond to the two input ports. If B=0.5, then y(x)=x. Values of B less than 0.5 push the output toward smaller values, while values of B greater than 0.5 push the output toward larger values.Source:

http://www.artofillusion.org/docs/texedtut/chapter4So I played around a bit with it and came up with:

*ceil(18 + (("level" / 99)^(log(0.15) / log(0.5))) * 881 + "level")*Essentially what this does is force Level 1 to be 20HP, and upon every level up you gain at the very least 1 HP, and the amount grows with each level up, until Level 99, at which it will end on 999 HP. I'm not huge into the ugly fix making it a 1 HP stat growth in the beginning, but it only lasts until around Level 10 or so.

Here's the cap with an example!

http://dl.dropbox.com/u/20459682/levelhp.capIt feels a bit convoluted though, so of course, I'm still open to suggestions!

TL222011-09-09 17:31:46