Skip to content

Commit

Permalink
added lycan
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Gillis committed Dec 23, 2015
1 parent 9249812 commit 6f0b518
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
* Fixed issue with !guard and !kill not being able to find the targeted user
* Fixed issue where game ends prematurely when Bodyguard is in the role pool
* Added the Tanner role
* Added the Lycan role
1 change: 1 addition & 0 deletions src/Game/Command/HelpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public function fire()
$help_msg .= "Special Roles\r\n------------------------\r\n";
$help_msg .= " |_ Seer - A villager who, once each night, is allowed to see the role of another player. The bot will private message you.\r\n";
$help_msg .= " |_ Tanner - A player not on the side of the villagers or the werewolves who wins if is killed.\r\n";
$help_msg .= " |_ Lycan - A villager who appears to the Seer as a Werewolf.\r\n";
$help_msg .= " |_ Bodyguard - A villager who may protect a player from being eliminated once each night, but not the same person two nights in a row.\r\n\r\n";
$help_msg .= "Available Commands\r\n------------------------\r\n";
$help_msg .= "|_ !start - Starts a new game with everyone in the channel participating\r\n";
Expand Down
2 changes: 1 addition & 1 deletion src/Game/Command/SeeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function fire()
continue;
}

if ($player->role == Role::WEREWOLF) {
if ($player->role == Role::WEREWOLF || $player->role == Role::LYCAN) {
$msg = "@{$player->getUsername()} is on the side of the Werewolves.";
} else {
$msg = "@{$player->getUsername()} is on the side of the Villagers.";
Expand Down
1 change: 1 addition & 0 deletions src/Game/Role.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ class Role
const WEREWOLF = "Werewolf";
const BODYGUARD = "Bodyguard";
const TANNER = "Tanner";
const LYCAN = "Lycan";
}

0 comments on commit 6f0b518

Please sign in to comment.