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

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

            context.SetValue(this.EffectiveDomains[0], EfficiencySkillKey, effectiveLevel);
        }
Ejemplo n.º 13
0
 protected override void Clear(ModificationContext context)
 {
     context.SetValue(this.EffectiveDomains[0], AmmobayHealthFactorSkillKey, 1);
 }
Ejemplo n.º 14
0
 protected override void Execute(ModificationContext context, double level)
 {
     context.SetValue(this.EffectiveDomains[0], AmmobayHealthFactorSkillKey, this.Parameters["ammoBayHealthFactor"]);
 }
Ejemplo n.º 15
0
 protected override void Execute(ModificationContext context, double level)
 {
     context.SetValue(this.EffectiveDomains[0], EngineFireChanceDecrementSkillKey, this.Parameters["fireStartingChanceFactor"]);
 }
Ejemplo n.º 16
0
 protected override void Execute(ModificationContext context, double level)
 {
     context.SetValue(this.EffectiveDomains[0], CrewTrainingLevelIncrementSkillKey, this.Parameters["crewLevelIncrease"]);
 }
Ejemplo n.º 17
0
 protected override void Clear(ModificationContext context)
 {
     context.SetValue(this.EffectiveDomains[0], EngineFireChanceDecrementSkillKey, 1.0);
 }
Ejemplo n.º 18
0
 protected override void Clear(ModificationContext context)
 {
     context.SetValue(this.EffectiveDomains[0], CrewTrainingLevelIncrementSkillKey, 0);
 }
Ejemplo n.º 19
0
 protected override void Execute(ModificationContext context, double level)
 {
     context.SetValue(this.EffectiveDomains[0], RadioDistanceFactorSkillKey, this.Parameters["radioDistanceFactorPerLevel"] * level);
 }
Ejemplo 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);
 }
Ejemplo 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"]);
 }
Ejemplo n.º 22
0
 protected override void Clear(ModificationContext context)
 {
     context.SetValue(this.EffectiveDomains[0], SoftGroundResistanceFactorDecrementSkillKey, 0);
     context.SetValue(this.EffectiveDomains[0], MediumGroundResistanceFactorDecrementSkillKey, 0);
 }
Ejemplo n.º 23
0
        protected override void Execute(ModificationContext context, double level)
        {
            var terrainResistanceFactor = CrewBasicSkill.GetDecrementalSkillFactor(level);

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