Bug with damage reduction applied twice
When using an AE with system.traits.dr.all the damage reduction is a quarter instead of half. I think that’s because the reduction for non magical damage is applied as well as the one for the specific damage type. I think this line is the problem, it should probably be changed to add a continue in the if, like there is in most of the other if/else: https://gitlab.com/tposney/midi-qol/-/blob/v10/src/module/utils.ts#L299