예제 #1
0
        protected override void DoAction(Character character)
        {
            double scribeAbilityValue = character.GetAbility(Abilities.Scribing).Value;

            if (Book.Level == 1000)
            {
                Tractatus tract = new Tractatus
                {
                    Author  = Book.Author,
                    Quality = Book.Quality,
                    Title   = Book.Title,
                    Topic   = Book.Topic
                };
                character.AddBookToCollection(tract);
            }
            else
            {
                // TODO: implement logic for copying summae
            }
        }
예제 #2
0
 protected override void DoAction(Character character)
 {
     double scribeAbilityValue = character.GetAbility(Abilities.Scribing).Value;
     if(Book.Level == 1000)
     {
         Tractatus tract = new Tractatus
         {
             Author = Book.Author,
             Quality = Book.Quality,
             Title = Book.Title,
             Topic = Book.Topic
         };
         character.AddBookToCollection(tract);
     }
     else
     {
         // TODO: implement logic for copying summae
     }
 }