|
| 21 Apr 2014 02:35 AM |
okay so i am creating a rpg game and i want to find prfect lvl up exp formula for lvl up so i find a game with rly good exp but idk whats that formula XP Lvl 1 100 2 300 3 800 4 1,700 5 3,200 6 5,400 7 8,600 8 13,000 9 18,900 10 26,600 11 36,500 12 48,900 13 64,500 14 83,800
i was already trying to create a formula like that but closest one i created was lvl+(lvl-1)*100 anyone know the prfect one ? |
|
|
| Report Abuse |
|
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
| |
|
|
| 21 Apr 2014 02:38 AM |
| well thats a table of exp per lvl |
|
|
| Report Abuse |
|
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
|
| 21 Apr 2014 02:43 AM |
| can you paste the table please and not random values |
|
|
| Report Abuse |
|
|
|
| 21 Apr 2014 02:46 AM |
shaiya.wikia.[com/wiki/]Experience_Table
remove []
there is your table btw i am trying to create normal mode exp |
|
|
| Report Abuse |
|
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
|
| 21 Apr 2014 02:57 AM |
i meant the table as in lua noob
local _EXP={ {Level=1,'name_of_level',Difficulty='Easy'};--normal, hard }; so on |
|
|
| Report Abuse |
|
|
Jezbob
|
  |
| Joined: 19 Nov 2008 |
| Total Posts: 764 |
|
|
| 21 Apr 2014 05:45 AM |
May I present, my cunning plan. #Blackadder Best
Use the formula for a geometric series.
ar^0 + ar^1 + ar^2 + ar^3 + ar^4
a = First XP value r = Multiplier between each xp ^ = To the power of
And remember anything to the power of 0 is 1; thus the first value is just a
That is the formula for a geometric series. Use it my good man! |
|
|
| Report Abuse |
|
|
|
| 21 Apr 2014 05:52 AM |
@Jez That's a snazzy formula you got there.
Here's my siggy... Done. |
|
|
| Report Abuse |
|
|
Jezbob
|
  |
| Joined: 19 Nov 2008 |
| Total Posts: 764 |
|
|
| 21 Apr 2014 05:55 AM |
I knew maths would come in handy one day!
Oh, what a coincidence, it's exactly 1 month today I sit a maths exam which includes geometric series :( |
|
|
| Report Abuse |
|
|
RoflBread
|
  |
| Joined: 18 Jun 2009 |
| Total Posts: 3803 |
|
| |
|
|
| 21 Apr 2014 07:54 AM |
@translate
i dont have rpg.lua table for that exp i am trying to create one -_-
@jez thank you i guess that could be usefull :) |
|
|
| Report Abuse |
|
|