コード例 #1
0
        public BlackOrderHighExecutioner()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "Black Order High Executioner";
            Title = "of the Serpent's Fang Sect";
            Race = Utility.RandomBool() ? Race.Human : Race.Elf;
            Body = Race == Race.Elf ? 605 : 400;
            Hue = Utility.RandomSkinHue();

            Utility.AssignRandomHair( this );

            if ( Utility.RandomBool() )
                Utility.AssignRandomFacialHair( this, HairHue );

            SetStr( 325, 375 );
            SetDex( 390, 510 );
            SetInt( 285, 305 );

            SetHits( 1900, 2100 );

            SetDamage( 16, 30 );

            SetDamageType( ResistanceType.Physical, 100 );

            SetResistance( ResistanceType.Physical, 45, 70 );
            SetResistance( ResistanceType.Fire, 55, 75 );
            SetResistance( ResistanceType.Cold, 35, 55 );
            SetResistance( ResistanceType.Poison, 50, 70 );
            SetResistance( ResistanceType.Energy, 50, 75 );

            Fame = 15000;
            Karma = -15000;

            SetSkill( SkillName.MagicResist, 100.0, 120.0 );
            SetSkill( SkillName.Tactics, 125.0, 140.0 );
            SetSkill( SkillName.Wrestling, 95.0, 120.0 );
            SetSkill( SkillName.Anatomy, 115.0, 130.0 );
            SetSkill( SkillName.Fencing, 115.0, 125.0 );

            /* Equip */
            Item item = null;

            item = new Sai();
            item.Hue = 1309;
            AddItem( item );

            item = new LeatherNinjaPants();
            item.Hue = 1309;
            AddItem( item );

            item = new FancyShirt();
            item.Hue = 1309;
            AddItem( item );

            item = new StuddedGloves();
            item.Hue = 42;
            AddItem( item );

            item = new JinBaori();
            item.Hue = 42;
            AddItem( item );

            item = new LightPlateJingasa();
            item.Hue = 1309;
            AddItem( item );

            item = new ThighBoots();
            item.Hue = 1309;
            AddItem( item );
        }
コード例 #2
0
        public LockeColeMirrorImagePortal()
            : base(AIType.AI_Arcade, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "Locke Cole";
            Body = 400;
            Hue = 1162;
            SpecialTitle = "Mirror Image";
            TitleHue = 1174;

            BaseSoundID = 362;

            SetStr(10, 10);
            SetDex(200);
            SetInt(706, 726);

            SetHits(2000);

            SetDamage(1, 1);

            foreach (SkillName skill in _Skills)
            {
                SetSkill(skill, 65.0, 70.0);
            }

            SpeechHue = YellHue = 34;

            VirtualArmor = 90;

            PackGold(500, 1000);
            PackMagicItems(5, 5, 0.95, 0.95);

            var helm = new SkullCap();
            helm.Name = "Locke's Bandana";
            helm.Hue = 4;
            helm.Identified = true;
            AddItem(Immovable(helm));

            var arms = new JinBaori();
            arms.Name = "Locke's Jacket";
            arms.Hue = 4;
            arms.Identified = true;
            AddItem(Immovable(arms));

            var gloves = new LeatherGloves();
            gloves.Name = "Locke's Gloves";
            gloves.Hue = 4;
            gloves.Identified = true;
            AddItem(Immovable(gloves));

            var tunic = new Shirt();
            tunic.Name = "Locke's Shirt";
            tunic.Hue = 0;
            tunic.Identified = true;
            AddItem(Immovable(tunic));

            var legs = new LeatherNinjaPants();
            legs.Name = "Locke's Pants";
            legs.Hue = 4;
            legs.Identified = true;
            AddItem(Immovable(legs));

            var boots = new ElvenBoots();
            boots.Name = "Locke's Boots";
            boots.Hue = 1175;
            boots.Identified = true;
            AddItem(Immovable(boots));

            var spellbook = new Dagger();
            spellbook.Name = "Thief Dagger";
            spellbook.Hue = 0;
            spellbook.Movable = false;
            AddItem(Immovable(spellbook));
        }
コード例 #3
0
ファイル: LockeCole.cs プロジェクト: greeduomacro/UO-Forever
        public LockeCole()
            : base(AIType.AI_Arcade, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "Locke Cole";
            Body = 400;
            Hue = 1162;
            SpecialTitle = "Undead Treasure Hunter";
            TitleHue = 1174;

            BaseSoundID = 362;

            SetStr(500);
            SetDex(400);
            SetInt(100);

            SetHits(400000);

            SetDamage(2, 4);

            foreach (SkillName skill in _Skills)
            {
                SetSkill(skill, 80.0, 140.0);
            }

            SpeechHue = YellHue = 34;

            VirtualArmor = 90;

            PackGold(3000, 3500);
            PackMagicItems(5, 5, 0.95, 0.95);
            PackMagicItems(5, 5, 0.80, 0.65);
            PackMagicItems(5, 5, 0.80, 0.65);
            PackMagicItems(6, 6, 0.80, 0.65);

            Damagers = new Dictionary<PlayerMobile, int>();

            var helm = new SkullCap();
            helm.Name = "Locke's Bandana";
            helm.Hue = 4;
            helm.Identified = true;
            AddItem(Immovable(helm));

            var arms = new JinBaori();
            arms.Name = "Locke's Jacket";
            arms.Hue = 4;
            arms.Identified = true;
            AddItem(Immovable(arms));

            var gloves = new LeatherGloves();
            gloves.Name = "Locke's Gloves";
            gloves.Hue = 4;
            gloves.Identified = true;
            AddItem(Immovable(gloves));

            var tunic = new Shirt();
            tunic.Name = "Locke's Shirt";
            tunic.Hue = 0;
            tunic.Identified = true;
            AddItem(Immovable(tunic));

            var legs = new LeatherNinjaPants();
            legs.Name = "Locke's Pants";
            legs.Hue = 4;
            legs.Identified = true;
            AddItem(Immovable(legs));

            var boots = new ElvenBoots();
            boots.Name = "Locke's Boots";
            boots.Hue = 1175;
            boots.Identified = true;
            AddItem(Immovable(boots));

            var spellbook = new Dagger();
            spellbook.Name = "Thief Dagger";
            spellbook.Hue = 0;
            spellbook.Movable = false;
            AddItem(Immovable(spellbook));
        }
コード例 #4
0
ファイル: BlackOrderThief.cs プロジェクト: Ravenwolfe/xrunuo
        public BlackOrderThief()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "Black Order Thief";
            Title = "of the Tiger's Claw Sect";
            Race = Utility.RandomBool() ? Race.Human : Race.Elf;
            Body = Race == Race.Elf ? 605 : 400;
            Hue = Utility.RandomSkinHue();

            Utility.AssignRandomHair( this );

            if ( Utility.RandomBool() )
                Utility.AssignRandomFacialHair( this, HairHue );

            SetStr( 325, 375 );
            SetDex( 90, 110 );
            SetInt( 85, 105 );

            SetHits( 900, 1100 );

            SetDamage( 12, 26 );

            SetDamageType( ResistanceType.Physical, 100 );

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

            Fame = 10000;
            Karma = -10000;

            SetSkill( SkillName.MagicResist, 80.0, 100.0 );
            SetSkill( SkillName.Tactics, 115.0, 130.0 );
            SetSkill( SkillName.Wrestling, 95.0, 120.0 );
            SetSkill( SkillName.Anatomy, 105.0, 120.0 );
            SetSkill( SkillName.Swords, 100.0, 110.0 );
            SetSkill( SkillName.Parry, 100.0, 110.0 );

            /* Equip */
            AddItem( new Wakizashi() );

            Item item = null;

            item = new LeatherNinjaPants();
            item.Hue = 1309;
            AddItem( item );

            item = new FancyShirt();
            item.Hue = 1309;
            AddItem( item );

            item = new StuddedGloves();
            item.Hue = 105;
            AddItem( item );

            item = new JinBaori();
            item.Hue = 105;
            AddItem( item );

            item = new LightPlateJingasa();
            item.Hue = 1309;
            AddItem( item );
        }