Hello, I am making a utility to determine effective damage based on monster resistance.
To calculate damage, in "Skills.txt" I used EMinLev/EMaxLev to add the damage per level of the main skill, then used (E)DmgSymPerCalc to fetch the synergy damage params.
Then, I multiply by the hitshift.
How can I make it work for DOT spells like Blaze?
My understanding: the damage formula is actually modified by descdam in "SkillsDesc.txt"; most skills have a descdam of 5 (i.e. no modification), but blaze for example is 9.
Two questions:
-
where can I find the descdam calculation? Amazon Basin (https://www.theamazonbasin.com/wiki/index.php/Blaze) has a formula for "fire bit rate" that works correctly for vanilla but not PD2.
For example, 1-8: (32*slvl)+32 is the min "fire bit rate" for lvl 1-8; damage is bitrate x 3 x (25/256) because the damage is applied three times per frame.
Simple enough, but where in the files do they get the bit rate per level and the number of applications per frame?
- for Blaze (and Explosive Arrow etc.), the damage in (E)DmgSymPerCalc is the damage over time. Where can I find the explosion damage? (Synergies appear to apply identically to both, so looking for the base damage.)
Thank you sir(s), I know I am asking for a lot. Take care.