Removed debugging macros and corrected accusation notice printing.

This commit is contained in:
Cutieguwu
2024-12-15 14:48:18 -05:00
parent b1f85583a9
commit f6a80967ab
2 changed files with 4 additions and 3 deletions

View File

@@ -121,8 +121,11 @@ impl EventHandle for Trial {
// Have the player stand trial. // Have the player stand trial.
// A wild accusation may not be enough to save them. // A wild accusation may not be enough to save them.
if player.standing.clone().calculate() > {0 as i8} { if player.standing.clone().calculate() > {0 as i8} {
println!("The court has taken pity upon you. You are purged of all evil.");
SurvivalStatus::PlayerLived SurvivalStatus::PlayerLived
} else { } else {
println!("The court remains unconvinced of your faith.");
println!("No one wishes to fall with you.");
SurvivalStatus::PlayerDied SurvivalStatus::PlayerDied
} }
} }
@@ -150,7 +153,7 @@ impl EventHandle for WildAccusation {
print_breakline(); print_breakline();
println!("{:?} accused {:?}", accuser, accusee); println!("{:?} accused {:?}", accuser.name, accusee.name);
push_enemy(accuser, accusee, characters); push_enemy(accuser, accusee, characters);

View File

@@ -45,8 +45,6 @@ fn main() {
&mut characters, &mut characters,
); );
dbg!(&characters);
if characters.len() == 1 { if characters.len() == 1 {
end_status = SurvivalStatus::PlayerMassacred; end_status = SurvivalStatus::PlayerMassacred;
}; };