ID:159342
 
How would I make a forumular to the end value will get smaller as the user trains?

var/value = rand(1,usr.endurance)/10
Say the value of of the rand was 70, then divide that by 10, which makes the end value 7. But with 80 as the endurance value, the end value will be 8. Gah! It's such a pain.
A formular (as in form, forumlar is actually a German word :p) or a formula?
Could you provide a little example of what exactly you want the values to end as, since I'm a bit puzzled by your description.
One set of values would be nice, to see intention.
In response to Schnitzelnagler
Well, I want the stamina in my game to decrease even less the more endurance you have.

so say your endurance is 200, and the decrease amount ended up as 6, I would the decrease amount to be less than 6 if I had more than 200 endurance.

And I meant Formula.
In response to Howey
And how should endurance decrease?
Linear, exponential, logarithmic, ...
Like, if you're heading for a linear decrease, you could simply change the sloop, given a steady interval.
usr.endurance=70
var/value=2000/usr.endurance
//value=28.57

usr.endurance=80
var/value=2000/usr.endurance
//value=25

One of possibilities