示例#1
0
        public Santa()
            : base(AIType.AI_Mage, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = false;
            Body = 400;
            Title = "";
            Name = "Santa";
            Hue = 0x83ea;

            SetStr( 150, 250 );
            SetDex( 91, 115 );
            SetInt( 500, 1000 );
            Karma = +125;

            SetSkill( SkillName.Tactics, 65, 87.5 );
            SetSkill( SkillName.MagicResist, 75, 97.5 );
            SetSkill( SkillName.Parry, 65, 87.5 );
            SetSkill( SkillName.Magery, 95.1, 105.0 );
            SetSkill( SkillName.Wrestling, 20.2, 60 );

            VirtualArmor = 30;
            SetDamage( 3, 12 );

            Item item = null;

            item = new ShortHair();
            item.Hue = 0x47E;
            AddItem( item );

            item = new MediumShortBeard();
            item.Hue = 0x47E;
            AddItem( item );

            item = new LeatherGloves();
            item.Hue = 0x455;
            AddItem( item );

            AddItem( new FancyShirt( 0x26 ) );
            AddItem( new LongPants( 0x26 ) );
            AddItem( new Boots() );

            LootPack.Average.Generate( this );
        }
        private static void AddBeard( Mobile m, int itemID, int hue )
        {
            if ( m.Female )
                return;

            Item item;

            switch ( itemID & 0x3FFF )
            {
                case 0x203E: item = new LongBeard( hue ); break;
                case 0x203F: item = new ShortBeard( hue ); break;
                case 0x2040: item = new Goatee( hue ); break;
                case 0x2041: item = new Mustache( hue ); break;
                case 0x204B: item = new MediumShortBeard( hue ); break;
                case 0x204C: item = new MediumLongBeard( hue ); break;
                case 0x204D: item = new Vandyke( hue ); break;
                default: return;
            }

            m.AddItem( item );
        }