Hello everyone! I need a tiny bit of assistance. So me and my group are playing Dark Heresy 2nd Edition currently, and it's starting to become a pain to calculate how much damage is done. What I'm trying to write currently is a macro that inverts their total armor (Example [[-@{HArmour}+-floor(@{Toughness}/10)]] ) Prompts for the penetration (?{Penetration|0} and damage ?{Damage?|0} to output the amount of damage that was done. The issue crops up when doing penetration. What it needs to do is compare the total for the first half against 0 (Since the rules state penetration does nothing once it passes through the armor.) and use the lowest Value. (Example If a target has 6 Armor, being hit with a Penetrating weapon of 2, they would have 4, which would reduce incoming damage. VS a target with 6 Armor, with a weapon that penetrates 8, wouldn't have -2 Armor.) Edit: I'm terrible with words and math, so I hope that made sense.