Exemplo n.º 1
0
        public SquealerThornmantle() : base()
        {
            Name  = "'Squealer' Thornmantle";
            Id    = 3229;
            Model = 1254;
            Level = RandomLevel(5, 5);
            SetDamage(1f + 1.8f * Level, 1f + 2.66 * Level);
            AttackSpeed  = 2000;
            Flags1       = 0x080000;
            Armor        = 5 * Level;
            Block        = 0;
            ResistArcane = 0;
            ResistFire   = 0;
            ResistFrost  = 0;
            ResistHoly   = 0;
            ResistNature = 0;
            ResistShadow = 0;
            Str          = (int)(Level / 2.5f);
/*****************************/
            float step = 1.1f; //step by incrase Heals in elite mobs first rang

            if (Level == 5)
            {
                BaseHitPoints = 210;
                BaseMana      = 0;
            }
            else
            {
                for (int i = 1; i <= (Level - 5); i++)
                {
                    step = step * step;
                }
                BaseHitPoints = (int)(180 * (float)step);
                BaseMana      = 0;
            }
/*****************************/
            BoundingRadius = 0.3077550f;
            CombatReach    = 0.300f;
            Speed          = 3.5f;
            WalkSpeed      = 3.5f;
            RunSpeed       = 6.5f;
            Faction        = Factions.Monster;
            AIEngine       = new BerserkerAI(this);
            NpcType        = 7;
            Size           = 0.9f;
            Unk3           = 1;
            Loots          = new BaseTreasure[] { new BaseTreasure(SquealerThornmantleDrops.SquealerThornmantle, 100f) };
        }
        public Arashethis() : base()
        {
            Id           = 5349;
            Model        = 7569;
            AttackSpeed  = 2000;
            Name         = "Arash-ethis";
            Flags1       = 0x010;
            Level        = RandomLevel(49);
            ResistArcane = 85;
            ResistFire   = 85;
            ResistFrost  = 85;
            ResistHoly   = 85;
            ResistNature = 85;
            ResistShadow = 85;
            Str          = (int)(Level * 1.5f);
            Armor        = 258;
            NpcType      = (int)NpcTypes.Beast;
            BaseMana     = 0;
            ManaType     = 1;

            NpcFlags       = 00;
            BoundingRadius = 1.500000f;
            CombatReach    = 1.2525f;
            SetDamage(1f + 1.8f * Level, 1f + 2.5 * Level);
            ManaType  = 0;
            Family    = 27;
            Elite     = 4; Block = Level + 50;
            Faction   = Factions.Monster;
            Size      = 1.5f;
            Speed     = 3.3f;
            WalkSpeed = 3.3f;
            RunSpeed  = 6.3f;
            AIEngine  = new BerserkerAI(this);
            BCAddon.Hp(this, 500, 49);
            SkinLoot = new Loot[] { new Loot(typeof(RuggedLeather), 60.0f)
                                    , new Loot(typeof(ThickLeather), 61.0f)
                                    , new Loot(typeof(ThickHide), 40.0f) };
            Loots = new BaseTreasure[] { new BaseTreasure(WindSerpentDrops.Arashethis, 100f) };
        }
 public AzzereTheSkyblade() : base()
 {
     Id             = 5834;
     Model          = 2702;
     AttackSpeed    = 2000;
     Name           = "Azzere the Skyblade";
     Level          = RandomLevel(25);
     Flags1         = 0x010;
     ResistArcane   = 55;
     ResistFire     = 55;
     ResistFrost    = 55;
     ResistHoly     = 55;
     ResistNature   = 55;
     ResistShadow   = 55;
     Str            = (int)(Level * 1.5f);
     Armor          = 858;
     NpcType        = (int)NpcTypes.Beast;
     BaseMana       = 0;
     ManaType       = 1;
     NpcFlags       = 00;
     BoundingRadius = 1.00000f;
     CombatReach    = 0.80f;
     SetDamage(1f + 1.8f * Level, 1f + 2.5 * Level);
     ManaType  = 0;
     Family    = 27;
     Elite     = 4; Block = Level + 50;
     Faction   = Factions.Monster;
     Size      = 1.5f;
     Speed     = 3f;
     WalkSpeed = 3f;
     RunSpeed  = 6f;
     AIEngine  = new BerserkerAI(this);
     BCAddon.Hp(this, 622, 25);
     SkinLoot = new Loot[] { new Loot(typeof(LightLeather), 65.0f)
                             , new Loot(typeof(MediumLeather), 61.0f) };
     Loots = new BaseTreasure[] { new BaseTreasure(WindSerpentDrops.AzzereTheSkyblade, 100f) };
 }