|
metadata
Hey,
I've noticed lately that I am not getting the right amount of EXP on my offerings.
[Edit: TLDR - Research 4-16 doesn't work as intended. Displayed EXP per offering goes up by 1% per level, actual EXP gained goes up by 0.25% per level.]
So I've been leveling my thrist rune. I've spend 1000 offerings, each of them are suppose to give 4301 EXP. Before I spend them the rune needed 7.45e6 EXP. After I spend the offerings, 4.14e6 EXP is remaining. This means I got ~3310 EXP per offering.
I just tested this with Prism rune. As the XP was low, I decided to only use 100 offerings. The game says I should get 1499 EXP per offering for this rune. It needed 372.775 EXP before spending the offerings. After spending the offerings, it needed 257.083 EXP. So I got 1157 EXP per offering instead. So it's bugged too.
So I think we can rule out research 1-17, which is maxed for me. As 1-17 only affects thrist rune, and it's clear that this bug is not limited to thrist rune.
I think it has something to do with research 4-16. The +1% EXP for all runes. I got it at level 45. In a few hours I'll level up this research some more, and see if I can find what's going on.
Also from a programming standpoint, I am a little puzzled what's going on. It looks like inside the programming, you've used the actual EXP formula in different locations. Changed one, but did not change the other. Something like that will result in issues as I witnessed now, where the displayed and given EXP is not equal. You should write a function that will return the EXP, and call upon this function at different points in the code. This means that the displayed amount and given amount can never be different. This also means you have to edit the formula only at 1 location.
Edit:
I've increased research 4-16 by 1 level. This is what I've found.
So I decided to increase Prism rune again, as it shows the full number.
It displays that I get 1509 EXP per offering now, from 1499 before. This is accurate, going from x1.45 to x1.46.
Like before I spend 100 offerings, so it doesn't level up.
Before spending the offerings: 248.064 EXP needed to level up.
After spending the offerings: 132.064 EXP needed to level up.
Difference is 116.000. So I actually got 1160 EXP per offering.
When 4-16 was level 45, I used to get 1157 EXP per offering. Now that it's level 46, I am getting 1160 EXP per offering.
If I do 1157 / 1.45 * 1.46. I am suppose to get 1165 EXP per offering.
Conclusion:
When displaying the EXP per offering, it gives 1% per level of research 4-16. This is correct.
But when giving EXP to the rune, it does NOT give 1% per level. The number is 0.25% per level. 1157 / 1.1125 * 1.115 = 1159.6 => rounded turns to 1160
Going back to Thrist Rune, if I do 4301 / 1.45 * 1.1125. The result is 3299. Yet I was getting ~3310 EXP per level. Might be some rounding issues.
Edit:
The latest patch has fixed the bug.
|