Example #1
0
        protected override void Execute(ModificationContext context, double level)
        {
            var viewRangeFactor = CrewBasicSkill.GetIncrementalSkillFactor(level);

            context.SetValue(this.EffectiveDomains[0], ViewRangeFactorSkillKey, viewRangeFactor);
            var crewTrainingLevelBuff = level / 10;

            context.SetValue(this.EffectiveDomains[0], CrewTrainingLevelBuffSkillKey, crewTrainingLevelBuff);
        }
Example #2
0
        protected override void Execute(ModificationContext context, double level)
        {
            var decrementalFactor = CrewBasicSkill.GetDecrementalSkillFactor(level);

            context.SetValue(this.EffectiveDomains[0], AccuracyFactorSkillKey, decrementalFactor);
            context.SetValue(this.EffectiveDomains[0], AimingTimeFactorSkillKey, decrementalFactor);
            context.SetValue(this.EffectiveDomains[0], ShotDispersionFactorSkillKey, decrementalFactor);

            var incrementalFactor = CrewBasicSkill.GetIncrementalSkillFactor(level);

            context.SetValue(this.EffectiveDomains[0], TurretRotationSpeedSkillKey, incrementalFactor);
        }
Example #3
0
        protected override void Execute(ModificationContext context, double level)
        {
            var terrainResistanceFactor = CrewBasicSkill.GetDecrementalSkillFactor(level);

            context.SetValue(this.EffectiveDomains[0], TerrainResistanceFactorSkillKey, terrainResistanceFactor);
        }
Example #4
0
        protected override void Execute(ModificationContext context, double level)
        {
            var signalRangeFactor = CrewBasicSkill.GetIncrementalSkillFactor(level);

            context.SetValue(this.EffectiveDomains[0], SignalRangeFactorSkillKey, signalRangeFactor);
        }