(Potency + Atk Power)/100 * weapon dmg seems to get pretty close to what I see floating above the mob. There seems to also be a little rng thrown in as well.