Project 1999

Project 1999 (/forums/index.php)
-   Priests (/forums/forumdisplay.php?f=64)
-   -   Confused by mana per wisdom (/forums/showthread.php?t=161975)

bluejam 08-17-2014 04:32 PM

Confused by mana per wisdom
 
trying to figure out the formula to calculate my mana pool.

base pool at 60: 1516 @ 115 WIS

+GEBS
1620 ~ 124 = 11,55.. mana per wis

+vermi bp
1764 ~ 137 = 11.0769..

+enlightment
2002 ~ 158 = 11.3

+ruby veil
2079 ~ 165 = 11

+jasper ring
2146 ~ 171 = 11.16

+jasper ring
2214 ~ 177 = 11.3

+jasper ear
2250 ~ 180 = 12

+jasper ear
2281 ~ 183 = 10.3

I just don't get it... ofc 1 ring + 1 ear = 9 wis = same mana gained as if I just put on gebs. after reaching 200 wis it's more or less half the mana amount gained per added WIS, but still this really weird behaviour.

2980 Mana ~ 200 WIS (with other gear, irrelevant)
+6 ~ +31 = 5,16..
+6 ~ +36 = 6
+3 ~ +23 = 7,6..
+3 ~ +9 = 3
+13 ~ +81 = 6,23..




(WIS_UP_TO_200*11,54)+((11250+(33*WIS_ABOVE_200))/425)) with this formula I hit my current max. mana in regular gear with just a difference of 0,5 mana, but of course it doesn't work anymore once I change stuff. halp!

Zaela 08-17-2014 05:54 PM

Most of the oddity probably comes down to rounding.

Your values look about right coming out of the formula EQEmu has for pre-SoF clients:
Code:

if((( Wis - 199 ) / 2) > 0)
        MindLesserFactor = ( Wis - 199 ) / 2;
else
        MindLesserFactor = 0;

MindFactor = Wis - MindLesserFactor;

if(Wis > 100)
        max_m = (((5 * (MindFactor + 20)) / 2) * 3 * GetLevel() / 40);
else
        max_m = (((5 * (MindFactor + 200)) / 2) * 3 * GetLevel() / 100);

All the variables in there are integers, meaning decimals are truncated after each division operation. With that in mind, it matches up pretty well.

Comes down to about 10 (flip flops between 9 and 11?) mana per wis pre-200 at 60. After 200, it's not that you get half mana per wis so much as that every second point of wis (the odds) doesn't count. Which would explain how +3 wis can look like very little.

All that's assuming the devs haven't mucked with the clientside calculations, though.

Zaela 08-17-2014 08:28 PM

Extremely lame calculator for that in case there isn't one already: https://dl.dropboxusercontent.com/u/...mana_calc.html

Should be the same for int casters.

bluejam 08-19-2014 12:29 PM

Quote:

Originally Posted by Zaela (Post 1580147)
Most of the oddity probably comes down to rounding.

that's what I thought at first. I figured adding as much WIS as possible before I run out of slots/items, then dividing the gained mana by the total WIS would give me a good approximate, but it doesn't work either.

the formula in that last link isn't 100% accurate either. I have 3270 mana ingame, tho I only get 3256 using your little calculator.

Zaela 08-19-2014 06:26 PM

Quote:

Originally Posted by bluejam (Post 1582281)
the formula in that last link isn't 100% accurate either. I have 3270 mana ingame, tho I only get 3256 using your little calculator.

Makes me think it's off by 1 (effective) wis. Maybe it's the evens starting from 202 that don't count rather than odds from 201? Changed the calculator to that but who knows.

Close enough that it's almost certainly the right formula in general, though. The amount from 1 extra point of wis varies more than I thought. Assuming the formula is right, at level 60:

From 1 to 100: oscillates between 3 and 6 mana for each point of wis. Average: 4.5

From 101 to 200: proceeds in a pattern of 9, 13, 9, 14, repeat. Average for this portion: 11.25

From 201 to 255, same as 101 to 200, just staggered out to 9, 0, 13, 0, 9, 0, 14, 0, repeat. Average: ~5.73 (?)

Overall average from 1 to 255 would be around 7.41, but it would be silly to look at it that way when it's clearly stratified.

bluejam 08-23-2014 05:01 AM

thanks for your input! quite annoying pattern. >.>

Aveenia 08-25-2014 05:50 PM

That calculator is handy if crude. Thanks.

Zaela 08-25-2014 09:18 PM

Made the formatting slightly less bad and added an HP calculator to it.

Ishio 09-03-2014 02:05 PM

[QUOTE=Zaela;1580147]Most of the oddity probably comes down to rounding.

Your values look about right coming out of the formula EQEmu has for pre-SoF clients:
Code:

if((( Wis - 199 ) / 2) > 0)
        MindLesserFactor = ( Wis - 199 ) / 2;
else
        MindLesserFactor = 0;

MindFactor = Wis - MindLesserFactor;

if(Wis > 100)
        max_m = (((5 * (MindFactor + 20)) / 2) * 3 * GetLevel() / 40);
else
        max_m = (((5 * (MindFactor + 200)) / 2) * 3 * GetLevel() / 100);

So if I read this right, MindLessFactor is 0 then taken that is Wisdom, say 150 - 199 which is technically -49 *unaware in coding if the computer drops the -* then divides by 2? thus being 24.5.

Taking that into effect, Wisdom is AGAIN being subtracted by MindLessFactor, and from there on, it's dependent on your level, in which anything 41+ means you get more mana up to 200? Or is that you get 200 mana more. As that's the org MinLessFactor, 24.5 + 200, 224.5 / 2 = 112.25 * 5 = 562.5 then that * 3 = 1687.5 times the level, say 45, then divided by 100. 759.375 mana total from your wisdom amount?

Seredoc 11-12-2014 02:45 AM

Found one formula that looks a bit different

At or below 200 WI:

Mana = ( [ 850 * level ] + [ 85 * WI * level ] ) / 425

This can be simplified to the well-known (WI+10)*level/5

At or above 200 WI:

Mana = ( [ 11250 * level ] + [ 33 * WI * level ] ) / 425

Looks similar to what is posted but not exact(also tired atm so sue me) just thought I would share to see if anyone sees any accuracy


All times are GMT -4. The time now is 08:37 AM.

Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.