11 is max DT

main
HeNine 2 years ago
parent 848ca7c358
commit 4abb431702

@ -10,7 +10,7 @@ impl Character {
pub fn attacks(&mut self, opponent: &mut Character) { pub fn attacks(&mut self, opponent: &mut Character) {
let (margin, _succ, _fail, _succ_dice, fail_dice) = successes( let (margin, _succ, _fail, _succ_dice, fail_dice) = successes(
self.dice_pool().max(0) as usize, 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; let damage = self.compute_damage(margin); //(margin + self.weapon_proficiency()).max(0) * self.weapon.damage_dice;

Loading…
Cancel
Save