Quote:
|
Either that is P99 specific, or somewhere in the code I can't find. The function that pulls weapon damage on EQEMU seems to just pull the raw damage value. Maybe the damage gets doubled somewhere else a bit further along the function chain.
|
I believe this comes in the Roll20 function. Its called as part of MeleeMitigation here:
https://github.com/EQEmu/Server/blob...ttack.cpp#L960
RollD20 is selecting one of these values to multiply the damage by:
https://github.com/EQEmu/Server/blob...ttack.cpp#L915 , based on the difference between an offense roll and an AC roll. This is how additional +ATK increases average damage even if it doesn't increase max damage.
MeleeMitigation is called here, right before the damage table is applied:
https://github.com/EQEmu/Server/blob...tack.cpp#L1348