>>536360723
I did some calculations a while back and this is the formula I used. Also did a bunch of stuff with attachment targeted calibration priority but I ignored defense because there were too many variables, so I just use some "pseudo" damage value before the enemy's properties are applied.