Since you want an exponential curve, maybe you could teach yourself logarithms so that you are comfortable enough to solve your problem by yourself?
There are basically three things to know:
- the reverse operation of
exp is log: log(exp(a)) = a
exp(a+b) = exp(a) * exp(b)
log(a*b) = log(a) + log(b)
Let’s see your specific problem. You want a rule such that:
damage = A * exp(B * level)
Now we just need to find A and B. Write down your two requirements (damage 1000 at level 100, damage 10 at level 1):
1000 = A * exp(B * 100)
10 = A * exp(B * 1)
If these are equal, then certainly their logarithms are equal:
log(1000) = log(A * exp(B * 100))
log(10) = log(A * exp(B * 1))
Use rule 3 to break down log(a*b):
log(1000) = log(A) + log(exp(B * 100))
log(10) = log(A) + log(exp(B * 1))
Use rule 1 to get rid of log(exp(…)):
log(1000) = log(A) + B * 100
log(10) = log(A) + B
Subtract through:
log(1000) - log(10) = B * (100 - 1)
This gives the value for B:
B = (log(1000) - log(10)) / (100 - 1)
And from the original equation 10 = A * exp(B * 1) we get:
A = 10 / exp(B * 1)
The same method can be used to get a generic formula. You can replace 1, 10, 100 and 1000 with other values of your choice.