Werewolf: Fixed a bug in harlot staying home.
This commit is contained in:
1 parent
412261f478
commit
338551b44c
2 files changed
+3
-2
No files matched your search
@@ -3,6 +3,7 @@ Auto IRC Bot 3.0: Change Log
|
|||||||
|
|
||||||
3.0 Indev
|
3.0 Indev
|
||||||
===============================================================================
|
===============================================================================
|
||||||
|
* Werewolf: Fixed a bug in harlot staying home.
|
||||||
* Werewolf: Various bug fixes.
|
* Werewolf: Various bug fixes.
|
||||||
* Werewolf 1.06: Fixed an annoyance and added traitor transformation.
|
* Werewolf 1.06: Fixed an annoyance and added traitor transformation.
|
||||||
* Commands now work with prefixes even in PM.
|
* Commands now work with prefixes even in PM.
|
||||||
|
|||||||
+2
-2
@@ -1207,10 +1207,10 @@ sub _init_day {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Finally, check if the harlot was targeted and wasn't home.
|
# Finally, check if the harlot was targeted and wasn't home.
|
||||||
if (_getrole($victim, 2) eq 'harlot' and $VISIT) {
|
if (_getrole($victim, 2) eq 'harlot' and $VISIT) { if ($VISIT != 1) {
|
||||||
privmsg($gsvr, $gchan, 'The wolves attempted to attack the harlot last night, but (s)he wasn\'t home...');
|
privmsg($gsvr, $gchan, 'The wolves attempted to attack the harlot last night, but (s)he wasn\'t home...');
|
||||||
$victim = 0;
|
$victim = 0;
|
||||||
}
|
} }
|
||||||
|
|
||||||
# Set phase to day.
|
# Set phase to day.
|
||||||
$PHASE = 'd';
|
$PHASE = 'd';
|
||||||
|
|||||||
Reference in new issue
Block a user