Beispiel #1
0
        public override void EndCareerTone(InteractionInstance interactionInstance)
        {
            try
            {
                foreach (SkillRate skill in mSkills)
                {
                    Career.OwnerDescription.SkillManager.StopSkillGain(skill.mSkill);
                }

                foreach (MotiveRate motive in mMotives)
                {
                    interactionInstance.RemoveMotiveDelta(motive.mStored);
                }

                Career.PerformanceBonusPerHour -= mPerformanceModifier;
            }
            catch (Exception e)
            {
                Common.Exception(Career.OwnerDescription, e);
            }
        }