private double GetArmorPierceThreat(CWeapon weapon) { double threat = weapon.GetStat(EWeaponStat.Armor_Pierce); if (threat > 0) { return(WeaponThreatTable.Instance.Table[EWeaponStat.Armor_Pierce] / threat); } else { return(0); } }
private double GetShieldDamageThreat(CWeapon weapon) { double threat = weapon.GetStat(EWeaponStat.Shield_Damage_Percent); return(WeaponThreatTable.Instance.Table[EWeaponStat.Shield_Damage_Percent] * threat); }
private double GetDamageThreat(CWeapon weapon) { double threat = weapon.GetStat(EWeaponStat.Damage); return(WeaponThreatTable.Instance.Table[EWeaponStat.Damage] * threat); }
private double GetBlockIgnoreThreat(CWeapon weapon) { double threat = weapon.GetStat(EWeaponStat.Block_Ignore); return(WeaponThreatTable.Instance.Table[EWeaponStat.Block_Ignore] * threat); }
private double GetAccuracyThreat(CWeapon weapon) { double threat = weapon.GetStat(EWeaponStat.Accuracy_Mod); return(WeaponThreatTable.Instance.Table[EWeaponStat.Accuracy_Mod] * threat); }