Is defense calculated before, or after the maximum damage allowed is calculated?
Say, if your dog has Str: 2, Def: 8 and their dog has Str: 8, Def: 2, and you win. You would then inflict 2*3-2 = 4 damage to their dog. They would inflict 8*2-8 = 8 damage to your dog... but the max is 4 damage. But is the max taken before your dog's defense? Would it then be max[8*2] = max[16] = 4-8 = 0 damage?
Another example: Your dog Str: 2, Def = 3. Their dog Str: 5, Def = 1. You win. If defense is before the max cap: 5*2-3 = 7... max = 6 damage. If defense is after the max cap: 5*2 = 10 ... max = 6 - 3 = 3 damage. Which is it?