LCKB
p2 pet exp rate - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157)
+----- Forum: Ep3 Support (https://lckb.dev/forum/forumdisplay.php?fid=150)
+------ Forum: Solved topics (https://lckb.dev/forum/forumdisplay.php?fid=151)
+------ Thread: p2 pet exp rate (/showthread.php?tid=3146)

Pages: 1 2 3


- Peter3 - 01-08-2014


If i want to edit the APet..




- Wizatek - 01-08-2014


 

LONGLONG GetNeedExp()
{
if(m_level < 100) 
return (LONGLONG)(600 * pow(1.09, m_level)); 
else
return (LONGLONG)(65000 * pow(1.04, m_level)); 
}




- Walletman987 - 01-08-2014

@2  Whats that?  Could you explain?




- soryjero - 01-08-2014


@2  Whats that?  Could you explain?

 

i think it is function that gs use to pet exp.

 

under level 100, it multiplies exp you enter by 600

 

and over 100, it multiplies exp you enter by 65000




- Wizatek - 01-08-2014


That is the formula.

 

Lets say the level is 10

 

thats 1.09^10 * 600 = 1420,xxxx

 

So at level 10, the pet needs 1420 exp

 

 

At level 123

1.04^123 * 65000 = 8.091.221,xxxx




- Walletman987 - 01-09-2014

Okay, ty Wizatek.




- CDWriter - 01-09-2014



thanks 




- Sutz - 01-09-2014


Ok my maths is [CeNsOrEd] (I should have went to school :p)

So 600 is the default "Standard" rate an if I want to make it easyer to level apet all we need to do is lower this 600 which will lower the needed exp per level

So lets call value 600 x1 rate an if I want lets say a 65% easier levels just take 65% off 600 (leaving me 220)

 

1.09^10 * 220




- Peter3 - 01-09-2014

What editor do you use Wrong ?




- CDWriter - 01-10-2014


These are shown for a base level of 10 and 101 adjust based off that.

 

example : 1.09^10* 600 = 1420 What is needed to reach level 10 on a pet from lvl 1 - <=100. 

~~~~~~~~~~

1.09^10* 400  = 946.945469837

1.09^10* 500  = 1183.6818373

1.09^10* 600  = 1420.41820476  <-- Normal

1.09^10* 700  = 1657.15457221

1.09^10* 800  = 1893.89093967

1.09^10* 900  = 2130.62730713

1.09^10* 1000 = 2367.36367459

1.09^10* 1100 = 2604.10004205

 

These are shown for a base level 101 adjust based off that.

example : 1.04^101* 65000 = 3,414,134.49726 What is needed to reach level 10 on a pet from lvl 101->higher 

~~~~~~~~~~

1.04^101* 63000 = 3,309,084.20503

1.04^101* 64000 = 3,361,609.35114

1.04^101* 65000 = 3,414,134.49726  <- Normal

1.04^101* 66000 = 3,466,659.64337

1.04^101* 67000 = 3,519,184.78948

1.04^101* 68000 = 3,571,709.93559

1.04^101* 69000 = 3,624,235.0817

1.04^101* 70000 = 3,676,760.22781

 

Just remember everyone the ^ means the POWER of Value so ....

1.09^10*  is shown as 

1.09 x 1.09 x 1.09 x 1.09 x 1.09 x 1.09 x 1.09 x 1.09 x 1.09 x 1.09 = 2.36736367459   then Times that value times by 600 = 1420.41820476

 

 For everyone who dont understand the equation. so rounded Up our down you need 1420 exp for a pet t reach level 10.  

 

Wish someone would check my math .....Just to make sure i am 100% correct on this ...