Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 protected override void Clear(ModificationContext context)
 {
     context.SetValue(this.EffectiveDomains[0], ShotDispersionDecrementFactorSkillKey, 0);
 }
Exemplo n.º 4
0
 protected override void Execute(ModificationContext context, double level)
 {
     context.SetValue(this.EffectiveDomains[0], ShotDispersionDecrementFactorSkillKey, this.Parameters["shotDispersionFactorPerLevel"] * level);
 }
Exemplo n.º 5
0
 protected override void Clear(ModificationContext context)
 {
     context.SetValue(this.EffectiveDomains[0], CamouflageFactorSkillKey, 1.0);
 }
Exemplo n.º 6
0
 protected override void Clear(ModificationContext context)
 {
     context.SetValue(this.EffectiveDomains[0], DistanceFactorPerLevelWhenDeviceWorkingSkillKey, 0);
     context.SetValue(this.EffectiveDomains[0], DistanceFactorPerLevelWhenDeviceDestroyedSkillKey, 0);
 }
Exemplo n.º 7
0
 protected override void Clear(ModificationContext context)
 {
     context.SetValue(this.EffectiveDomains[0], RadioDistanceFactorSkillKey, 0);
 }
Exemplo n.º 8
0
        protected override void Execute(ModificationContext context, double level)
        {
            var signalRangeFactor = CrewBasicSkill.GetIncrementalSkillFactor(level);

            context.SetValue(this.EffectiveDomains[0], SignalRangeFactorSkillKey, signalRangeFactor);
        }
Exemplo n.º 9
0
 protected override void Clear(ModificationContext context)
 {
     context.SetValue(this.EffectiveDomains[0], ChassisRotationSpeedIncrementFactor, 0);
 }
Exemplo n.º 10
0
 protected override void Execute(ModificationContext context, double level)
 {
     context.SetValue(this.EffectiveDomains[0], ChassisRotationSpeedIncrementFactor, this.Parameters["rotationSpeedFactorPerLevel"] * level);
 }
Exemplo n.º 11
0
 protected override void Clear(ModificationContext context)
 {
     context.SetValue(this.EffectiveDomains[0], EfficiencySkillKey, 0);
 }
Exemplo n.º 12
0
        protected override void Execute(ModificationContext context, double level)
        {
            var effectiveLevel = level * this.Parameters["efficiency"];

            context.SetValue(this.EffectiveDomains[0], EfficiencySkillKey, effectiveLevel);
        }
Exemplo n.º 13
0
 protected override void Clear(ModificationContext context)
 {
     context.SetValue(this.EffectiveDomains[0], AmmobayHealthFactorSkillKey, 1);
 }
Exemplo n.º 14
0
 protected override void Execute(ModificationContext context, double level)
 {
     context.SetValue(this.EffectiveDomains[0], AmmobayHealthFactorSkillKey, this.Parameters["ammoBayHealthFactor"]);
 }
Exemplo n.º 15
0
 protected override void Execute(ModificationContext context, double level)
 {
     context.SetValue(this.EffectiveDomains[0], EngineFireChanceDecrementSkillKey, this.Parameters["fireStartingChanceFactor"]);
 }
Exemplo n.º 16
0
 protected override void Execute(ModificationContext context, double level)
 {
     context.SetValue(this.EffectiveDomains[0], CrewTrainingLevelIncrementSkillKey, this.Parameters["crewLevelIncrease"]);
 }
Exemplo n.º 17
0
 protected override void Clear(ModificationContext context)
 {
     context.SetValue(this.EffectiveDomains[0], EngineFireChanceDecrementSkillKey, 1.0);
 }
Exemplo n.º 18
0
 protected override void Clear(ModificationContext context)
 {
     context.SetValue(this.EffectiveDomains[0], CrewTrainingLevelIncrementSkillKey, 0);
 }
Exemplo n.º 19
0
 protected override void Execute(ModificationContext context, double level)
 {
     context.SetValue(this.EffectiveDomains[0], RadioDistanceFactorSkillKey, this.Parameters["radioDistanceFactorPerLevel"] * level);
 }
Exemplo n.º 20
0
 protected override void Execute(ModificationContext context, double level)
 {
     context.SetValue(this.EffectiveDomains[0], SoftGroundResistanceFactorDecrementSkillKey, this.Parameters["softGroundResistanceFactorPerLevel"] * level);
     context.SetValue(this.EffectiveDomains[0], MediumGroundResistanceFactorDecrementSkillKey, this.Parameters["mediumGroundResistanceFactorPerLevel"] * level);
 }
Exemplo n.º 21
0
 protected override void Execute(ModificationContext context, double level)
 {
     context.SetValue(this.EffectiveDomains[0], DistanceFactorPerLevelWhenDeviceWorkingSkillKey, level * this.Parameters["distanceFactorPerLevelWhenDeviceWorking"]);
     context.SetValue(this.EffectiveDomains[0], DistanceFactorPerLevelWhenDeviceDestroyedSkillKey, level * this.Parameters["distanceFactorPerLevelWhenDeviceDestroyed"]);
 }
Exemplo n.º 22
0
 protected override void Clear(ModificationContext context)
 {
     context.SetValue(this.EffectiveDomains[0], SoftGroundResistanceFactorDecrementSkillKey, 0);
     context.SetValue(this.EffectiveDomains[0], MediumGroundResistanceFactorDecrementSkillKey, 0);
 }
Exemplo n.º 23
0
        protected override void Execute(ModificationContext context, double level)
        {
            var terrainResistanceFactor = CrewBasicSkill.GetDecrementalSkillFactor(level);

            context.SetValue(this.EffectiveDomains[0], TerrainResistanceFactorSkillKey, terrainResistanceFactor);
        }
Exemplo n.º 24
0
 protected override void Execute(ModificationContext context, double level)
 {
     context.SetValue(this.EffectiveDomains[0], CamouflageFactorSkillKey, 1.0 + 0.0075 * level);
 }