Werewolf: Fixed a typo that broke the gun on occasion.
This commit is contained in:
1 parent
6dd9ab5322
commit
50f577470e
2 files changed
+2
-1
No files matched your search
@@ -3,6 +3,7 @@ Auto IRC Bot 3.0: Change Log
|
||||
|
||||
3.0 Indev
|
||||
===============================================================================
|
||||
* Werewolf: Fixed a typo that broke the gun on occasion.
|
||||
* Fixed a minor retract bug in Werewolf.
|
||||
* Fixed two major bugs in Werewolf that messed up game play.
|
||||
* Fixed several bugs and changed around JOIN/START/BEGIN in Werewolf.
|
||||
|
||||
+1
-1
@@ -490,7 +490,7 @@ sub cmd_wolf {
|
||||
my $real = $NICKS{lc $argv[1]};
|
||||
|
||||
# Massive randomizing here. 5 = 3-kill, 1-miss, 1-suicide
|
||||
my $myr = int rand 7;
|
||||
my $myr = int rand 6;
|
||||
given ($myr) {
|
||||
when (/^[1-3]$/) { # It's a hit.
|
||||
privmsg($src->{svr}, $src->{chan}, "\2$src->{nick}\2 shot \2$real\2 with a silver bullet!");
|
||||
|
||||
Reference in new issue
Block a user