Damage Calculation
Dear Witchers,
currently I'm working on a spread sheet for a more objective item comparsion in terms of damage optimization. I really love to play around with equations, EP values and get lost in theorycrafting. I'm only experienced with combat and alchemy, so don't expect information about signs. If you stack attack power (AP), critical hit chance (CC) and critical damage (CD) this thread is perfect for some background information.
First of all it's necessary to understand the basic damage calculation. Due some reverse engineering of ninjasam in his post [1] he was able to set up the hit damage (HD) formula. This one is also displayed in the character sheet (not DPS). I don't get the math behind the displayed DPS. But it isn't necessary at all. There is enough data avaible with hit damage, critical hit chance and critical damage. Feel free to add your suggestions for the real DPS calculation.
And here is... the hit damage
This one isn't really complex and easy to verify. The base damage (BD) depends and raise with your level. Don't expect a huge impact. If you want to determine your base damage, unequip Geralt and remove all his abilitys. The indicated (fast attack) hit damage minus mWD is BD (eg. 77 for level 74).
The average weapon damage (mWD) is defined by
The AttackTypeFactor for fast attacks is 1 and for strong attacks 11/6 or 1,83.
The next step is to determine the (fast attack) critical hit damage (CHD) as indicated on the character sheet. It seems that the effect of CD and/or AP decrease when AP and CD will be stacked. Apparently the developers wanted to stop an exponential damage explosion. I'm pretty sure that only mWD receive the critical damage bonus. So no bonus for our poor BD.
The function for the critical reduction factor (CRF) behaves similar to a curve
It will take some time to get the right function. I hope x just a constant factor... The good news: I know the base bonus for the critical damage -> 25 %.
View attachment 50621
After many trials, here are some results about the AP and CD interaction:
Another observation note at the end:
If you use the skill Synergy there is some flat AP reduction if you reach certain caps
ToDo
Dear Witchers,
currently I'm working on a spread sheet for a more objective item comparsion in terms of damage optimization. I really love to play around with equations, EP values and get lost in theorycrafting. I'm only experienced with combat and alchemy, so don't expect information about signs. If you stack attack power (AP), critical hit chance (CC) and critical damage (CD) this thread is perfect for some background information.
First of all it's necessary to understand the basic damage calculation. Due some reverse engineering of ninjasam in his post [1] he was able to set up the hit damage (HD) formula. This one is also displayed in the character sheet (not DPS). I don't get the math behind the displayed DPS. But it isn't necessary at all. There is enough data avaible with hit damage, critical hit chance and critical damage. Feel free to add your suggestions for the real DPS calculation.
And here is... the hit damage
HD = [BD + mWD * (1 + AP)] * AttackTypeFactor
This one isn't really complex and easy to verify. The base damage (BD) depends and raise with your level. Don't expect a huge impact. If you want to determine your base damage, unequip Geralt and remove all his abilitys. The indicated (fast attack) hit damage minus mWD is BD (eg. 77 for level 74).
The average weapon damage (mWD) is defined by
mWD = (maxWeaponDMG - minWeaponDMG) / 2
The AttackTypeFactor for fast attacks is 1 and for strong attacks 11/6 or 1,83.
The next step is to determine the (fast attack) critical hit damage (CHD) as indicated on the character sheet. It seems that the effect of CD and/or AP decrease when AP and CD will be stacked. Apparently the developers wanted to stop an exponential damage explosion. I'm pretty sure that only mWD receive the critical damage bonus. So no bonus for our poor BD.
CHD = BD + mWD * (1 + AP) * (1 + BCD + CD) * CRF
The function for the critical reduction factor (CRF) behaves similar to a curve
orCRF = 1 / (1 + AP * CD * x)
CRF = e [SUP]- x * AP * CD[/SUP]
It will take some time to get the right function. I hope x just a constant factor... The good news: I know the base bonus for the critical damage -> 25 %.
View attachment 50621
After many trials, here are some results about the AP and CD interaction:
- if AP = const. -> CHD increases linearly with CD
- if CD = const. -> CHD increases linearly with AP
Another observation note at the end:
If you use the skill Synergy there is some flat AP reduction if you reach certain caps
- 85 % AP -> calculate with 80 %
- 130 % AP -> calculate with 120 %
- 465 % AP -> calculate with 445 %
ToDo
- calculate and verify CRF
- adept formulas for strong attack
- language optimization
Attachments
Last edited: