Exemplo n.º 1
0
 /// <summary>
 /// Determines if Dracula is playing Seduction at the start of an Encounter
 /// </summary>
 /// <param name="game">The GameState</param>
 /// <param name="logic">The artificial intelligence component</param>
 /// <returns>True if Dracula successfully plays Seduction</returns>
 private static bool DraculaIsPlayingSeduction(GameState game, DecisionMaker logic)
 {
     if (logic.ChooseToPlaySeduction(game))
     {
         Console.WriteLine("Dracula is playing Seduction");
         game.Dracula.DiscardEvent(Event.Seduction, game.EventDiscard);
         if (HunterPlayingGoodLuckToCancelDraculaEvent(game, Event.Seduction, Event.Seduction, logic) > 0)
         {
             Console.WriteLine("Seduction cancelled");
             return false;
         }
         return true;
     }
     return false;
 }