Esempio n. 1
0
        public async Task ResolveVisionPhase(IUser targetUser)
        {
            ResolvePhase(targetUser, PhaseType.Investigation);
            Player investigator = ActiveGame.Investigator;

            if (investigator.Active)
            {
                if (targetUser != null)
                {
                    Player targetPlayer = ActiveGame.Players.FirstOrDefault(p => p.User.Id == targetUser.Id);
                    await investigator.User.SendMessageAsync(GameElement.SeenTheSigns(targetPlayer));
                }
                else
                {
                    await investigator.User.SendMessageAsync(GameElement.NoSigns());
                }
            }
        }