Esempio n. 1
0
        public static int IsCooldown(Weapon weapon)
        {
            var statistic = StatisticHelper.GetOrCreateStatisic <int>(weapon.StatCollection, CooldownWeaponStatisticName, 0);

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

            return(statistic.Value <bool>());
        }