Upgrade equationThis is a featured page


Upgrade Equation

  • B is the value after upgrading.
  • b is the base value that you see in the item info popup.
  • n is the + amount.
  • f is a parameter that depends on which plus value range the item is in. Its values are presented in the table below and to the left.
  • s = 0 for equipment below level 73. Otherwise depends on the prefix/color of the item and whether it is a weapon or armor. Its values are presented in the table below and to the right.

Plus Range
f
1 - 10
1.05961
11 - 16
1.06989
Colors for weapons
s for armor
Blue7019
Green4512
Yellow308
White / Breeze / Guardian
154
White / Knowledge / Speedy
154
White / Ruin / Strong
154
White / Brace / Quick
00
White / Magic / Solid
00
White / Sharp / Warrior
00

Rounding of the result is performed as usual, ie round down if the decimal part is less than 0.5. This equation does not include the bonus effects of various upgrade levels.

So far this formula matches all the recorded values within 1 point. On the rare occasion it may be off by 2 points.


purpleflame
purpleflame
Latest page update: made by purpleflame , Nov 15 2009, 12:52 AM EST (about this update About This Update purpleflame Added missing note on the discrete variable n. - purpleflame

5 words added

view changes

- complete history)
Keyword tags: None
More Info: links to this page
Started By Thread Subject Replies Last Post
Falo new EP2 plus calculation 0 Nov 25 2009, 7:28 PM EST by Falo
Thread started: Nov 25 2009, 7:28 PM EST  Watch
Here the new EP2 plus calculation:

normal calculation: (it's still the same)
B = ftol( (b-s) * f^n ) - b

145+ calculation:
B = ftol( (b-s) * f^n * 10^-1 )

Note: p1,p2,p3 are taken from the game, so this is how the game calculates it.
p1 = 1,059999942779541
p2 = 1,070000052452087
p3 = 1,169999957084656

calculation sample (Item is above 145, so p3 is used, it's used from +1 - +16)

b = 290, s = 0, f = p3, n = 15

b - s = 290
f^n = 10,53...
290 * 10,53... = 3056,227...
ftol(3056,227... * 0,1) = 305

so the item would be 290 + 305

normally, if the item would be calculated with p2, then

b - s = 290
f^n = 2,759...
290 * 2,759... = 800,119...
ftol(800,119... - b) = 510

would be 290 + 510, they steal much this time...
Do you find this valuable?    
Keyword tags: None
Daktary Questions relating the upgrade equation... 3 Jun 12 2009, 1:00 AM EDT by purpleflame
Thread started: Jun 10 2009, 12:56 PM EDT  Watch
Hey, Purple! Let me start by saying that I don't have to much time to research this thoroughly because my final exams are in 2 weeks, but I looked it over a bit...
1.I studied your formula and yes, it's off by some points, and I think you have an error in it: I think there is a problem for the 'f' value, because it should be lower than 1, meaning, that's a '0' instead of '1', which gives an result close to those written in the tables.
2.Second, it isn't clear to me if the f should be multiplied by n( f * n), or multiplied by itself, n times( f * f * f...n times)(sorry, if I don't make myself too clear, but I haven't studied maths in english).
3.Your idea or rounding the value down has led me to do some studies and it seems that the formula would be written easier in this fashion: B = b * (1 / something) . That something is a equation of some sorts that decreases it's value with the rising of the + value from the table, so that (1 / something ) will increase by a value close to 0.05(which also rises slightly, to the +10 value, where it's more like a 0.15). This is from some quick calculations that I've made.
4.While doing these calculations, I've noticed that the values for the +7 upgrades(this I can tell you for sure) are resolved by this equation B = [b * 0.5], this means that it's half of the base value, rounded down. I checked this out with the values for the both the armors and weapons from the tables and it seems to be correct, so far. If you think this is ok, then we can go on to put the projected values for the +7 upgrades in the tables, for the others... there should be a general formula. :D
Do you find this valuable?    
Keyword tags: None
Show Last Reply
Showing 2 of 2 threads for this page