예제 #1
0
        public Neanderthal() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = "a neanderthal";
            Body        = Utility.RandomList(267, 162);
            BaseSoundID = 427;

            SetStr(176, 205);
            SetDex(46, 65);
            SetInt(46, 70);

            SetHits(106, 123);

            SetDamage(8, 14);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 35, 45);
            SetResistance(ResistanceType.Fire, 25, 35);
            SetResistance(ResistanceType.Cold, 15, 25);
            SetResistance(ResistanceType.Poison, 5, 15);
            SetResistance(ResistanceType.Energy, 5, 15);

            SetSkill(SkillName.MagicResist, 45.1, 60.0);
            SetSkill(SkillName.Tactics, 50.1, 70.0);
            SetSkill(SkillName.Wrestling, 50.1, 70.0);
            SetSkill(SkillName.Archery, 50.1, 70.0);

            Fame  = 3500;
            Karma = -3500;

            VirtualArmor = 40;

            if (Utility.RandomBool())
            {
                AI = AIType.AI_Archer;
                SetDex(176, 205);
                MonsterGloves gloves = new MonsterGloves();
                gloves.ThrowType = "Stones";
                AddItem(gloves);

                ThrowingWeapon toss = new ThrowingWeapon(Utility.RandomMinMax(10, 30));
                toss.ammo = "Throwing Stones"; toss.ItemID = 0x10B6; toss.Name = "throwing stone";
                PackItem(toss);
            }
            else
            {
                PackItem(new Club());
            }
        }
예제 #2
0
        public Morlock() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = "a morlock";
            Body        = 332;
            BaseSoundID = 427;

            SetStr(156, 185);
            SetDex(111, 135);
            SetInt(46, 70);

            SetHits(106, 123);
            SetMana(0);

            SetDamage(10, 15);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 25, 35);
            SetResistance(ResistanceType.Cold, 85, 95);
            SetResistance(ResistanceType.Poison, 5, 10);
            SetResistance(ResistanceType.Energy, 5, 10);

            SetSkill(SkillName.MagicResist, 25.1, 40.0);
            SetSkill(SkillName.Tactics, 70.1, 100.0);
            SetSkill(SkillName.Wrestling, 45.1, 70.0);
            SetSkill(SkillName.Archery, 45.1, 70.0);

            Fame  = 1500;
            Karma = -1500;

            VirtualArmor = 30;

            if (Utility.RandomBool())
            {
                AI = AIType.AI_Archer;
                SetDex(156, 185);
                MonsterGloves gloves = new MonsterGloves();
                gloves.ThrowType = "Stones";
                AddItem(gloves);

                ThrowingWeapon toss = new ThrowingWeapon(Utility.RandomMinMax(10, 30));
                toss.ammo = "Throwing Stones"; toss.ItemID = 0x10B6; toss.Name = "throwing stone";
                PackItem(toss);
            }
            else
            {
                PackItem(new Club());
            }
        }
예제 #3
0
        public Urc() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = NameList.RandomName("orc");
            Title       = "the urc";
            Body        = 20;
            BaseSoundID = 0x45A;

            SetStr(336, 385);
            SetDex(96, 115);
            SetInt(31, 55);

            SetHits(202, 231);
            SetMana(0);

            SetDamage(7, 23);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 45, 50);
            SetResistance(ResistanceType.Fire, 30, 40);
            SetResistance(ResistanceType.Cold, 25, 35);
            SetResistance(ResistanceType.Poison, 30, 40);
            SetResistance(ResistanceType.Energy, 30, 40);

            SetSkill(SkillName.MagicResist, 60.3, 105.0);
            SetSkill(SkillName.Tactics, 80.1, 100.0);
            SetSkill(SkillName.Wrestling, 80.1, 90.0);
            SetSkill(SkillName.Archery, 80.1, 90.0);

            Fame  = 4500;
            Karma = -4500;

            VirtualArmor = 48;

            if (Utility.RandomBool())
            {
                AI = AIType.AI_Archer;
                SetDex(336, 385);
                MonsterGloves gloves = new MonsterGloves();
                gloves.ThrowType = "Stones";
                AddItem(gloves);

                ThrowingWeapon toss = new ThrowingWeapon(Utility.RandomMinMax(10, 30));
                toss.ammo = "Throwing Stones"; toss.ItemID = 0x10B6; toss.Name = "throwing stone";
                PackItem(toss);
            }
        }
예제 #4
0
        public Minotaur() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)           // NEED TO CHECK
        {
            Name        = "a minotaur";
            Body        = 263;
            BaseSoundID = 0x54E;

            SetStr(166, 195);
            SetDex(46, 65);
            SetInt(46, 70);

            SetHits(100, 117);
            SetMana(0);

            SetDamage(9, 11);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 30, 35);
            SetResistance(ResistanceType.Fire, 15, 25);
            SetResistance(ResistanceType.Cold, 15, 25);
            SetResistance(ResistanceType.Poison, 15, 25);
            SetResistance(ResistanceType.Energy, 25);

            SetSkill(SkillName.MagicResist, 55.1, 70.0);
            SetSkill(SkillName.Tactics, 60.1, 70.0);
            SetSkill(SkillName.Wrestling, 70.1, 80.0);
            SetSkill(SkillName.Archery, 70.1, 80.0);

            Fame  = 4000;
            Karma = -4000;

            VirtualArmor = 32;

            if (Utility.RandomBool())
            {
                AI = AIType.AI_Archer;
                SetDex(166, 195);
                MonsterGloves gloves = new MonsterGloves();
                gloves.ThrowType = "Axes";
                AddItem(gloves);

                ThrowingWeapon toss = new ThrowingWeapon(Utility.RandomMinMax(10, 30));
                toss.ammo = "Throwing Axes"; toss.ItemID = 0x10B3; toss.Name = "throwing axe";
                PackItem(toss);
            }
        }
예제 #5
0
        public Hobgoblin() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = "a hobgoblin";
            Body        = 11;
            BaseSoundID = 0x45A;

            SetStr(166, 195);
            SetDex(46, 65);
            SetInt(46, 70);

            SetHits(100, 117);
            SetMana(0);

            SetDamage(9, 11);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 30, 35);
            SetResistance(ResistanceType.Fire, 15, 25);
            SetResistance(ResistanceType.Cold, 15, 25);
            SetResistance(ResistanceType.Poison, 15, 25);
            SetResistance(ResistanceType.Energy, 25);

            SetSkill(SkillName.MagicResist, 55.1, 70.0);
            SetSkill(SkillName.Tactics, 60.1, 70.0);
            SetSkill(SkillName.Wrestling, 70.1, 80.0);
            SetSkill(SkillName.Macing, 70.1, 80.0);

            Fame  = 3000;
            Karma = -3000;

            VirtualArmor = 32;

            if (Utility.RandomBool())
            {
                AI = AIType.AI_Archer;
                SetDex(166, 195);
                MonsterGloves gloves = new MonsterGloves();
                gloves.ThrowType = "Daggers";
                AddItem(gloves);

                ThrowingWeapon toss = new ThrowingWeapon(Utility.RandomMinMax(10, 30));
                toss.ammo = "Throwing Daggers"; toss.ItemID = 0x10B7; toss.Name = "throwing dagger";
                PackItem(toss);
            }
        }
예제 #6
0
        public PirateOgreLord()
        {
            Name        = NameList.RandomName("giant");
            Title       = "the ogre pirate";
            Body        = 303;
            BaseSoundID = 427;

            AI        = AIType.AI_Archer;
            FightMode = FightMode.Closest;
            ship      = new GalleonBarbarian();
            ship.Hue  = ShipColor("");

            SetStr(536, 585);
            SetDex(126, 145);
            SetInt(281, 305);

            SetHits(322, 351);
            SetMana(0);

            SetDamage(16, 23);

            SetDamageType(ResistanceType.Physical, 50);
            SetDamageType(ResistanceType.Fire, 50);

            SetResistance(ResistanceType.Physical, 45, 50);
            SetResistance(ResistanceType.Fire, 50, 60);
            SetResistance(ResistanceType.Cold, 25, 35);
            SetResistance(ResistanceType.Poison, 30, 40);
            SetResistance(ResistanceType.Energy, 30, 40);

            SetSkill(SkillName.MagicResist, 60.3, 105.0);
            SetSkill(SkillName.Tactics, 80.1, 100.0);
            SetSkill(SkillName.Wrestling, 80.1, 90.0);
            SetSkill(SkillName.Archery, 80.1, 90.0);

            Fame  = 11000;
            Karma = -11000;

            VirtualArmor = 48;

            MonsterGloves gloves = new MonsterGloves(); gloves.ThrowType = "Boulder"; AddItem(gloves);

            healme = "Ugh...heal me you swabs!";
        }
예제 #7
0
        public RatmanArcher() : base(AIType.AI_Archer, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = NameList.RandomName("ratman");
            Title       = "the ratman";
            Body        = 42;
            BaseSoundID = 437;

            SetStr(146, 180);
            SetDex(101, 130);
            SetInt(116, 140);

            SetHits(88, 108);

            SetDamage(4, 10);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 40, 55);
            SetResistance(ResistanceType.Fire, 10, 20);
            SetResistance(ResistanceType.Cold, 10, 20);
            SetResistance(ResistanceType.Poison, 10, 20);
            SetResistance(ResistanceType.Energy, 10, 20);

            SetSkill(SkillName.Anatomy, 60.2, 100.0);
            SetSkill(SkillName.Archery, 80.1, 90.0);
            SetSkill(SkillName.MagicResist, 65.1, 90.0);
            SetSkill(SkillName.Tactics, 50.1, 75.0);
            SetSkill(SkillName.Wrestling, 50.1, 75.0);

            Fame  = 6500;
            Karma = -6500;

            VirtualArmor = 56;

            MonsterGloves gloves = new MonsterGloves();

            gloves.ThrowType = "Daggers";
            AddItem(gloves);

            ThrowingWeapon toss = new ThrowingWeapon(Utility.RandomMinMax(10, 30));

            toss.ammo = "Throwing Daggers"; toss.ItemID = 0x10B7; toss.Name = "throwing dagger";
            PackItem(toss);
        }
예제 #8
0
        public SaklethArcher() : base(AIType.AI_Archer, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = NameList.RandomName("lizardman");
            Title       = "the sakkhra";
            Body        = 326;
            BaseSoundID = 417;

            SetStr(136, 165);
            SetDex(56, 75);
            SetInt(31, 55);

            SetHits(82, 99);

            SetDamage(7, 17);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 35, 40);
            SetResistance(ResistanceType.Fire, 15, 25);
            SetResistance(ResistanceType.Cold, 40, 50);
            SetResistance(ResistanceType.Poison, 15, 25);
            SetResistance(ResistanceType.Energy, 15, 25);

            SetSkill(SkillName.MagicResist, 40.1, 55.0);
            SetSkill(SkillName.Tactics, 50.1, 70.0);
            SetSkill(SkillName.Wrestling, 50.1, 60.0);
            SetSkill(SkillName.Archery, 50.1, 60.0);

            Fame  = 3500;
            Karma = -3500;

            VirtualArmor = 38;

            MonsterGloves gloves = new MonsterGloves();

            gloves.ThrowType = "Daggers";
            AddItem(gloves);

            ThrowingWeapon toss = new ThrowingWeapon(Utility.RandomMinMax(10, 30));

            toss.ammo = "Throwing Daggers"; toss.ItemID = 0x10B7; toss.Name = "throwing dagger";
            PackItem(toss);
        }
예제 #9
0
        public LizardmanArcher() : base(AIType.AI_Archer, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = NameList.RandomName("lizardman");
            Title       = "the lizardman";
            Body        = 35;
            BaseSoundID = 417;

            SetStr(146, 180);
            SetDex(101, 130);
            SetInt(116, 140);

            SetHits(88, 108);

            SetDamage(4, 10);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 25, 30);
            SetResistance(ResistanceType.Fire, 5, 10);
            SetResistance(ResistanceType.Cold, 5, 10);
            SetResistance(ResistanceType.Poison, 10, 20);

            SetSkill(SkillName.Anatomy, 60.2, 100.0);
            SetSkill(SkillName.Archery, 80.1, 90.0);
            SetSkill(SkillName.MagicResist, 65.1, 90.0);
            SetSkill(SkillName.Tactics, 50.1, 75.0);
            SetSkill(SkillName.Wrestling, 50.1, 75.0);

            Fame  = 2500;
            Karma = -2500;

            VirtualArmor = 32;

            MonsterGloves gloves = new MonsterGloves();

            gloves.ThrowType = "Spear";
            AddItem(gloves);
            PackItem(new Spear());
        }
예제 #10
0
        public Orc() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = NameList.RandomName("orc");
            Title       = "the orc";
            Body        = 17;
            BaseSoundID = 0x45A;

            SetStr(96, 120);
            SetDex(81, 105);
            SetInt(36, 60);

            SetHits(58, 72);

            SetDamage(5, 7);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 25, 30);
            SetResistance(ResistanceType.Fire, 20, 30);
            SetResistance(ResistanceType.Cold, 10, 20);
            SetResistance(ResistanceType.Poison, 10, 20);
            SetResistance(ResistanceType.Energy, 20, 30);

            SetSkill(SkillName.MagicResist, 50.1, 75.0);
            SetSkill(SkillName.Tactics, 55.1, 80.0);
            SetSkill(SkillName.Wrestling, 50.1, 70.0);
            SetSkill(SkillName.Archery, 50.1, 70.0);

            Fame  = 1500;
            Karma = -1500;

            VirtualArmor = 28;

            if (Utility.RandomBool())
            {
                AI = AIType.AI_Archer;
                SetDex(96, 120);
                MonsterGloves gloves = new MonsterGloves();
                gloves.ThrowType = "Stones";
                AddItem(gloves);

                ThrowingWeapon toss = new ThrowingWeapon(Utility.RandomMinMax(10, 30));
                toss.ammo = "Throwing Stones"; toss.ItemID = 0x10B6; toss.Name = "throwing stone";
                PackItem(toss);
            }
            else
            {
                switch (Utility.Random(20))
                {
                case 0: PackItem(new Scimitar()); break;

                case 1: PackItem(new Katana()); break;

                case 2: PackItem(new WarMace()); break;

                case 3: PackItem(new WarHammer()); break;

                case 4: PackItem(new Kryss()); break;

                case 5: PackItem(new Pitchfork()); break;
                }
            }

            PackItem(new ThighBoots());

            switch (Utility.Random(3))
            {
            case 0: PackItem(new Ribs()); break;

            case 1: PackItem(new Shaft()); break;

            case 2: PackItem(new Candle()); break;
            }
        }
예제 #11
0
        public void SizeUpCrewMember(BaseCreature bc, bool evil, int link, Mobile captain, string toss)
        {
            MorphingTime.RemoveMyClothes((Mobile)bc);

            if (bc.Backpack != null)
            {
                List <Item> belongings = new List <Item>();
                foreach (Item i in bc.Backpack.Items)
                {
                    belongings.Add(i);
                }
                foreach (Item stuff in belongings)
                {
                    stuff.Delete();
                }
            }

            bc.AI        = AIType.AI_Archer;
            bc.FightMode = FightMode.Evil;
            bc.Karma     = 1500;
            bc.Name      = "a sailor";

            if (evil)
            {
                bc.FightMode = FightMode.Closest;
                bc.Karma     = -1500;
                bc.Name      = "a pirate";
                if (captain is PirateCult)
                {
                    bc.Name = "a follower";
                }
            }

            bc.SetStr(96, 120);
            bc.SetDex(81, 105);
            bc.SetInt(36, 60);

            bc.SetHits(58, 72);

            SetDamage(10, 23);

            bc.SetDamageType(ResistanceType.Physical, 100);

            bc.SetResistance(ResistanceType.Physical, 35, 50);
            bc.SetResistance(ResistanceType.Fire, 10, 30);
            bc.SetResistance(ResistanceType.Cold, 10, 30);
            bc.SetResistance(ResistanceType.Poison, 10, 30);
            bc.SetResistance(ResistanceType.Energy, 10, 30);

            bc.SetSkill(SkillName.Archery, 66.0, 97.5);
            bc.SetSkill(SkillName.MagicResist, 25.0, 47.5);
            bc.SetSkill(SkillName.Tactics, 65.0, 87.5);
            bc.SetSkill(SkillName.Wrestling, 66.0, 97.5);

            bc.Fame = 1500;

            bc.VirtualArmor = 32;

            bc.Title    = null;
            bc.EmoteHue = link;

            if (toss == "stones")
            {
                MonsterGloves gloves = new MonsterGloves(); gloves.ThrowType = "Stones"; bc.AddItem(gloves);
            }
            else if (toss == "stars")
            {
                MonsterGloves gloves = new MonsterGloves(); gloves.ThrowType = "Stars"; bc.AddItem(gloves);
            }
            else if (toss == "axes")
            {
                MonsterGloves gloves = new MonsterGloves(); gloves.ThrowType = "Axes"; bc.AddItem(gloves);
            }
            else if (toss == "daggers")
            {
                MonsterGloves gloves = new MonsterGloves(); gloves.ThrowType = "Daggers"; bc.AddItem(gloves);
            }
            else if (toss == "darts")
            {
                MonsterGloves gloves = new MonsterGloves(); gloves.ThrowType = "Darts"; bc.AddItem(gloves);
            }
            else if (toss == "spear")
            {
                MonsterGloves gloves = new MonsterGloves(); gloves.ThrowType = "Spear"; bc.AddItem(gloves);
            }
            else if (toss == "boulder")
            {
                MonsterGloves gloves = new MonsterGloves(); gloves.ThrowType = "Boulder"; bc.AddItem(gloves);
            }
            else if (toss == "bones")
            {
                MonsterGloves gloves = new MonsterGloves(); gloves.ThrowType = "Bones"; bc.AddItem(gloves);
            }
            else if (toss == "arrows")
            {
                bc.AddItem(new Bow());
            }
            else if (toss == "crossbow")
            {
                bc.AddItem(new Crossbow());
            }
            else if (toss == "harpoon")
            {
                bc.AddItem(new Harpoon());
            }

            else if (toss == "fire")
            {
                WizardStaff staff = new WizardStaff(); staff.AosElementDamages.Fire = 75; staff.damageType = 1; bc.AddItem(staff);
            }
            else if (toss == "cold")
            {
                WizardStaff staff = new WizardStaff(); staff.AosElementDamages.Cold = 75; staff.damageType = 2; bc.AddItem(staff);
            }
            else if (toss == "energy")
            {
                WizardStaff staff = new WizardStaff(); staff.AosElementDamages.Energy = 75; staff.damageType = 3; bc.AddItem(staff);
            }
            else if (toss == "poison")
            {
                WizardStaff staff = new WizardStaff(); staff.AosElementDamages.Poison = 75; staff.damageType = 4; bc.AddItem(staff);
            }
            else if (toss == "bolt")
            {
                WizardStaff staff = new WizardStaff(); staff.damageType = 0; bc.AddItem(staff);
            }

            DressUpCrewMember(bc, captain);
            bc.NameColor();
            bc.MoveToWorld(captain.Location, captain.Map);
        }