Record gunner as killer if they shoot wolf at night
Caused issues due to killers not being defined. For example, a VG lover of the shot wolf would join the village team (against wolves) if gunner shot their wolflover during night. Now it properly sides the VG with wolves (against village).
This commit is contained in:
parent
30aaa2c802
commit
f77cca1f07
@ -3516,6 +3516,7 @@ def transition_day(gameid=0):
|
|||||||
else:
|
else:
|
||||||
message.append(messages["gunner_killed_wolf_overnight_no_reveal"].format(victim, deadwolf))
|
message.append(messages["gunner_killed_wolf_overnight_no_reveal"].format(victim, deadwolf))
|
||||||
dead.append(deadwolf)
|
dead.append(deadwolf)
|
||||||
|
killers[deadwolf].append(victim)
|
||||||
var.GUNNERS[victim] -= 1 # deduct the used bullet
|
var.GUNNERS[victim] -= 1 # deduct the used bullet
|
||||||
|
|
||||||
for victim in dead:
|
for victim in dead:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user