Thread:Andibad/@comment-3271569-20130307152051/@comment-885547-20130307175059

Jens Ingels wrote: So it's??:
 * 1-9 = 5*(Lv^Lv)
 * 10-... = (5*1.3)*Lv

For Round is it default, floor or ceil? aw ....

you understand with this algorithm ? :

for(float i=1; i<level; i++){

if(i<10){

a = a *2

}else{

a=a*1.3

}

}

is a looping process.

example lv 4:

phase 1 : 5*2 = 10

phase 2 : 10*2 = 20

phase 3 : 20*2 = 40

phase 4 = 40*2 = 80

for level more than 9 :

....

phase 9 = 640*2 = 1280

phase 10 = 1280*1.3 = round(1664)

phase 11 = 1664*1.3 = round(2163.2) = 2163

....