Beispiel #1
0
        protected override void DoAction(Character character)
        {
            IBook book = character.WriteBook(Topic, Name, Exposure, Level);

            if (book != null)
            {
                character.Log.Add("Wrote " + book.Title + ": Q" + book.Quality.ToString("0.000"));
            }
            else
            {
                character.Log.Add("Worked on " + Name);
            }
        }
Beispiel #2
0
 protected override void DoAction(Character character)
 {
     IBook book = character.WriteBook(Topic, Name, Exposure, Level);
     if (book != null)
     {
         character.Log.Add("Wrote " + book.Title + ": Q" + book.Quality.ToString("0.00"));
     }
     else
     {
         character.Log.Add("Worked on " + Name);
     }
 }