コード例 #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);
 }
コード例 #7
0
        private float GetAccuracyModifier(float baseValue)
        {
            var stat = statCollection.AccuracyModifier(baseValue);

            stat.Create();
            return(MechDefStatisticModifier.ModifyWeaponStatistic(stat, mechDef, weaponDef));
        }
コード例 #8
0
        private float GetInstability(float baseValue)
        {
            var stat = statCollection.Instability(baseValue);

            stat.Create();
            return(MechDefStatisticModifier.ModifyWeaponStatistic(stat, mechDef, weaponDef));
        }
コード例 #9
0
        private float GetStructureDamage(float baseValue)
        {
            var stat = statCollection.StructureDamagePerShot(baseValue);

            stat.Create();
            return(MechDefStatisticModifier.ModifyWeaponStatistic(stat, mechDef, weaponDef));
        }
コード例 #10
0
        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));
        }