Project 1999

Go Back   Project 1999 > Blue Community > Blue Server Chat

Reply
 
Thread Tools Display Modes
  #1  
Old 02-13-2023, 05:55 PM
Vivitron Vivitron is offline
Sarnak


Join Date: Apr 2020
Posts: 464
Default

Although according to this bards and rogues are supposed to be on the same damage table after Oct 2001, so perhaps the difference in max hit between them with the same damage weapon is a bug.
Reply With Quote
  #2  
Old 02-13-2023, 06:31 PM
messiah_b messiah_b is offline
Sarnak


Join Date: Nov 2009
Posts: 206
Default

I know that the P99 code is branched from this and not public, but curiously there is a very familiar number in a custom damage cap for shaman listed in the public code as part of a section supporting hard-coded class based caps.

Line 1303: https://github.com/EQEmu/Server/blob...one/attack.cpp

else if (level >= 40) {
switch (GetClass()) {
case CLERIC:
case DRUID:
case SHAMAN:
cap = 80;
break;
Reply With Quote
  #3  
Old 02-14-2023, 10:28 AM
DeathsSilkyMist DeathsSilkyMist is offline
Planar Protector

DeathsSilkyMist's Avatar

Join Date: Jan 2014
Posts: 8,125
Default

Quote:
Originally Posted by messiah_b [You must be logged in to view images. Log in or Register.]
I know that the P99 code is branched from this and not public, but curiously there is a very familiar number in a custom damage cap for shaman listed in the public code as part of a section supporting hard-coded class based caps.

Line 1303: https://github.com/EQEmu/Server/blob...one/attack.cpp

else if (level >= 40) {
switch (GetClass()) {
case CLERIC:
case DRUID:
case SHAMAN:
cap = 80;
break;
Glad to see someone else is looking at the code! I believe that is the WEAPON damage caps, not the MAXIMUM damage caps. on P99 at least, the MAXIMUM damage cap seems to be based on weapon damage. For Shamans it looks like 4.2 MAXIMUM damage per 1 WEAPON damage. This is why I can only hit for 63 with a 15 damage weapon. If 80 was the static MAXIMUM damage, I should be hitting higher than 63 with a 15 damage weapon with 255 STR and Avatar.
Reply With Quote
  #4  
Old 02-22-2023, 08:58 AM
radbeard radbeard is offline
Sarnak

radbeard's Avatar

Join Date: Dec 2016
Posts: 235
Default

Of course there is a maximum damage, because stats only get so high. I think probably that is what you are seeing.

I don't see anywhere that +ATK increases maximum damage. +ATK decreases the effectiveness of the target AC so that on average you roll higher damage numbers, but doesn't increase the max damage.

It also seems possible that over 200 strength more strength is half as effective at increasing the damage mod.

When you plug those numbers in you get damage values very very close to what you're suggesting here. Probably we could work it out exactly if you posted the exact stats and buffs and did a long-ish parse on some low level mobs. Your SK magelo, for example, doesn't have max str and thats with a +25 STR stat 2hander. So in an earlier post I don't know what 25 damage weapon you referenced but are you sure you were at max str with it and attacking a mob that had low-ish ac (the low AC won't increase the max it will just make you see the max more often so it takes less time to establish)?

Below is what I think you would expect to see as the max damage for a 25 DMG 1-hander used by different classes with max stats assuming STR is half as effective over 200.

This same formula suggests you should be able to hit for 64 with a 15 damage weapon as a shaman. So maybe you could hit for 1 higher potentially (easier to parse this on a lower AC target) or maybe its how rounding is handled somewhere in the code, but its a very similar result. The +ATK from Avatar should not increase your cap, just increase your average.

Mod Formula: ((Off_Skill+Str(Cap200)+(Str_Over_200/2))/100) = MOD
Max Damage Formula: (MOD*WPN_DMG)+DMG_Bonus

Str over cap below is just 55 strength divided by 2, to account for a softcap.
[You must be logged in to view images. Log in or Register.]
Reply With Quote
  #5  
Old 02-23-2023, 11:12 AM
DeathsSilkyMist DeathsSilkyMist is offline
Planar Protector

DeathsSilkyMist's Avatar

Join Date: Jan 2014
Posts: 8,125
Default

Quote:
Originally Posted by radbeard [You must be logged in to view images. Log in or Register.]
Of course there is a maximum damage, because stats only get so high. I think probably that is what you are seeing.

I don't see anywhere that +ATK increases maximum damage. +ATK decreases the effectiveness of the target AC so that on average you roll higher damage numbers, but doesn't increase the max damage.

It also seems possible that over 200 strength more strength is half as effective at increasing the damage mod.

When you plug those numbers in you get damage values very very close to what you're suggesting here. Probably we could work it out exactly if you posted the exact stats and buffs and did a long-ish parse on some low level mobs. Your SK magelo, for example, doesn't have max str and thats with a +25 STR stat 2hander. So in an earlier post I don't know what 25 damage weapon you referenced but are you sure you were at max str with it and attacking a mob that had low-ish ac (the low AC won't increase the max it will just make you see the max more often so it takes less time to establish)?

Below is what I think you would expect to see as the max damage for a 25 DMG 1-hander used by different classes with max stats assuming STR is half as effective over 200.

This same formula suggests you should be able to hit for 64 with a 15 damage weapon as a shaman. So maybe you could hit for 1 higher potentially (easier to parse this on a lower AC target) or maybe its how rounding is handled somewhere in the code, but its a very similar result. The +ATK from Avatar should not increase your cap, just increase your average.

Mod Formula: ((Off_Skill+Str(Cap200)+(Str_Over_200/2))/100) = MOD
Max Damage Formula: (MOD*WPN_DMG)+DMG_Bonus

Str over cap below is just 55 strength divided by 2, to account for a softcap.
[You must be logged in to view images. Log in or Register.]
Ah yes, I didn't mean to sound like I was surprised there was a max damage. All variables have a limit, and the EQEMU code has a max damage as well. I am more interested if the max damage was low enough for melee classes to hit it. For Shaman it is certainly the case.

Based on my testing I am fairly certain +ATK increases max damage. I couldn't hit my old max damage without the +40ish attack, and I didn't change my STR. The 25 damage weapon I was referring to is https://wiki.project1999.com/Eye_of_the_Rigtorgn .

If the max damages are correct from this post https://www.project1999.com/forums/s...d.php?t=415495 , that would suggest a ranger's max damage is more like 6 max damage per 1 weapon damage. The last bit of damage is coming from the 2h bonus probably. That is why Primal hits for a bit more, because the delay is higher.

Quote:
Originally Posted by Vivitron [You must be logged in to view images. Log in or Register.]
There's no attack in the formula you suggested above, though. On my bard I seem to get 97 max prime hand with a 16 damage weapon, and 92 prime hand with a 15 damage, regardless of avatar status.

Looking through my logs it looks like rogues are probably hitting 96 with a 15 damage prime hand.
Vivitron's post seems to suggest basically 6 max damage per 1 weapon damage as well for Rogues/Bards. So that may be the case for most melees. But I would be interested to see if people can post higher numbers (not crits, those aren't quite the same).
Reply With Quote
  #6  
Old 02-23-2023, 06:59 PM
radbeard radbeard is offline
Sarnak

radbeard's Avatar

Join Date: Dec 2016
Posts: 235
Default

There are a bunch of people here saying that +ATK doesn't increase their max damage, and that is what all the formulas I can find say. I think the simplest explanation here is that +ATK doesn't increase your max damage.

You seem to be assuming that isn't true. And maybe you are correct, but if so I think you should do some intentional parses to compare.

Get to max str with zero + ATK items and parse a bit to establish a max attack and then do it again with avatar and/or with +ATK items. And then post the results so we can see exactly what is happening. If it does go up with + ATK items on then try it with +10, +20, +30, +40 gear to see if it stops going up.

The next thing to do would be to get well below max str and only use +ATK items and compare the same low strength with and w/o + ATK items. This would side-step your theory about a damage cap since the low str would keep you under it.
Last edited by radbeard; 02-23-2023 at 07:02 PM..
Reply With Quote
  #7  
Old 02-23-2023, 11:54 PM
meathook meathook is offline
Aviak


Join Date: Oct 2019
Posts: 68
Default

Yeah, there is a max damage, but most people wont reach it. On my monk at some point stacking STR + AOB + Avatar I capped my max hit and adding additional AOB / +ATK items didnt matter.

If your toon is stacked on ATK items/buffs, you can easily see this by having someone sit, hitting them, and then adding/subtracting +ATK gear and still hitting for the same max dmg.

That doesnt mean your average dmg wont continue to increase. I have no proof it does or it doesnt cause that was a parse I didnt want to do. I just know at a certain point your max dmg caps.
Reply With Quote
  #8  
Old 02-24-2023, 11:04 AM
DeathsSilkyMist DeathsSilkyMist is offline
Planar Protector

DeathsSilkyMist's Avatar

Join Date: Jan 2014
Posts: 8,125
Default

Quote:
Originally Posted by radbeard [You must be logged in to view images. Log in or Register.]
There are a bunch of people here saying that +ATK doesn't increase their max damage, and that is what all the formulas I can find say. I think the simplest explanation here is that +ATK doesn't increase your max damage.

You seem to be assuming that isn't true. And maybe you are correct, but if so I think you should do some intentional parses to compare.

Get to max str with zero + ATK items and parse a bit to establish a max attack and then do it again with avatar and/or with +ATK items. And then post the results so we can see exactly what is happening. If it does go up with + ATK items on then try it with +10, +20, +30, +40 gear to see if it stops going up.

The next thing to do would be to get well below max str and only use +ATK items and compare the same low strength with and w/o + ATK items. This would side-step your theory about a damage cap since the low str would keep you under it.
I already did intentional parses. I had 225 STR and +0 ATK vs 225 STR and +40ish ATK. Without ATK I hit for up to 124, with +40ish ATK I hit for up to 132. This is with a 25 damage weapon https://wiki.project1999.com/Eye_of_the_Rigtorgn . I haven't hit the damage cap yet with my Shadowknight, only my Shaman.
Last edited by DeathsSilkyMist; 02-24-2023 at 11:11 AM..
Reply With Quote
  #9  
Old 02-24-2023, 12:12 PM
Jimjam Jimjam is offline
Planar Protector


Join Date: Jul 2013
Posts: 12,667
Default

Quote:
Originally Posted by DeathsSilkyMist [You must be logged in to view images. Log in or Register.]
I already did intentional parses. I had 225 STR and +0 ATK vs 225 STR and +40ish ATK. Without ATK I hit for up to 124, with +40ish ATK I hit for up to 132. This is with a 25 damage weapon https://wiki.project1999.com/Eye_of_the_Rigtorgn . I haven't hit the damage cap yet with my Shadowknight, only my Shaman.
that is like an 8% increase in damage, ignoring damage bonus... is every 5 attack just giving +1% to max random damage?!
Reply With Quote
  #10  
Old 02-24-2023, 12:21 PM
DeathsSilkyMist DeathsSilkyMist is offline
Planar Protector

DeathsSilkyMist's Avatar

Join Date: Jan 2014
Posts: 8,125
Default

Quote:
Originally Posted by Jimjam [You must be logged in to view images. Log in or Register.]
that is like an 8% increase in damage, ignoring damage bonus... is every 5 attack just giving +1% to max random damage?!
I looked into the EQEMU code, and it seems like +ATK just gets added to Offense.

With the formula Weapon Damage * (([Offense Skill] + [STR]) / 100):
25 * (([220 + 0] + [225]) / 100) = 111 + 11 = 122.
25 * (([220 + 40] + [225]) / 100) = 121 + 11 = 132.

This seems to add up more or less.
Reply With Quote
Reply


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 01:51 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.