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

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

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