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); }
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); }
protected override void Execute(ModificationContext context, double level) { var terrainResistanceFactor = CrewBasicSkill.GetDecrementalSkillFactor(level); context.SetValue(this.EffectiveDomains[0], TerrainResistanceFactorSkillKey, terrainResistanceFactor); }
protected override void Execute(ModificationContext context, double level) { var signalRangeFactor = CrewBasicSkill.GetIncrementalSkillFactor(level); context.SetValue(this.EffectiveDomains[0], SignalRangeFactorSkillKey, signalRangeFactor); }