示例#1
0
 private float DamageReductionMultiplierAll(MechDef mechDef)
 {
     StatCollection statCollection = new StatCollection();
     var stat = DamageReductionMultiplierAll(statCollection);
     stat.Create();
     return MechDefStatisticModifier.ModifyStatistic(stat, mechDef);
 }
示例#2
0
 private float ToHitThisActor(MechDef mechDef)
 {
     StatCollection statCollection = new StatCollection();
     var stat = ToHitThisActor(statCollection);
     stat.Create();
     return MechDefStatisticModifier.ModifyStatistic(stat, mechDef);
 }
示例#3
0
 private float StructureMultiplier(MechDef mechDef)
 {
     StatCollection statCollection = new StatCollection();
     var stat = statCollection.StructureMultiplier();
     stat.Create();
     return MechDefStatisticModifier.ModifyStatistic(stat, mechDef);
 }
示例#4
0
 private float UnsteadyThreshold(MechDef mechDef)
 {
     StatCollection statCollection = new StatCollection();
     var stat = UnsteadyThreshold(statCollection);
     stat.Create();
     return MechDefStatisticModifier.ModifyStatistic(stat, mechDef);
 }
示例#5
0
 private float MaxEvasivePips(MechDef mechDef)
 {
     StatCollection statCollection = new StatCollection();
     var stat = MaxEvasivePips(statCollection);
     stat.Create();
     return MechDefStatisticModifier.ModifyStatistic(stat, mechDef);
 }
示例#6
0
 private float MaxStability(MechDef mechDef)
 {
     StatCollection statCollection = new StatCollection();
     var stat = MaxStability(statCollection, mechDef.Chassis.Stability);
     stat.Create();
     return MechDefStatisticModifier.ModifyStatistic(stat, mechDef);
 }
        private float GetAccuracyModifier(float baseValue)
        {
            var stat = statCollection.AccuracyModifier(baseValue);

            stat.Create();
            return(MechDefStatisticModifier.ModifyWeaponStatistic(stat, mechDef, weaponDef));
        }
        private float GetInstability(float baseValue)
        {
            var stat = statCollection.Instability(baseValue);

            stat.Create();
            return(MechDefStatisticModifier.ModifyWeaponStatistic(stat, mechDef, weaponDef));
        }
        private float GetStructureDamage(float baseValue)
        {
            var stat = statCollection.StructureDamagePerShot(baseValue);

            stat.Create();
            return(MechDefStatisticModifier.ModifyWeaponStatistic(stat, mechDef, weaponDef));
        }
        private float GetShotsWhenFired(int baseValue)
        {
            var stat = statCollection.ShotsWhenFired(baseValue);

            stat.Create();
            return(MechDefStatisticModifier.ModifyWeaponStatistic(stat, mechDef, weaponDef));
        }
示例#11
0
        private float ArmorMultiplier(MechDef mechDef)
        {
            StatCollection statCollection = new StatCollection();
            var            stat           = statCollection.ArmorMultiplier();

            stat.Create();
            return(MechDefStatisticModifier.ModifyStatistic(stat, mechDef));
        }