Project 1999

Go Back   Project 1999 > Class Discussions > Priests

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 08-17-2014, 05:54 PM
Zaela Zaela is offline
Sarnak


Join Date: Jul 2014
Posts: 319
Default

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.
Last edited by Zaela; 08-17-2014 at 06:52 PM.. Reason: forgot to truncate when calculating the per-wis value ;p
  #2  
Old 08-19-2014, 12:29 PM
bluejam bluejam is offline
Sarnak


Join Date: Jun 2010
Posts: 481
Default

Quote:
Originally Posted by Zaela [You must be logged in to view images. Log in or Register.]
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.
__________________
Dexs the Druid.
  #3  
Old 08-19-2014, 06:26 PM
Zaela Zaela is offline
Sarnak


Join Date: Jul 2014
Posts: 319
Default

Quote:
Originally Posted by bluejam [You must be logged in to view images. Log in or Register.]
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.
Last edited by Zaela; 08-19-2014 at 06:32 PM..
  #4  
Old 09-03-2014, 02:05 PM
Ishio Ishio is offline
Sarnak

Ishio's Avatar

Join Date: Sep 2010
Posts: 402
Default

[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?
__________________
Ishio Joysword Wood Elf Druid - Blue
Ebraura Dark Elf Enchantress - Blue
Dieser Troll Shaman - Green
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:54 PM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.