protected override void Execute(ScriptingContext context, double level)
        {
            var viewRangeFactor = BasicSkillScript.GetIncrementalSkillFactor(level);

            context.SetValue(this.Domain, ViewRangeFactorSkillKey, viewRangeFactor);
            var crewTrainingLevelBuff = level / 10;

            context.SetValue(this.Domain, CrewTrainingLevelBuffSkillKey, crewTrainingLevelBuff);
        }
        protected override void Execute(ScriptingContext context, double level)
        {
            var decrementalFactor = BasicSkillScript.GetDecrementalSkillFactor(level);

            context.SetValue(this.Domain, AccuracyFactorSkillKey, decrementalFactor);
            context.SetValue(this.Domain, AimingTimeFactorSkillKey, decrementalFactor);
            context.SetValue(this.Domain, ShotDispersionFactorSkillKey, decrementalFactor);

            var incrementalFactor = BasicSkillScript.GetIncrementalSkillFactor(level);

            context.SetValue(this.Domain, TurretRotationSpeedSkillKey, incrementalFactor);
        }
 protected override void Execute(ScriptingContext context, double level)
 {
     var loadTimeFactor = BasicSkillScript.GetDecrementalSkillFactor(level);
     context.SetValue(this.Domain, LoadTimeFactorSkillKey, loadTimeFactor);
 }
        protected override void Execute(ScriptingContext context, double level)
        {
            var terrainResistanceFactor = BasicSkillScript.GetDecrementalSkillFactor(level);

            context.SetValue(this.Domain, TerrainResistanceFactorSkillKey, terrainResistanceFactor);
        }
Example #5
0
        protected override void Execute(ScriptingContext context, double level)
        {
            var signalRangeFactor = BasicSkillScript.GetIncrementalSkillFactor(level);

            context.SetValue(this.Domain, SignalRangeFactorSkillKey, signalRangeFactor);
        }