From 15f0e8732cfa67ce53c249c59ee439a776c7ba2a Mon Sep 17 00:00:00 2001 From: Bobloy Date: Fri, 13 Apr 2018 16:56:26 -0400 Subject: [PATCH] seer ability --- werewolf/roles/seer.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/werewolf/roles/seer.py b/werewolf/roles/seer.py index 1b39f39..2141dfa 100644 --- a/werewolf/roles/seer.py +++ b/werewolf/roles/seer.py @@ -105,12 +105,15 @@ class Seer(Role): async def _at_night_end(self): target = await self.game.visit(self.see_target) - team = await target._see - - await self.player.send_dm("Your seer skills hav") - - + alignment = await target.see_alignment(self.player) + if alignment == "Werewolf": + out = "Your insight reveals this player to be a **Werewolf!**" + else: + out = "You fail to find anything suspicious about this player..." + + await self.player.send_dm(out) + # async def _at_visit(self, data=None): # pass