Example #1
0
 public QuestReward()
 {
     Exp            = 0;
     Gold           = 0;
     Items          = new List <ItemReward>();
     CraftableItems = new List <ItemReward>();
     QuestItems     = new List <ItemReward>();
     Reputation     = new Reputation();
 }
        public void AddReputation(Reputation repToAdd)
        {
            var rep = AllReputations.First(r => r.ReputationID == repToAdd.ReputationID);

            rep.Value += repToAdd.Value;
        }