Project 1999

Go Back   Project 1999 > Blue Community > Blue Server Chat

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #33  
Old 02-24-2023, 07:27 PM
7thGate 7thGate is offline
Sarnak


Join Date: Dec 2015
Posts: 370
Default

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
__________________
Jayya - 60 Rogue, Officer <Auld Lang Syne>

Sanctum Low Man Vindi Kill: https://www.youtube.com/watch?v=xyZfNjvsDRE
Reply With Quote
 


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 12:59 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 - 2026, Jelsoft Enterprises Ltd.