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); }