Added vampires roles and buffed spy/agent
parent
f86ef6fc21
commit
6dd12fd561
|
@ -101,6 +101,6 @@ pub trait Listener: Debug + Send + Sync {
|
|||
_ctx: &mut ListenerContext,
|
||||
_msg: &WoxlfMessage,
|
||||
) -> Result<EventStatus> {
|
||||
return Ok(EventStatus::Okay);
|
||||
Ok(EventStatus::Okay)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,12 +45,19 @@ pub enum Role {
|
|||
Shepard,
|
||||
Dreamer,
|
||||
ApprenticeSeer,
|
||||
Necromancer,
|
||||
Helsing,
|
||||
Priest,
|
||||
// Wolf Roles
|
||||
MasterWolf,
|
||||
WolfShaman,
|
||||
Wolf,
|
||||
WolfAgent,
|
||||
WolfDreamer,
|
||||
// Vampires,
|
||||
TheCount,
|
||||
ThinBlood,
|
||||
Vampire,
|
||||
// Custom Role
|
||||
Custom(String, RoleColor),
|
||||
}
|
||||
|
@ -80,6 +87,12 @@ impl Display for Role {
|
|||
Role::ApprenticeSeer => "Apprentice Seer",
|
||||
Role::WolfAgent => "Wolf Agent",
|
||||
Role::WolfDreamer => "Wolf Dreamer",
|
||||
Role::Necromancer => "Necromancer",
|
||||
Role::Helsing => "Helsing",
|
||||
Role::TheCount => "The Count",
|
||||
Role::ThinBlood => "Thin Blood",
|
||||
Role::Vampire => "Vampire",
|
||||
Role::Priest => "Priest",
|
||||
};
|
||||
|
||||
write!(f, "{}", s)
|
||||
|
@ -112,6 +125,12 @@ impl Role {
|
|||
Role::ApprenticeSeer => RoleColor::Blue,
|
||||
Role::WolfAgent => RoleColor::Red,
|
||||
Role::WolfDreamer => RoleColor::Red,
|
||||
Role::Necromancer => RoleColor::Blue,
|
||||
Role::Helsing => RoleColor::Blue,
|
||||
Role::TheCount => RoleColor::Purple,
|
||||
Role::ThinBlood => RoleColor::Green,
|
||||
Role::Vampire => RoleColor::Purple,
|
||||
Role::Priest => RoleColor::Blue,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -60,8 +60,8 @@ impl Listener for SpyListener {
|
|||
return Ok(EventStatus::Okay);
|
||||
}
|
||||
|
||||
// 1/4 chance to intercept message
|
||||
if thread_rng().gen_bool(0.25) {
|
||||
// 50% chance to intercept message
|
||||
if thread_rng().gen_bool(0.50) {
|
||||
println!("Sending a spy message...");
|
||||
|
||||
let msg_content = MessageBuilder::default()
|
||||
|
|
Loading…
Reference in New Issue