Removed debugging macros and corrected accusation notice printing.
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user