From 4abb4317022a545b4acd87c1e5726bca16a0cae0 Mon Sep 17 00:00:00 2001 From: HeNine <> Date: Mon, 29 May 2023 14:27:36 +0200 Subject: [PATCH] 11 is max DT --- src/combat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/combat.rs b/src/combat.rs index 7fd73fd..2b9b81f 100644 --- a/src/combat.rs +++ b/src/combat.rs @@ -10,7 +10,7 @@ impl Character { pub fn attacks(&mut self, opponent: &mut Character) { let (margin, _succ, _fail, _succ_dice, fail_dice) = successes( self.dice_pool().max(0) as usize, - (opponent.ac() - self.weapon_proficiency() as i64).clamp(1, 12), + (opponent.ac() - self.weapon_proficiency() as i64).clamp(1, 11), ); let damage = self.compute_damage(margin); //(margin + self.weapon_proficiency()).max(0) * self.weapon.damage_dice;