I think it works as a straight-up comparison between the attacking unit's Weapon Power and the defending unit's Armor or Resist stat. Add in a dash of Accuracy versus Dodgy to determine whether the...