View Single Post
  #3  
Old 02-14-2023, 10:28 AM
DeathsSilkyMist DeathsSilkyMist is offline
Planar Protector

DeathsSilkyMist's Avatar

Join Date: Jan 2014
Posts: 8,136
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