Пример #1
0
        public KeepKeeper(int level, int type)
        {
            Type = (Enums.NPCType)Enum.Parse(typeof(Enums.NPCType), type.ToString());
            var multi = typeMultiplier();

            Level      = level;
            Health     = Convert.ToInt32(multi * multi * (80 + (75 * level)));
            MaxHealth  = Health;
            Strength   = Convert.ToInt32(multi * (8 + (level * 4.5)));
            Crit       = 10;
            SpellPower = 0;
            Armor      = Convert.ToInt32(multi * (level * 7));
            Statuses   = new List <CombatLogicClassLibrary.Status>();
            Threat     = new CombatLogicClassLibrary.Threat();
        }
Пример #2
0
        public Necromancer(int level, int type)
        {
            Type = (Enums.NPCType)Enum.Parse(typeof(Enums.NPCType), type.ToString());
            var multi = typeMultiplier();

            Level      = level;
            Health     = Convert.ToInt32(multi * multi * (60 + (47 * level)));
            MaxHealth  = Health;
            Strength   = 0;
            Crit       = 10;
            SpellPower = Convert.ToInt32(multi * (12 + (9.5 * level)));
            Armor      = Convert.ToInt32(multi * (level * 6));
            Statuses   = new List <CombatLogicClassLibrary.Status>();
            Threat     = new CombatLogicClassLibrary.Threat();
        }
Пример #3
0
        public Brute(int level, int type)
        {
            Type = (Enums.NPCType)Enum.Parse(typeof(Enums.NPCType), type.ToString());
            var multi = typeMultiplier();

            Level      = level;
            Health     = Convert.ToInt32(multi * multi * (200 * level));
            MaxHealth  = Health;
            Strength   = Convert.ToInt32(multi * (13 * level));
            Crit       = 0;
            SpellPower = 0;
            Armor      = Convert.ToInt32(multi * (level * 15));
            Statuses   = new List <CombatLogicClassLibrary.Status>();
            Threat     = new CombatLogicClassLibrary.Threat();
            swipeUsed  = 0;
        }
Пример #4
0
        public FinalRabbit(int level, int type)
        {
            Type = (Enums.NPCType)Enum.Parse(typeof(Enums.NPCType), type.ToString());
            var multiplier = typeMultiplier();

            Level      = level;
            Health     = Convert.ToInt32(multiplier * multiplier * (level * 235));
            MaxHealth  = Health;
            Strength   = Convert.ToInt32(multiplier * (level * 11.5));
            Crit       = 0;
            SpellPower = 0;
            Armor      = Convert.ToInt32(multiplier * (level * 15));
            Statuses   = new List <CombatLogicClassLibrary.Status>();
            Threat     = new CombatLogicClassLibrary.Threat();
            sweepUsed  = 4;
        }
Пример #5
0
        public Rabbit(int level, int type, int undying)
        {
            Type = (Enums.NPCType)Enum.Parse(typeof(Enums.NPCType), type.ToString());
            var multiplier = typeMultiplier();

            Level      = level;
            Health     = Convert.ToInt32(multiplier * multiplier * (111 + (level * 58)));
            MaxHealth  = Health;
            Strength   = Convert.ToInt32(multiplier * (7 + (level * 6.5)));
            Crit       = 10;
            SpellPower = 0;
            Armor      = Convert.ToInt32(multiplier * (level * 15));
            Statuses   = new List <CombatLogicClassLibrary.Status>()
            {
                new CombatLogicClassLibrary.Statuses.Shield(int.MaxValue, int.MaxValue)
            };
            Threat = new CombatLogicClassLibrary.Threat();
        }