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
+2
-2
@@ -1207,10 +1207,10 @@ sub _init_day {
|
||||
}
|
||||
|
||||
# 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...');
|
||||
$victim = 0;
|
||||
}
|
||||
} }
|
||||
|
||||
# Set phase to day.
|
||||
$PHASE = 'd';
|
||||
|
||||
Reference in new issue
Block a user