Skip to content

Commit

Permalink
Vampire bite no longer silences the target
Browse files Browse the repository at this point in the history
The intent behind this was so that while the person was out resting
during the day to recover from the blood loss, they couldn't do day
actions (such as shoot, id, ...). However, silence lasts until the end
of night, which is not desirable in this particular instance.

Rather than trying to make individual silence instances expire at
different times based on the role that set it, it's easier to just
remove the silence aspect from vampire bite.
  • Loading branch information
skizzerz committed Oct 22, 2023
1 parent dac2679 commit 8a99f44
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/roles/vampire.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from src.decorators import command
from src.containers import UserSet, UserDict
from src.messages import messages
from src.status import try_misdirection, try_exchange, add_protection, add_absent, add_silent
from src.status import try_misdirection, try_exchange, add_protection, add_absent
from src.events import Event, event_listener
from src.users import User
from src.cats import Vampire
Expand Down Expand Up @@ -156,7 +156,6 @@ def on_player_protected(evt: Event,
var.vampire_drained.add(target)
target.send(messages["vampire_drained"])
add_absent(var, target, "drained")
add_silent(var, target)

@event_listener("add_lycanthropy")
def on_add_lycanthropy(evt: Event, var: GameState, target):
Expand Down

0 comments on commit 8a99f44

Please sign in to comment.