public static int IsCooldown(Weapon weapon) { var statistic = StatisticHelper.GetOrCreateStatisic <int>(weapon.StatCollection, CooldownWeaponStatisticName, 0); return(statistic.Value <int>()); }
public static bool IsJammed(Weapon weapon) { var statistic = StatisticHelper.GetOrCreateStatisic <bool>(weapon.StatCollection, JammedWeaponStatisticName, false); return(statistic.Value <bool>()); }