Make automatic totem aware of entrancement
This commit is contained in:
parent
c525380be6
commit
e3ad8a24db
@ -4035,6 +4035,10 @@ def transition_day(cli, gameid=0):
|
|||||||
ps = pl[:]
|
ps = pl[:]
|
||||||
if var.LASTGIVEN.get(shaman) in ps:
|
if var.LASTGIVEN.get(shaman) in ps:
|
||||||
ps.remove(var.LASTGIVEN.get(shaman))
|
ps.remove(var.LASTGIVEN.get(shaman))
|
||||||
|
if shaman in var.ENTRANCED:
|
||||||
|
for succubus in var.ROLES["succubus"]:
|
||||||
|
if succubus in ps:
|
||||||
|
ps.remove(succubus)
|
||||||
totem.func(cli, shaman, shaman, random.choice(ps), prefix="Because you forgot to give out your totem at night, you")
|
totem.func(cli, shaman, shaman, random.choice(ps), prefix="Because you forgot to give out your totem at night, you")
|
||||||
else:
|
else:
|
||||||
var.LASTGIVEN[shaman] = None
|
var.LASTGIVEN[shaman] = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user