コード例 #1
0
        public SkeletalKnight() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.45, 0.8)
        {
            Body = 57;
            Name = "a skeletal knight";
            SetStr(96, 150);
            SetHits(96, 150);
            SetDex(76, 95);
            SetStam(76, 95);
            SetInt(36, 60);
            SetMana(0);
            Karma = -125;

            BaseSoundID = 451;
            SetSkill(SkillName.Tactics, 85.1, 100);
            SetSkill(SkillName.MagicResist, 65.1, 80);
            SetSkill(SkillName.Parry, 85.1, 95);
            SetSkill(SkillName.Wrestling, 85.1, 95);

            VirtualArmor = 18;
            SetDamage(2, 20);

            PackItem(new PlateChest());
            LootPack.Rich.Generate(this);

            Item item = null;

            switch (Utility.Random(10))
            {
            case 0:
            {
                item = new BoneChest();
                break;
            }

            case 1:
            {
                item = new BoneLegs();
                break;
            }

            case 2:
            {
                item = new BoneArms();
                break;
            }

            case 3:
            {
                item = new BoneGloves();
                break;
            }

            case 4:
            {
                item = new BoneHelm();
                break;
            }
            }
            PackItem(item);
        }
コード例 #2
0
        public override void InitOutfit()
        {
            WipeLayers();

            Scimitar sword = new Scimitar();

            sword.Quality = WeaponQuality.Exceptional;
            sword.Movable = false;
            AddItem(sword);

            Item hair = new KrisnaHair();

            hair.Hue     = 1263;
            hair.Layer   = Layer.Hair;
            hair.Movable = false;
            AddItem(hair);

            BoneArms arms = new BoneArms();

            arms.Name     = "magical bindings";
            arms.Hue      = 1706;
            arms.LootType = LootType.Newbied;
            AddItem(arms);

            GoldNecklace necklace = new GoldNecklace();

            necklace.Name     = "magical collar";
            necklace.Hue      = 1706;
            necklace.LootType = LootType.Newbied;
            AddItem(necklace);
        }
コード例 #3
0
ファイル: Skeleton.cs プロジェクト: proxeeus/UORebirth
        public Skeleton() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.45, 0.8)
        {
            Body = Utility.RandomList(50, 56);
            Name = "a skeleton";
            SetStr(56, 80);
            SetHits(56, 80);
            SetDex(56, 75);
            SetStam(56, 75);
            SetInt(16, 40);
            SetMana(0);
            Karma = -125;

            BaseSoundID = 451;
            SetSkill(SkillName.Tactics, 45.1, 60);
            SetSkill(SkillName.MagicResist, 45.1, 60);
            SetSkill(SkillName.Parry, 45.1, 55);
            SetSkill(SkillName.Wrestling, 45.1, 55);

            VirtualArmor = 8;
            SetDamage(2, 8);

            Item item = null;

            switch (Utility.Random(10))
            {
            case 0:
            {
                item = new BoneChest();
                break;
            }

            case 1:
            {
                item = new BoneLegs();
                break;
            }

            case 2:
            {
                item = new BoneArms();
                break;
            }

            case 3:
            {
                item = new BoneGloves();
                break;
            }

            case 4:
            {
                item = new BoneHelm();
                break;
            }
            }
            PackItem(item);
            LootPack.Meager.Generate(this);
        }
コード例 #4
0
		public Dracolich () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = NameList.RandomName( "dragon" );
			Title = "the dracolich";
			Body = 104;
			BaseSoundID = 0x488;

			SetStr( 898, 1030 );
			SetDex( 68, 200 );
			SetInt( 488, 620 );

			SetHits( 558, 599 );

			SetDamage( 29, 35 );

			SetDamageType( ResistanceType.Physical, 75 );
			SetDamageType( ResistanceType.Fire, 25 );

			SetResistance( ResistanceType.Physical, 75, 80 );
			SetResistance( ResistanceType.Fire, 40, 60 );
			SetResistance( ResistanceType.Cold, 40, 60 );
			SetResistance( ResistanceType.Poison, 70, 80 );
			SetResistance( ResistanceType.Energy, 40, 60 );

			SetSkill( SkillName.EvalInt, 80.1, 100.0 );
			SetSkill( SkillName.Magery, 80.1, 100.0 );
			SetSkill( SkillName.MagicResist, 100.3, 130.0 );
			SetSkill( SkillName.Tactics, 97.6, 100.0 );
			SetSkill( SkillName.Wrestling, 97.6, 100.0 );

			Fame = 22500;
			Karma = -22500;

			VirtualArmor = 80;

			PackNecroReg( 12, 40 );
			PackNecroReg( 12, 40 );

			Item dracoItem = null;

			switch ( Utility.RandomMinMax( 0, 2 ) )
			{
				case 0: dracoItem = Loot.RandomWeapon( false ); MorphingItem.MorphMyItem( dracoItem, "IGNORED", "Dracolich", "IGNORED", MorphingTemplates.TemplateDracolich("weapons") ); PackItem( dracoItem ); break;
				case 1: dracoItem = Loot.RandomJewelry(); MorphingItem.MorphMyItem( dracoItem, "IGNORED", "Dracolich", "IGNORED", MorphingTemplates.TemplateDracolich("misc") ); PackItem( dracoItem ); break;
				case 2:
					switch ( Utility.RandomMinMax( 0, 6 ) )
					{
						case 0: dracoItem = new BoneLegs(); MorphingItem.MorphMyItem( dracoItem, "IGNORED", "IGNORED", "Dracolich Leggings", MorphingTemplates.TemplateDracolich("armors") ); PackItem( dracoItem ); break;
						case 1: dracoItem = new BoneGloves(); MorphingItem.MorphMyItem( dracoItem, "IGNORED", "IGNORED", "Dracolich Gloves", MorphingTemplates.TemplateDracolich("armors") ); PackItem( dracoItem ); break;
						case 2: dracoItem = new BoneArms(); MorphingItem.MorphMyItem( dracoItem, "IGNORED", "IGNORED", "Dracolich Arms", MorphingTemplates.TemplateDracolich("armors") ); PackItem( dracoItem ); break;
						case 3: dracoItem = new BoneChest(); MorphingItem.MorphMyItem( dracoItem, "IGNORED", "IGNORED", "Dracolich Tunic", MorphingTemplates.TemplateDracolich("armors") ); PackItem( dracoItem ); break;
						case 4: dracoItem = new BoneSkirt(); MorphingItem.MorphMyItem( dracoItem, "IGNORED", "IGNORED", "Dracolich Tunic", MorphingTemplates.TemplateDracolich("armors") ); PackItem( dracoItem ); break;
						case 5: dracoItem = new OrcHelm(); MorphingItem.MorphMyItem( dracoItem, "IGNORED", "IGNORED", "Dracolich Helm", MorphingTemplates.TemplateDracolich("armors") ); PackItem( dracoItem ); break;
						case 6: dracoItem = new WoodenShield(); MorphingItem.MorphMyItem( dracoItem, "IGNORED", "IGNORED", "Dracolich Shield", MorphingTemplates.TemplateDracolich("armors") ); PackItem( dracoItem ); break;
					}
				break;
			}
		}
コード例 #5
0
        public EvilPaladin() : base(AIType.AI_Melee)
        {
            Body = 0x190;
            Name = "Paladin for Evil";
            Hue  = 0;

            SetSkill(SkillName.Swords, 120.1, 130.0);

            VikingSword weapon = new VikingSword();

            weapon.Hue     = 1108;
            weapon.Movable = false;
            AddItem(weapon);

            MetalShield shield = new MetalShield();

            shield.Hue     = 1108;
            shield.Movable = false;
            AddItem(shield);

            BoneHelm helm = new BoneHelm();

            helm.Hue     = 1108;
            helm.Movable = false;
            AddItem(helm);

            BoneArms arms = new BoneArms();

            arms.Hue     = 1108;
            arms.Movable = false;
            AddItem(arms);

            BoneGloves gloves = new BoneGloves();

            gloves.Hue     = 1108;
            gloves.Movable = false;
            AddItem(gloves);

            BoneChest tunic = new BoneChest();

            tunic.Hue     = 1108;
            tunic.Movable = false;
            AddItem(tunic);

            BoneLegs legs = new BoneLegs();

            legs.Hue     = 1108;
            legs.Movable = false;
            AddItem(legs);

            Shoes shoes = new Shoes();

            shoes.Hue     = 1108;
            shoes.Movable = false;
            AddItem(shoes);
        }
コード例 #6
0
        public override void GenerateLoot()
        {
            AddLoot(LootPack.Poor);

            Item item = null;

            if (Utility.RandomBool())
            {
                PackGem();
            }

            switch (Utility.Random(15))
            {
            case 0:
            {
                item = new BoneChest();
                PackItem(item);
                break;
            }

            case 1:
            {
                item = new BoneLegs();
                PackItem(item);
                break;
            }

            case 2:
            {
                item = new BoneArms();
                PackItem(item);
                break;
            }

            case 3:
            {
                item = new BoneGloves();
                PackItem(item);
                break;
            }

            case 4:
            {
                item = new BoneHelm();
                PackItem(item);
                break;
            }
            }
        }
コード例 #7
0
        public DeathsReaper()
        {
            Name     = "Deaths Reaper ";
            Title    = "Quest Giver";
            Body     = 400;
            CantWalk = true;
            Hue      = 1102;
            Blessed  = true;

            BoneLegs bl = new BoneLegs();

            bl.Hue      = 1107;
            bl.Name     = "Death Reaper Legs";
            bl.LootType = LootType.Blessed;
            AddItem(bl);

            BoneChest bc = new BoneChest();

            bc.Hue      = 1107;
            bc.Name     = "Death Reaper Chest";
            bc.LootType = LootType.Blessed;
            AddItem(bc);

            BoneArms ba = new BoneArms();

            ba.Hue      = 1107;
            ba.Name     = "Death Reaper Arms";
            ba.LootType = LootType.Blessed;
            AddItem(ba);

            TribalMask tm = new TribalMask();

            tm.Hue      = 1107;
            tm.Name     = "Death Reaper Mask";
            tm.LootType = LootType.Blessed;
            AddItem(tm);


            //             Item Scythe = new Item( 9914 );
            //             Scythe.Name = "Deaths Scythe ";
            //             Scythe.Hue = 1157;
            //              Scythe.Layer = Layer.OneHanded;
            //             Scythe.LootType = LootType.Blessed;
            //             AddItem( Scythe );

            Container pack = new Backpack();
        }
コード例 #8
0
        public override void InitOutfit()
        {
            WipeLayers();
            BoneArms arms = new BoneArms();

            AddItem(arms);

            BoneGloves gloves = new BoneGloves();

            AddItem(gloves);

            BoneChest tunic = new BoneChest();

            AddItem(tunic);
            BoneLegs legs = new BoneLegs();

            AddItem(legs);

            BoneHelm helm = new BoneHelm();

            AddItem(helm);

            AddItem(new Shoes());

            Item weapon = null;

            if (Utility.RandomBool())
            {
                SetSkill(SkillName.Parry, 60, 95);
                AddItem(new Buckler());
                weapon = new Katana();
                SetDamage(8, 10);                                       // numbers based on LordGuardian
            }
            else
            {
                weapon = new ExecutionersAxe();
                SetDamage(20, 30);                              // numbers based on Executioner
            }

            weapon.Movable = true;

            AddItem(weapon);
        }
コード例 #9
0
        public override void InitOutfit()
        {
            WipeLayers();
            BoneArms arms = new BoneArms();

            arms.Hue      = 0x3A8;
            arms.LootType = LootType.Blessed;
            AddItem(arms);

            BoneGloves gloves = new BoneGloves();

            gloves.Hue      = 0x3A8;
            gloves.LootType = LootType.Blessed;
            AddItem(gloves);

            BoneChest tunic = new BoneChest();

            tunic.Hue      = 0x3A8;
            tunic.LootType = LootType.Blessed;
            AddItem(tunic);
            BoneLegs legs = new BoneLegs();

            legs.Hue      = 0x3A8;
            legs.LootType = LootType.Blessed;
            AddItem(legs);

            BoneHelm helm = new BoneHelm();

            helm.Hue      = 0x3A8;
            helm.LootType = LootType.Blessed;
            AddItem(helm);

            AddItem(new Shoes());
            AddItem(new Buckler());

            VikingSword weapon = new VikingSword();

            weapon.Movable = true;

            AddItem(weapon);
        }
コード例 #10
0
        public override void InitOutfit()
        {
            WipeLayers();
            BoneArms arms = new BoneArms();

            AddItem(arms);

            BoneGloves gloves = new BoneGloves();

            AddItem(gloves);

            BoneChest tunic = new BoneChest();

            AddItem(tunic);
            BoneLegs legs = new BoneLegs();

            AddItem(legs);

            BoneHelm helm = new BoneHelm();

            AddItem(helm);

            AddItem(new Shoes());
        }
コード例 #11
0
ファイル: GokturWarlord.cs プロジェクト: VulakAerr/runuo
        public GokturWarlord() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.01, 0.005)
        {
            Name        = NameList.RandomName("orc");
            Body        = 0x190;
            BaseSoundID = 0x45A;
            Title       = "the Goktur Clan War Chieftain";
            Hue         = Utility.RandomMinMax(2207, 2212);

            SetStr(96, 120);
            SetDex(450, 500);
            SetInt(36, 60);

            SetHits(200, 300);

            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.Macing, 50.1, 70.0);
            SetSkill(SkillName.Fencing, 50.1, 70.0);

            Fame  = 0;
            Karma = 0;

            VirtualArmor = 28;

            OrcishKinMask helm = new OrcishKinMask();

            helm.Hue = this.Hue;
            AddItem(helm);

            WarHammer warhammer = new WarHammer();

            warhammer.Hue = 0;
            AddItem(warhammer);

            BoneLegs bonelegs = new BoneLegs();

            bonelegs.Hue = 0;
            AddItem(bonelegs);

            BoneChest bonechest = new BoneChest();

            bonechest.Hue = 0;
            AddItem(bonechest);

            BoneArms bonearms = new BoneArms();

            bonearms.Hue = 0;
            AddItem(bonearms);

            BoneGloves bonegloves = new BoneGloves();

            bonegloves.Hue = 0;
            AddItem(bonegloves);

            Sandals sandals = new Sandals();

            sandals.Hue = 0;
            AddItem(sandals);
        }
コード例 #12
0
        public CaptainJackSparrow() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body  = 0x190;
            Name  = "Captain Jack Sparrow";
            Title = "Dread Pirate";
            Hue   = 0;

            SetStr(351, 400);
            SetDex(151, 165);
            SetInt(76, 100);

            SetHits(1200, 1500);

            SetDamage(15, 25);

            SetDamageType(ResistanceType.Physical, 100);
            SetDamageType(ResistanceType.Cold, 25);

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

            SetSkill(SkillName.Wrestling, 100.0);
            SetSkill(SkillName.Swords, 120.1, 130.0);
            SetSkill(SkillName.Anatomy, 120.1, 130.0);
            SetSkill(SkillName.MagicResist, 90.1, 100.0);
            SetSkill(SkillName.Tactics, 90.1, 100.0);

            Fame  = 10000;
            Karma = -10000;

            VirtualArmor = 55;

            Cutlass weapon = new Cutlass();

            weapon.Hue     = 0x835;
            weapon.Movable = false;
            AddItem(weapon);

            MetalShield shield = new MetalShield();

            shield.Hue     = 0x835;
            shield.Movable = false;
            AddItem(shield);

            TricorneHat hat = new TricorneHat();

            hat.Hue = 0x835;
            AddItem(hat);

            BoneArms arms = new BoneArms();

            arms.Hue = 0x835;
            AddItem(arms);

            BoneGloves gloves = new BoneGloves();

            gloves.Hue = 0x835;
            AddItem(gloves);

            BoneChest tunic = new BoneChest();

            tunic.Hue = 0x835;
            AddItem(tunic);

            BoneLegs legs = new BoneLegs();

            legs.Hue = 0x835;
            AddItem(legs);

            AddItem(new Boots());
            PackGold(1500, 2000);

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

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

            case 2: PackItem(new CaptainJackSparrowsCutlass()); break;
            }
        }
コード例 #13
0
        public SavageShaman() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = NameList.RandomName("savage shaman");

            int dino = Utility.RandomList(0x7D1, 0x7D2, 0x7D3, 0x7D4, 0x7D5, 0x7D6);

            if (Female = Utility.RandomBool())
            {
                Body = 401;
                Item cloth9 = new FemaleLeatherChest();
                cloth9.Hue  = dino;
                cloth9.Name = "dracosaur tunic";
                AddItem(cloth9);
            }
            else
            {
                Body = 400;
            }

            Hue = 0;

            SetStr(126, 145);
            SetDex(91, 110);
            SetInt(161, 185);

            SetDamage(4, 10);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 30, 40);
            SetResistance(ResistanceType.Fire, 20, 30);
            SetResistance(ResistanceType.Cold, 20, 30);
            SetResistance(ResistanceType.Poison, 20, 30);
            SetResistance(ResistanceType.Energy, 40, 50);

            SetSkill(SkillName.EvalInt, 77.5, 100.0);
            SetSkill(SkillName.Fencing, 62.5, 85.0);
            SetSkill(SkillName.Macing, 62.5, 85.0);
            SetSkill(SkillName.Magery, 72.5, 95.0);
            SetSkill(SkillName.Meditation, 77.5, 100.0);
            SetSkill(SkillName.MagicResist, 77.5, 100.0);
            SetSkill(SkillName.Swords, 62.5, 85.0);
            SetSkill(SkillName.Tactics, 62.5, 85.0);
            SetSkill(SkillName.Wrestling, 62.5, 85.0);

            Fame  = 1000;
            Karma = -1000;

            PackReg(10, 15);
            PackItem(new Bandage(Utility.RandomMinMax(1, 15)));

            if (0.1 > Utility.RandomDouble())
            {
                PackItem(new TribalBerry());
            }

            Item cloth1 = new BoneArms();

            cloth1.Hue  = dino;
            cloth1.Name = "dracosaur guantlets";
            AddItem(cloth1);
            Item cloth2 = new BoneLegs();

            cloth2.Hue  = dino;
            cloth2.Name = "dracosaur leggings";
            AddItem(cloth2);
            Item cloth3 = new HornedTribalMask();

            cloth3.Hue  = dino;
            cloth3.Name = "savage tribal mask";
            AddItem(cloth3);
            Item cloth4 = new LeatherSkirt();

            cloth4.Hue   = dino;
            cloth4.Name  = "dracosaur skirt";
            cloth4.Layer = Layer.Waist;
            AddItem(cloth4);
        }
コード例 #14
0
ファイル: MugdarWarchief.cs プロジェクト: VulakAerr/runuo
        public MugdarWarchief() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = NameList.RandomName("orc");
            Body        = 0x190;
            BaseSoundID = 0x45A;
            Title       = "the Mugdar Clan War Chieftain";
            Hue         = Utility.RandomMinMax(2207, 2212);

            SetStr(96, 120);
            SetDex(450, 500);
            SetInt(36, 60);

            SetHits(1000, 1200);

            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);

            Fame  = 0;
            Karma = 0;

            VirtualArmor = 28;

            BearMask helm = new BearMask();

            helm.Hue = 0;
            AddItem(helm);

            Club club = new Club();

            club.Hue = 0;
            AddItem(club);

            BoneLegs bonelegs = new BoneLegs();

            bonelegs.Hue = 0;
            AddItem(bonelegs);

            BoneChest bonechest = new BoneChest();

            bonechest.Hue = 0;
            AddItem(bonechest);

            BoneArms bonearms = new BoneArms();

            bonearms.Hue = 0;
            AddItem(bonearms);

            BoneGloves bonegloves = new BoneGloves();

            bonegloves.Hue = 0;
            AddItem(bonegloves);

            Sandals sandals = new Sandals();

            sandals.Hue = 0;
            AddItem(sandals);

            WoodenShield woodenshield = new WoodenShield();

            woodenshield.Hue = 0;
            AddItem(woodenshield);
        }
コード例 #15
0
        public ZuluuArcher() : base(AIType.AI_Archer, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "a zuluu";
            Hue  = 0x89D;

            if (this.Female = Utility.RandomBool())
            {
                Body = 0x191;
                Item cloth9 = new FemaleLeatherChest();
                cloth9.Hue  = 0xB9A;
                cloth9.Name = "Zuluu Tunic";
                AddItem(cloth9);
            }
            else
            {
                Body = 0x190;
            }

            HairHue = 0x96C;

            SetStr(216, 235);
            SetDex(306, 325);
            SetInt(71, 85);

            SetDamage(23, 27);

            SetDamageType(ResistanceType.Physical, 100);

            SetSkill(SkillName.Archery, 70.0, 102.5);
            SetSkill(SkillName.Macing, 70.0, 102.5);
            SetSkill(SkillName.Poisoning, 70.0, 102.5);
            SetSkill(SkillName.MagicResist, 67.5, 100.0);
            SetSkill(SkillName.Swords, 70.0, 102.5);
            SetSkill(SkillName.Tactics, 70.0, 102.5);

            Fame         = 3100;
            Karma        = -3100;
            VirtualArmor = 20;

            PackItem(new Bandage(Utility.RandomMinMax(1, 15)));

            Item cloth1 = new BoneArms();

            cloth1.Hue  = 0xB9A;
            cloth1.Name = "Zuluu Guantlets";
            AddItem(cloth1);
            Item cloth2 = new BoneLegs();

            cloth2.Hue  = 0xB9A;
            cloth2.Name = "Zuluu Leggings";
            AddItem(cloth2);
            Item cloth3 = new TribalMask();

            cloth3.Hue  = 0xB9A;
            cloth3.Name = "Zuluu Tribal Mask";
            AddItem(cloth3);
            Item cloth4 = new LeatherSkirt();

            cloth4.Hue   = 0xB9A;
            cloth4.Name  = "Zuluu Skirt";
            cloth4.Layer = Layer.Waist;
            AddItem(cloth4);

            AddItem(new Bow());
            PackItem(new Arrow(Utility.RandomMinMax(5, 15)));

            if (Utility.RandomMinMax(1, 12) == 1)
            {
                SwampDragon pet = new SwampDragon();
                pet.Hue      = 2006;
                pet.Name     = "a forest dragyn";
                pet.Rider    = this;
                ActiveSpeed  = 0.1;
                PassiveSpeed = 0.2;
            }
        }
コード例 #16
0
        public KhaldunZealot() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body  = 0x190;
            Title = "the Knight";
            Hue   = 0;

            SetStr(767, 945);
            SetDex(66, 75);
            SetInt(46, 70);

            SetHits(476, 552);

            SetDamage(20, 25);

            SetSkill(SkillName.Wrestling, 70.1, 80.0);
            SetSkill(SkillName.Swords, 120.1, 130.0);
            SetSkill(SkillName.Anatomy, 120.1, 130.0);
            SetSkill(SkillName.MagicResist, 125.1, 140.0);
            SetSkill(SkillName.Tactics, 90.1, 100.0);

            Fame         = 10000;
            Karma        = -10000;
            VirtualArmor = 40;

            VikingSword weapon = new VikingSword();

            weapon.Hue        = 0x835;
            weapon.Identified = true;
            weapon.Movable    = false;
            AddItem(Immovable(weapon));

            MetalShield shield = new MetalShield();

            shield.Hue        = 0x835;
            shield.Identified = true;
            shield.Movable    = false;
            AddItem(Immovable(shield));

            BoneHelm helm = new BoneHelm();

            helm.Hue        = 0x835;
            helm.Identified = true;
            AddItem(Immovable(helm));

            BoneArms arms = new BoneArms();

            arms.Hue        = 0x835;
            arms.Identified = true;
            AddItem(Immovable(arms));

            BoneGloves gloves = new BoneGloves();

            gloves.Hue        = 0x835;
            gloves.Identified = true;
            AddItem(Immovable(gloves));

            BoneChest tunic = new BoneChest();

            tunic.Hue        = 0x835;
            tunic.Identified = true;
            AddItem(Immovable(tunic));

            BoneLegs legs = new BoneLegs();

            legs.Hue        = 0x835;
            legs.Identified = true;
            AddItem(Immovable(legs));

            AddItem(new Boots());
        }
コード例 #17
0
        public Samurai() : base(AIType.AI_Melee, FightMode.Weakest, 10, 1, 0.175, 0.3)
        {
            Name        = "Samurai Assassin";
            Title       = ", Defiance Cult Clan";
            Hue         = 1;
            Body        = 400;
            SpeechHue   = 2305;
            BaseSoundID = 0;
            Team        = 0;
            //new EtherealHorse().Rider = this;

            SetStr(185, 215);
            SetDex(130, 140);
            SetInt(0, 0);

            SetHits(185, 300);

            SetSkill(SkillName.Tactics, 100.7, 100.4);
            SetSkill(SkillName.MagicResist, 191.4, 191.7);
            SetSkill(SkillName.Swords, 110.4, 110.7);
            SetSkill(SkillName.Anatomy, 110.4, 110.7);
            SetSkill(SkillName.Parry, 75.1, 100.1);

            Fame  = 15000;
            Karma = -15000;

            VirtualArmor = 75;

            Item Bokuto = new Bokuto();

            Bokuto.Movable = false;
            Bokuto.Hue     = 1150;
            Bokuto.Name    = "Samurai Bokuto";
            EquipItem(Bokuto);

            Item Buckler = new Buckler();

            Buckler.Movable = false;
            Buckler.Hue     = 1253;
            EquipItem(Buckler);

            Item AncientSamuraiHelm = new AncientSamuraiHelm();

            AncientSamuraiHelm.Movable = false;
            AncientSamuraiHelm.Hue     = 0;
            EquipItem(AncientSamuraiHelm);

            Item StuddedChest = new StuddedChest();

            StuddedChest.Movable = false;
            StuddedChest.Hue     = 1109;
            StuddedChest.Name    = "Samurai Clan";
            EquipItem(StuddedChest);

            Item BoneArms = new BoneArms();

            BoneArms.Movable = false;
            BoneArms.Hue     = 1109;
            EquipItem(BoneArms);

            Item Kamishimo = new Kamishimo();

            Kamishimo.Movable = false;
            Kamishimo.Hue     = 2407;
            EquipItem(Kamishimo);

            Item Sandals = new Sandals();

            Sandals.Movable = false;
            Sandals.Hue     = 1;
            EquipItem(Sandals);

            Item BodySash = new BodySash();

            BodySash.Movable = false;
            BodySash.Hue     = 4;
            BodySash.Name    = "Samurai Clan Member.";
            EquipItem(BodySash);

            Item hair = new Item(0x203D);

            hair.Hue     = 1;
            hair.Layer   = Layer.Hair;
            hair.Movable = false;
            AddItem(hair);

            PackGold(550, 2000);
            PackMagicItems(3, 7);
            PackMagicItems(3, 7);
            PackMagicItems(3, 7);
            PackMagicItems(3, 7);

            switch (Utility.Random(50))
            {
            case 0: PackItem(new Bokuto()); break;
            }
        }
コード例 #18
0
ファイル: Zombie.cs プロジェクト: proxeeus/UORebirth
        public Zombie() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.45, 0.8)
        {
            Body = 3;
            Name = "a zombie";
            SetStr(46, 70);
            SetHits(46, 70);
            SetDex(31, 50);
            SetStam(31, 50);
            SetInt(26, 40);
            SetMana(26, 40);
            Karma = -125;

            BaseSoundID = 471;
            SetSkill(SkillName.Tactics, 35.1, 50);
            SetSkill(SkillName.MagicResist, 15.1, 40);
            SetSkill(SkillName.Parry, 20.1, 30);
            SetSkill(SkillName.Wrestling, 35.1, 50);

            VirtualArmor = 9;
            SetDamage(2, 8);

            Item item = null;

            LootPack.Poor.Generate(this);
            if (Utility.RandomBool())
            {
                PackGold(5, 25);
            }
            if (Utility.RandomBool())
            {
                PackGem();
            }
            switch (Utility.Random(10))
            {
            case 0:
            {
                item = new BoneChest();
                break;
            }

            case 1:
            {
                item = new BoneLegs();
                break;
            }

            case 2:
            {
                item = new BoneArms();
                break;
            }

            case 3:
            {
                item = new BoneGloves();
                break;
            }

            case 4:
            {
                item = new BoneHelm();
                break;
            }
            }
            PackItem(item);
        }
コード例 #19
0
        public Savage() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = NameList.RandomName("savage");

            int dino = Utility.RandomList(0x7D1, 0x7D2, 0x7D3, 0x7D4, 0x7D5, 0x7D6);

            if (Female = Utility.RandomBool())
            {
                Body = 401;
                Item cloth9 = new FemaleLeatherChest();
                cloth9.Hue  = dino;
                cloth9.Name = "dracosaur tunic";
                AddItem(cloth9);
            }
            else
            {
                Body = 400;
            }

            Hue = 0;

            SetStr(96, 115);
            SetDex(86, 105);
            SetInt(51, 65);

            SetDamage(23, 27);

            SetDamageType(ResistanceType.Physical, 100);

            SetSkill(SkillName.Fencing, 60.0, 82.5);
            SetSkill(SkillName.Macing, 60.0, 82.5);
            SetSkill(SkillName.Poisoning, 60.0, 82.5);
            SetSkill(SkillName.MagicResist, 57.5, 80.0);
            SetSkill(SkillName.Swords, 60.0, 82.5);
            SetSkill(SkillName.Tactics, 60.0, 82.5);

            Fame  = 1000;
            Karma = -1000;

            PackItem(new Bandage(Utility.RandomMinMax(1, 15)));

            if (Female && 0.1 > Utility.RandomDouble())
            {
                PackItem(new TribalBerry());
            }
            else if (!Female && 0.1 > Utility.RandomDouble())
            {
                PackItem(new BolaBall());
            }

            AddItem(new Spear());

            Item cloth1 = new BoneArms();

            cloth1.Hue  = dino;
            cloth1.Name = "dracosaur guantlets";
            AddItem(cloth1);
            Item cloth2 = new BoneLegs();

            cloth2.Hue  = dino;
            cloth2.Name = "dracosaur leggings";
            AddItem(cloth2);
            Item cloth3 = new TribalMask();

            cloth3.Hue  = dino;
            cloth3.Name = "savage tribal mask";
            AddItem(cloth3);
            Item cloth4 = new LeatherSkirt();

            cloth4.Hue   = dino;
            cloth4.Name  = "dracosaur skirt";
            cloth4.Layer = Layer.Waist;
            AddItem(cloth4);
        }
コード例 #20
0
        public void ChooseArmor(ArmorClass ac, CraftResource res, ArmorQuality qual)
        {
            BaseArmor tete   = null;
            BaseArmor gorget = null;
            BaseArmor bras   = null;
            BaseArmor mains  = null;
            BaseArmor torse  = null;
            BaseArmor jambes = null;

            switch (ac)
            {
            case ArmorClass.Cuir:
                tete   = new LeatherCap();
                gorget = new LeatherGorget();
                bras   = new LeatherArms();
                mains  = new LeatherGloves();
                torse  = new LeatherChest();
                jambes = new LeatherLegs();
                break;

            case ArmorClass.Cloute:
                tete   = new LeatherCap();
                gorget = new StuddedGorget();
                bras   = new StuddedArms();
                mains  = new StuddedGloves();
                torse  = new StuddedChest();
                jambes = new StuddedLegs();
                break;

            case ArmorClass.Os:
                tete   = new BoneHelm();
                gorget = new StuddedGorget();
                bras   = new BoneArms();
                mains  = new BoneGloves();
                torse  = new BoneChest();
                jambes = new BoneLegs();
                break;

            case ArmorClass.Plaque:
                tete   = new PlateHelm();
                gorget = new PlateGorget();
                bras   = new PlateArms();
                mains  = new PlateGloves();
                torse  = new PlateChest();
                jambes = new PlateLegs();
                break;

            case ArmorClass.PlaqueLourde:
                tete   = new ArmureDaedricHelm();
                gorget = new ArmureDaedricGorget();
                bras   = new ArmureDaedricGreaves();
                mains  = new ArmureDaedricGloves();
                torse  = new ArmureDaedricTunic();
                jambes = new ArmureDaedricLeggings();
                break;
            }

            if (tete != null)
            {
                tete.Resource = res;
                tete.Quality  = qual;
                AddItem(tete);
            }
            if (gorget != null)
            {
                gorget.Resource = res;
                gorget.Quality  = qual;
                AddItem(gorget);
            }
            if (bras != null)
            {
                bras.Resource = res;
                bras.Quality  = qual;
                AddItem(bras);
            }
            if (mains != null)
            {
                mains.Resource = res;
                mains.Quality  = qual;
                AddItem(mains);
            }
            if (torse != null)
            {
                torse.Resource = res;
                torse.Quality  = qual;
                AddItem(torse);
            }
            if (jambes != null)
            {
                jambes.Resource = res;
                jambes.Quality  = qual;
                AddItem(jambes);
            }
        }
コード例 #21
0
        public NativeWitchDoctor() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "a tribesman witch doctor";
            Hue  = 743;

            if (this.Female = Utility.RandomBool())
            {
                Body = 0x191;
                Item cloth9 = new FemaleLeatherChest();
                cloth9.Hue  = 773;
                cloth9.Name = "Native Tunic";
                AddItem(cloth9);
            }
            else
            {
                Body = 0x190;
            }

            HairHue = 0x96C;

            SetStr(146, 165);
            SetDex(71, 130);
            SetInt(181, 205);

            SetDamage(8, 16);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 30, 40);
            SetResistance(ResistanceType.Fire, 20, 30);
            SetResistance(ResistanceType.Cold, 20, 30);
            SetResistance(ResistanceType.Poison, 20, 30);
            SetResistance(ResistanceType.Energy, 40, 50);

            SetSkill(SkillName.EvalInt, 77.5, 100.0);
            SetSkill(SkillName.Fencing, 62.5, 85.0);
            SetSkill(SkillName.Macing, 62.5, 85.0);
            SetSkill(SkillName.Magery, 72.5, 95.0);
            SetSkill(SkillName.Meditation, 77.5, 100.0);
            SetSkill(SkillName.MagicResist, 77.5, 100.0);
            SetSkill(SkillName.Swords, 62.5, 85.0);
            SetSkill(SkillName.Tactics, 62.5, 85.0);
            SetSkill(SkillName.Wrestling, 62.5, 85.0);

            Fame         = 1200;
            Karma        = -1200;
            VirtualArmor = 10;

            PackReg(10, 15);
            PackItem(new Bandage(Utility.RandomMinMax(1, 15)));

            AddItem(new WildStaff());

            Item cloth1 = new BoneArms();

            cloth1.Hue  = 773;
            cloth1.Name = "Native Guantlets";
            AddItem(cloth1);
            Item cloth2 = new BoneLegs();

            cloth2.Hue  = 773;
            cloth2.Name = "Native Leggings";
            AddItem(cloth2);
            Item cloth3 = new BearMask();

            cloth3.Hue  = 932;
            cloth3.Name = "Native Tribal Mask";
            AddItem(cloth3);
            Item cloth4 = new LeatherSkirt();

            cloth4.Hue   = 773;
            cloth4.Name  = "Native Skirt";
            cloth4.Layer = Layer.Waist;
            AddItem(cloth4);
        }
コード例 #22
0
        public ZuluuWitchDoctor() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "a zuluu witch doctor";
            Hue  = 0x89D;

            if (this.Female = Utility.RandomBool())
            {
                Body = 0x191;
                Item cloth9 = new FemaleLeatherChest();
                cloth9.Hue  = 0xB9A;
                cloth9.Name = "Zuluu Tunic";
                AddItem(cloth9);
            }
            else
            {
                Body = 0x190;
            }

            HairHue = 0x96C;

            SetStr(146, 165);
            SetDex(71, 130);
            SetInt(381, 405);

            SetDamage(14, 22);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 30, 40);
            SetResistance(ResistanceType.Fire, 20, 30);
            SetResistance(ResistanceType.Cold, 20, 30);
            SetResistance(ResistanceType.Poison, 20, 30);
            SetResistance(ResistanceType.Energy, 40, 50);

            SetSkill(SkillName.EvalInt, 87.5, 100.0);
            SetSkill(SkillName.Fencing, 72.5, 85.0);
            SetSkill(SkillName.Macing, 82.5, 105.0);
            SetSkill(SkillName.Magery, 82.5, 95.0);
            SetSkill(SkillName.Meditation, 87.5, 100.0);
            SetSkill(SkillName.MagicResist, 87.5, 100.0);
            SetSkill(SkillName.Swords, 72.5, 85.0);
            SetSkill(SkillName.Tactics, 72.5, 85.0);
            SetSkill(SkillName.Wrestling, 72.5, 85.0);

            Fame         = 4200;
            Karma        = -4200;
            VirtualArmor = 10;

            PackReg(10, 15);
            PackItem(new Bandage(Utility.RandomMinMax(1, 15)));

            AddItem(new WildStaff());

            Item cloth1 = new BoneArms();

            cloth1.Hue  = 0xB9A;
            cloth1.Name = "Zuluu Guantlets";
            AddItem(cloth1);
            Item cloth2 = new BoneLegs();

            cloth2.Hue  = 0xB9A;
            cloth2.Name = "Zuluu Leggings";
            AddItem(cloth2);
            Item cloth3 = new HornedTribalMask();

            cloth3.Hue  = 0xB9A;
            cloth3.Name = "Zuluu Tribal Mask";
            AddItem(cloth3);
            Item cloth4 = new LeatherSkirt();

            cloth4.Hue   = 0xB9A;
            cloth4.Name  = "Zuluu Skirt";
            cloth4.Layer = Layer.Waist;
            AddItem(cloth4);

            if (Utility.RandomMinMax(1, 12) == 1)
            {
                SwampDragon pet = new SwampDragon();
                pet.Hue      = 2006;
                pet.Name     = "a forest dragyn";
                pet.Rider    = this;
                ActiveSpeed  = 0.1;
                PassiveSpeed = 0.2;
            }
        }
コード例 #23
0
ファイル: KhaldunZealot.cs プロジェクト: Pumpk1ns/outlands
        public KhaldunZealot() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body  = 0x190;
            Name  = "Zealot of Khaldun";
            Title = "the Knight";
            Hue   = 0;

            SetStr(75);
            SetDex(75);
            SetInt(25);

            SetHits(500);

            SetDamage(15, 25);

            SetSkill(SkillName.Swords, 90);
            SetSkill(SkillName.Tactics, 100);

            SetSkill(SkillName.MagicResist, 100);

            SetSkill(SkillName.Parry, 25);

            VirtualArmor = 25;

            Fame  = 10000;
            Karma = -10000;

            VikingSword weapon = new VikingSword();

            weapon.Hue     = 0x835;
            weapon.Movable = false;
            AddItem(weapon);

            MetalShield shield = new MetalShield();

            shield.Hue     = 0x835;
            shield.Movable = false;
            AddItem(shield);

            BoneHelm helm = new BoneHelm();

            helm.Hue = 0x835;
            AddItem(helm);

            BoneArms arms = new BoneArms();

            arms.Hue = 0x835;
            AddItem(arms);

            BoneGloves gloves = new BoneGloves();

            gloves.Hue = 0x835;
            AddItem(gloves);

            BoneChest tunic = new BoneChest();

            tunic.Hue = 0x835;
            AddItem(tunic);
            BoneLegs legs = new BoneLegs();

            legs.Hue = 0x835;
            AddItem(legs);

            AddItem(new Boots());
        }
コード例 #24
0
        public NativeArcher() : base(AIType.AI_Archer, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "a tribesman";
            Hue  = 743;

            if (this.Female = Utility.RandomBool())
            {
                Body = 0x191;
                Item cloth9 = new FemaleLeatherChest();
                cloth9.Hue  = 773;
                cloth9.Name = "Native Tunic";
                AddItem(cloth9);
            }
            else
            {
                Body = 0x190;
            }

            HairHue = 0x96C;

            SetStr(116, 135);
            SetDex(106, 125);
            SetInt(71, 85);

            SetDamage(23, 27);

            SetDamageType(ResistanceType.Physical, 100);

            SetSkill(SkillName.Archery, 60.0, 82.5);
            SetSkill(SkillName.Macing, 60.0, 82.5);
            SetSkill(SkillName.Poisoning, 60.0, 82.5);
            SetSkill(SkillName.MagicResist, 57.5, 80.0);
            SetSkill(SkillName.Swords, 60.0, 82.5);
            SetSkill(SkillName.Tactics, 60.0, 82.5);

            Fame         = 1100;
            Karma        = -1100;
            VirtualArmor = 20;

            PackItem(new Bandage(Utility.RandomMinMax(1, 15)));

            Item cloth1 = new BoneArms();

            cloth1.Hue  = 773;
            cloth1.Name = "Native Guantlets";
            AddItem(cloth1);
            Item cloth2 = new BoneLegs();

            cloth2.Hue  = 773;
            cloth2.Name = "Native Leggings";
            AddItem(cloth2);
            Item cloth3 = new TribalMask();

            cloth3.Hue  = 773;
            cloth3.Name = "Native Tribal Mask";
            AddItem(cloth3);
            Item cloth4 = new LeatherSkirt();

            cloth4.Hue   = 773;
            cloth4.Name  = "Native Skirt";
            cloth4.Layer = Layer.Waist;
            AddItem(cloth4);

            AddItem(new Bow());
            PackItem(new Arrow(Utility.RandomMinMax(5, 15)));
        }
コード例 #25
0
        public SavageAlien() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "an alien savage";

            Hue = Utility.RandomList(0x6F6, 0x97F, 0x99B, 0x6E4, 0x5E0, 0xB38, 0xB2B);

            string metal = Server.Misc.MorphingTime.GetSpaceAceMetalName();
            string cloth = Server.Misc.MorphingTime.GetSpaceAceClothName();
            string bone  = Server.Misc.MorphingTime.GetSpaceAceBoneName();
            string wood  = Server.Misc.MorphingTime.GetSpaceAceWoodName();

            if (Female = Utility.RandomBool())
            {
                Body = 401;
            }
            else
            {
                Body = 400;
            }

            SetStr(336, 385);
            SetDex(281, 305);
            SetInt(96, 115);

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

            SetDamage(7, 23);

            SetDamageType(ResistanceType.Physical, 100);

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

            SetSkill(SkillName.MagicResist, 125.1, 140.0);
            SetSkill(SkillName.Tactics, 90.1, 100.0);
            SetSkill(SkillName.Wrestling, 90.1, 100.0);

            SetSkill(SkillName.Fencing, 125.1, 140.0);
            SetSkill(SkillName.Macing, 125.1, 140.0);
            SetSkill(SkillName.Wrestling, 125.1, 140.0);
            SetSkill(SkillName.MagicResist, 67.5, 100.0);
            SetSkill(SkillName.Swords, 125.1, 140.0);
            SetSkill(SkillName.Tactics, 125.1, 140.0);

            Fame  = 10000;
            Karma = -10000;

            VirtualArmor = 50;

            Item cloth1 = new BoneArms();

            MorphingTime.MakeSpaceAceBoneArmor(cloth1, bone, false);
            AddItem(cloth1);
            Item cloth2 = new BoneLegs();

            MorphingTime.MakeSpaceAceBoneArmor(cloth2, bone, false);
            AddItem(cloth2);
            Item cloth3 = new LeatherSkirt();

            cloth3.Name = "skin skirt";
            MorphingTime.MakeSpaceAceBoneArmor(cloth3, bone, true);
            cloth3.Layer = Layer.Waist;
            AddItem(cloth3);

            switch (Utility.RandomMinMax(0, 3))
            {
            case 0: Item cloth4 = new OrcHelm(); MorphingTime.MakeSpaceAceBoneArmor(cloth4, bone, false); AddItem(cloth4); break;

            case 1: Item cloth5 = new BoneHelm(); MorphingTime.MakeSpaceAceBoneArmor(cloth5, bone, false); AddItem(cloth5); break;

            case 2: Item cloth6 = new TribalMask(); cloth6.Name = "skin mask"; MorphingTime.MakeSpaceAceBoneArmor(cloth6, bone, true); AddItem(cloth6); break;
            }

            if (Utility.RandomMinMax(1, 10) == 1)
            {
                Item cloth7 = new BoneChest();
                MorphingTime.MakeSpaceAceBoneArmor(cloth7, bone, false);
                AddItem(cloth7);
            }
            else if (Female)
            {
                Item cloth8 = new FemaleLeatherChest();
                cloth8.Name = "skin tunic";
                MorphingTime.MakeSpaceAceBoneArmor(cloth8, bone, true);
                AddItem(cloth8);
            }

            IntelligentAction.GiveBasicWepShld(this);

            if (this.FindItemOnLayer(Layer.OneHanded) != null)
            {
                if (MaterialInfo.IsAnyKindOfMetalItem(this.FindItemOnLayer(Layer.OneHanded)))
                {
                    MorphingTime.MakeSpaceAceMetalArmorWeapon(this.FindItemOnLayer(Layer.OneHanded), metal);
                }
                else if (MaterialInfo.IsAnyKindOfClothItem(this.FindItemOnLayer(Layer.OneHanded)))
                {
                    MorphingTime.MakeSpaceAceClothArmorWeapon(this.FindItemOnLayer(Layer.OneHanded), cloth);
                }
                else if (MaterialInfo.IsAnyKindOfWoodItem(this.FindItemOnLayer(Layer.OneHanded)))
                {
                    MorphingTime.MakeSpaceAceWoodArmorWeapon(this.FindItemOnLayer(Layer.OneHanded), wood);
                }
            }

            if (this.FindItemOnLayer(Layer.TwoHanded) != null)
            {
                Item hand = this.FindItemOnLayer(Layer.TwoHanded);

                if (hand is BaseShield)
                {
                    switch (Utility.RandomMinMax(1, 4))
                    {
                    case 1: hand.ItemID = 0x1B76; hand.Name = "hull plate";         break;

                    case 2: hand.ItemID = 0x1B76; hand.Name = "deck plate";         break;

                    case 3: hand.ItemID = 0x1B72; hand.Name = "hatch door";         break;

                    case 4: hand.ItemID = 0x1B7B; hand.Name = "hatch cover";        break;
                    }
                    MorphingTime.MakeSpaceAceMetalArmorWeapon(hand, metal);
                }
                else if (MaterialInfo.IsAnyKindOfMetalItem(hand))
                {
                    MorphingTime.MakeSpaceAceMetalArmorWeapon(hand, metal);
                }
                else if (MaterialInfo.IsAnyKindOfClothItem(hand))
                {
                    MorphingTime.MakeSpaceAceClothArmorWeapon(hand, cloth);
                }
                else if (MaterialInfo.IsAnyKindOfWoodItem(hand))
                {
                    MorphingTime.MakeSpaceAceWoodArmorWeapon(hand, wood);
                }
            }
        }
コード例 #26
0
        public ManOfSin() : base(AIType.AI_Melee, FightMode.None, 10, 1, 0.2, 0.4)
        {
            Title       = "Power Of Darkness";
            Name        = "Lucifer";
            Body        = 0x190;
            BaseSoundID = 0x165;
            Hue         = 1194;

            Item BoneGloves = new BoneGloves();

            BoneGloves.Hue      = 1194;
            BoneGloves.LootType = LootType.Blessed;
            BoneGloves.Movable  = false;
            AddItem(BoneGloves);

            Item BoneChest = new BoneChest();

            BoneChest.Hue      = 1194;
            BoneChest.LootType = LootType.Blessed;
            BoneChest.Movable  = false;
            AddItem(BoneChest);

            Item BoneArms = new BoneArms();

            BoneArms.Hue      = 1194;
            BoneArms.LootType = LootType.Blessed;
            BoneArms.Movable  = false;
            AddItem(BoneArms);

            Item BoneHelm = new BoneHelm();

            BoneHelm.Hue      = 1194;
            BoneHelm.LootType = LootType.Blessed;
            BoneHelm.Movable  = false;
            AddItem(BoneHelm);

            Item LongPants = new LongPants();

            LongPants.Hue      = 1194;
            LongPants.LootType = LootType.Blessed;
            LongPants.Movable  = false;
            AddItem(LongPants);

            Item FancyShirt = new FancyShirt();

            FancyShirt.Hue      = 1194;
            FancyShirt.LootType = LootType.Blessed;
            FancyShirt.Movable  = false;
            AddItem(FancyShirt);

            Item Boots = new Boots();

            Boots.Hue      = 1;
            Boots.LootType = LootType.Blessed;
            Boots.Movable  = false;
            AddItem(Boots);

            Item DeathAxe = new DeathAxe();

            DeathAxe.Hue      = 1194;
            DeathAxe.LootType = LootType.Blessed;
            DeathAxe.Movable  = false;
            AddItem(DeathAxe);

            SetStr(300, 450);
            SetDex(150, 300);
            SetInt(420, 420);

            SetHits(10000, 15000);

            SetDamage(20, 28);

            SetDamageType(ResistanceType.Physical, 100);
            SetDamageType(ResistanceType.Cold, 100);
            SetDamageType(ResistanceType.Fire, 100);
            SetDamageType(ResistanceType.Energy, 100);
            SetDamageType(ResistanceType.Poison, 100);

            SetResistance(ResistanceType.Physical, 100);
            SetResistance(ResistanceType.Cold, 100);
            SetResistance(ResistanceType.Fire, 100);
            SetResistance(ResistanceType.Energy, 100);
            SetResistance(ResistanceType.Poison, 100);

            SetSkill(SkillName.Anatomy, 99.0, 100.0);
            SetSkill(SkillName.EvalInt, 99.0, 100.0);
            SetSkill(SkillName.Magery, 99.0, 100.0);
            SetSkill(SkillName.MagicResist, 99.0, 100.0);
            SetSkill(SkillName.Swords, 99.0, 100.0);
            SetSkill(SkillName.Tactics, 99.0, 100.0);
            SetSkill(SkillName.Lumberjacking, 99.0, 100.0);

            Fame  = -15000;
            Karma = -15000;

            VirtualArmor = 35;


            PackItem(new Gold(50, 60));

            new SkeletalMount().Rider = this;
        }
コード例 #27
0
ファイル: KhaldunZealot.cs プロジェクト: Evad-lab/ServUOX
        public KhaldunZealot()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body  = 0x190;
            Name  = "Zealot of Khaldun";
            Title = "the Knight";
            Hue   = 0;

            SetStr(351, 400);
            SetDex(151, 165);
            SetInt(76, 100);

            SetHits(448, 470);

            SetDamage(15, 25);

            SetDamageType(ResistanceType.Physical, 75);
            SetDamageType(ResistanceType.Cold, 25);

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

            SetSkill(SkillName.Wrestling, 70.1, 80.0);
            SetSkill(SkillName.Swords, 120.1, 130.0);
            SetSkill(SkillName.Anatomy, 120.1, 130.0);
            SetSkill(SkillName.MagicResist, 90.1, 100.0);
            SetSkill(SkillName.Tactics, 90.1, 100.0);

            Fame         = 10000;
            Karma        = -10000;
            VirtualArmor = 40;

            VikingSword weapon = new VikingSword();

            weapon.Hue     = 0x835;
            weapon.Movable = false;
            AddItem(weapon);

            MetalShield shield = new MetalShield();

            shield.Hue     = 0x835;
            shield.Movable = false;
            AddItem(shield);

            BoneHelm helm = new BoneHelm();

            helm.Hue = 0x835;
            AddItem(helm);

            BoneArms arms = new BoneArms();

            arms.Hue = 0x835;
            AddItem(arms);

            BoneGloves gloves = new BoneGloves();

            gloves.Hue = 0x835;
            AddItem(gloves);

            BoneChest tunic = new BoneChest();

            tunic.Hue = 0x835;
            AddItem(tunic);

            BoneLegs legs = new BoneLegs();

            legs.Hue = 0x835;
            AddItem(legs);

            AddItem(new Boots());
        }
コード例 #28
0
        public Urk() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            BaseSoundID      = 0x45A;
            Hue              = 0x430;
            Body             = 0x190;
            Name             = NameList.RandomName("urk");
            HairItemID       = 0;
            FacialHairItemID = 0;

            Item helm = new WornHumanDeco();

            helm.Name   = "urkish face";
            helm.ItemID = 0x141B;
            helm.Hue    = 0x430;
            helm.Layer  = Layer.Helm;
            AddItem(helm);

            if (Utility.RandomMinMax(1, 2) == 1)
            {
                LeatherArms ratarms = new LeatherArms();
                ratarms.Name        = "urkish rat skin arms";
                ratarms.PoisonBonus = 6;
                ratarms.Hue         = 0x972;
                AddItem(ratarms);

                LeatherChest ratchest = new LeatherChest();
                ratchest.Name        = "urkish rat skin tunic";
                ratchest.PoisonBonus = 8;
                ratchest.Hue         = 0x972;
                AddItem(ratchest);

                LeatherGloves ratgloves = new LeatherGloves();
                ratgloves.Name        = "urkish rat skin gloves";
                ratgloves.PoisonBonus = 5;
                ratgloves.Hue         = 0x972;
                AddItem(ratgloves);

                LeatherGorget ratgorget = new LeatherGorget();
                ratgorget.Name        = "urkish rat skin gorget";
                ratgorget.PoisonBonus = 4;
                ratgorget.Hue         = 0x972;
                AddItem(ratgorget);

                LeatherLegs ratlegs = new LeatherLegs();
                ratlegs.Name        = "urkish rat skin leggings";
                ratlegs.PoisonBonus = 7;
                ratlegs.Hue         = 0x972;
                AddItem(ratlegs);
            }
            else
            {
                BoneChest bonechest = new BoneChest();
                bonechest.Name        = "urkish chest piece";
                bonechest.PoisonBonus = 8;
                bonechest.Hue         = 0x972;
                AddItem(bonechest);

                BoneArms bonearms = new BoneArms();
                bonearms.Name        = "urkish bracers";
                bonearms.PoisonBonus = 6;
                bonearms.Hue         = 0x972;
                AddItem(bonearms);

                BoneLegs bonelegs = new BoneLegs();
                bonelegs.Name        = "urkish leggings";
                bonelegs.PoisonBonus = 7;
                bonelegs.Hue         = 0x972;
                AddItem(bonelegs);

                BoneGloves bonegloves = new BoneGloves();
                bonegloves.Name        = "urkish gauntlets";
                bonegloves.PoisonBonus = 5;
                bonegloves.Hue         = 0x972;
                AddItem(bonegloves);
            }

            Item weapon = new BattleAxe();

            switch (Utility.Random(28))
            {
            case 0: weapon = new BattleAxe(); weapon.Name = "battle axe"; break;

            case 1: weapon = new VikingSword(); weapon.Name = "great sword"; break;

            case 2: weapon = new Halberd(); weapon.Name = "halberd"; break;

            case 3: weapon = new DoubleAxe(); weapon.Name = "double axe"; break;

            case 4: weapon = new ExecutionersAxe(); weapon.Name = "great axe"; break;

            case 5: weapon = new WarAxe(); weapon.Name = "war axe"; break;

            case 6: weapon = new TwoHandedAxe(); weapon.Name = "two handed axe"; break;

            case 7: weapon = new Cutlass(); weapon.Name = "cutlass"; break;

            case 8: weapon = new Katana(); weapon.Name = "katana"; break;

            case 9: weapon = new Kryss(); weapon.Name = "kryss"; break;

            case 10: weapon = new Broadsword(); weapon.Name = "broadsword"; break;

            case 11: weapon = new Longsword(); weapon.Name = "longsword"; break;

            case 12: weapon = new ThinLongsword(); weapon.Name = "longsword"; break;

            case 13: weapon = new Scimitar(); weapon.Name = "scimitar"; break;

            case 14: weapon = new BoneHarvester(); weapon.Name = "sickle"; break;

            case 15: weapon = new CrescentBlade(); weapon.Name = "crescent blade"; break;

            case 16: weapon = new DoubleBladedStaff(); weapon.Name = "double bladed staff"; break;

            case 17: weapon = new Pike(); weapon.Name = "pike"; break;

            case 18: weapon = new Scythe(); weapon.Name = "scythe"; break;

            case 19: weapon = new Pitchfork(); weapon.Name = "trident"; break;

            case 20: weapon = new ShortSpear(); weapon.Name = "short spear"; break;

            case 21: weapon = new Spear(); weapon.Name = "spear"; break;

            case 22: weapon = new Club(); weapon.Name = "club"; break;

            case 23: weapon = new HammerPick(); weapon.Name = "hammer pick"; break;

            case 24: weapon = new Mace(); weapon.Name = "mace"; break;

            case 25: weapon = new Maul(); weapon.Name = "maul"; break;

            case 26: weapon = new WarHammer(); weapon.Name = "war hammer"; break;

            case 27: weapon = new WarMace(); weapon.Name = "war mace"; break;
            }

            weapon.Name = "urkish " + weapon.Name;
            weapon.Hue  = 0x7D1;
            ((BaseWeapon)weapon).AosElementDamages.Physical = 60;
            ((BaseWeapon)weapon).AosElementDamages.Poison   = 40;
            AddItem(weapon);

            switch (Utility.RandomMinMax(0, 5))
            {
            case 0: Title = "the urk warrior"; break;

            case 1: Title = "the urk savage"; break;

            case 2: Title = "the urk barbarian"; break;

            case 3: Title = "the urk fighter"; break;

            case 4: Title = "the urk gladiator"; break;

            case 5: Title = "the urk berserker"; break;
            }

            SetStr(196, 250);
            SetDex(76, 95);
            SetInt(36, 60);

            SetHits(118, 150);

            SetDamage(8, 18);

            SetDamageType(ResistanceType.Physical, 60);
            SetDamageType(ResistanceType.Poison, 40);

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

            SetSkill(SkillName.MagicResist, 65.1, 80.0);
            SetSkill(SkillName.Tactics, 85.1, 100.0);
            SetSkill(SkillName.Macing, 85.1, 95.0);
            SetSkill(SkillName.Swords, 85.1, 95.0);
            SetSkill(SkillName.Fencing, 85.1, 95.0);
            SetSkill(SkillName.Wrestling, 85.1, 95.0);

            Fame  = 3000;
            Karma = -3000;

            VirtualArmor = 40;
        }