Ejemplo n.º 1
0
        public InsulariiHealer()
            : base(Nation.Alyrian)
        {
            int chance = Utility.RandomMinMax( 1, 6 );
            Nation nation = Nation.Alyrian;

            switch( chance )
            {
                case 1: nation = Nation.Alyrian; break;
                case 2: nation = Nation.Azhuran; break;
                case 3: nation = Nation.Khemetar; break;
                case 4: nation = Nation.Mhordul; break;
                case 5: nation = Nation.Tyrean; break;
                case 6: nation = Nation.Vhalurian; break;
            }

            Hue = BaseKhaerosMobile.AssignRacialHue( nation );
            HairItemID = BaseKhaerosMobile.AssignRacialHair( nation, this.Female );
            int hairhue = BaseKhaerosMobile.AssignRacialHairHue( nation );
            HairHue = hairhue;

            if( !this.Female )
            {
                FacialHairItemID = BaseKhaerosMobile.AssignRacialFacialHair( nation );
                FacialHairHue = hairhue;
            }

            if( this.Backpack == null )
                AddItem( new Backpack() );

            SetStr( 150 );
            SetDex( 75 );
            SetInt( 75 );

            SetDamage( 10, 15 );

            SetHits( 400 );
            SetMana( 300 );

            SetDamageType( ResistanceType.Blunt, 100 );

            SetResistance( ResistanceType.Blunt, 10 );
            SetResistance( ResistanceType.Piercing, 10 );
            SetResistance( ResistanceType.Slashing, 10 );

            SetSkill( SkillName.Anatomy, 100.0 );
            SetSkill( SkillName.Archery, 100.0 );
            SetSkill( SkillName.Fencing, 100.0 );
            SetSkill( SkillName.Macing, 100.0 );
            SetSkill( SkillName.Swords, 100.0 );
            SetSkill( SkillName.Tactics, 100.0 );
            SetSkill( SkillName.Polearms, 100.0 );
            SetSkill( SkillName.ExoticWeaponry, 100.0 );
            SetSkill( SkillName.Axemanship, 100.0 );
            SetSkill( SkillName.UnarmedFighting, 100.0 );

            this.Fame = 14000;

            this.VirtualArmor = 0;

            FightMode = FightMode.Closest;

            Title = "the Insularii Healer";
            Name = BaseKhaerosMobile.GiveInsulariiName( this.Female );

            LeatherChest chest = new LeatherChest();
            chest.Resource = CraftResource.BeastLeather;
            chest.Hue = 2591;

            LeatherArms arms = new LeatherArms();
            arms.Resource = CraftResource.BeastLeather;
            arms.Hue = 2591;

            LeatherLegs legs = new LeatherLegs();
            legs.Resource = CraftResource.BeastLeather;
            legs.Hue = 2591;

            LeatherGorget gorget = new LeatherGorget();
            gorget.Resource = CraftResource.BeastLeather;
            gorget.Hue = 2591;

            LeatherGloves gloves = new LeatherGloves();
            gloves.Resource = CraftResource.BeastLeather;
            gloves.Hue = 2591;

            BlackLeatherBoots boots = new BlackLeatherBoots();
            boots.Hue = 2591;

            GnarledStaff staff = new GnarledStaff();
            staff.Resource = CraftResource.Redwood;

            EquipItem( chest );
            EquipItem( arms );
            EquipItem( legs );
            EquipItem( gorget );
            EquipItem( gloves );
            EquipItem( boots );
            EquipItem( staff );

            Surcoat surcoat = new Surcoat();
            surcoat.Name = "Insularii Surcoat";
            surcoat.ItemID = 15502;
            surcoat.Hue = 2799;

            EquipItem( surcoat );
        }
Ejemplo n.º 2
0
        public InsulariiMage()
            : base(Nation.Alyrian)
        {
            int chance = Utility.RandomMinMax( 1, 6 );
            Nation nation = Nation.Alyrian;

            switch( chance )
            {
                case 1: nation = Nation.Alyrian; break;
                case 2: nation = Nation.Azhuran; break;
                case 3: nation = Nation.Khemetar; break;
                case 4: nation = Nation.Mhordul; break;
                case 5: nation = Nation.Tyrean; break;
                case 6: nation = Nation.Vhalurian; break;
            }

            Hue = BaseKhaerosMobile.AssignRacialHue( nation );
            HairItemID = BaseKhaerosMobile.AssignRacialHair( nation, this.Female );
            int hairhue = BaseKhaerosMobile.AssignRacialHairHue( nation );
            HairHue = hairhue;

            if( !this.Female )
            {
                FacialHairItemID = BaseKhaerosMobile.AssignRacialFacialHair( nation );
                FacialHairHue = hairhue;
            }

            if( this.Backpack == null )
                AddItem( new Backpack() );

            SetStr( 150 );
            SetDex( 75 );
            SetInt( 75 );

            SetDamage( 10, 15 );

            SetHits( 400 );
            SetMana( 150 );

            SetDamageType( ResistanceType.Blunt, 100 );

            SetResistance( ResistanceType.Blunt, 10 );
            SetResistance( ResistanceType.Piercing, 10 );
            SetResistance( ResistanceType.Slashing, 10 );

            SetSkill( SkillName.Anatomy, 100.0 );
            SetSkill( SkillName.Archery, 100.0 );
            SetSkill( SkillName.Fencing, 100.0 );
            SetSkill( SkillName.Macing, 100.0 );
            SetSkill( SkillName.Swords, 100.0 );
            SetSkill( SkillName.Tactics, 100.0 );
            SetSkill( SkillName.Polearms, 100.0 );
            SetSkill( SkillName.ExoticWeaponry, 100.0 );
            SetSkill( SkillName.Axemanship, 100.0 );
            SetSkill( SkillName.UnarmedFighting, 100.0 );

            SetSkill( SkillName.Magery, 100.0 );
            SetSkill( SkillName.MagicResist, 100.0 );
            SetSkill( SkillName.Meditation, 100.0 );
            SetSkill( SkillName.Invocation, 100.0 );
            SetSkill( SkillName.Concentration, 100.0 );

            this.Fame = 16000;

            this.VirtualArmor = 10;

            FightMode = FightMode.Closest;

            Title = "the Insularii Mage";
            Name = BaseKhaerosMobile.GiveInsulariiName( this.Female );

            StuddedChest chest = new StuddedChest();
            chest.Hue = 2591;

            StuddedArms arms = new StuddedArms();
            arms.Hue = 2591;

            StuddedLegs legs = new StuddedLegs();
            legs.Hue = 2591;

            StuddedGorget gorget = new StuddedGorget();
            gorget.Hue = 2591;

            StuddedGloves gloves = new StuddedGloves();
            gloves.Hue = 2591;

            BlackLeatherBoots boots = new BlackLeatherBoots();
            boots.Hue = 2591;

            QuarterStaff staff = new QuarterStaff();
            staff.ItemID = 15813;
            staff.Name = "Insularii Mage Staff";

            Cowl cowl = new Cowl();
            cowl.Hue = 2799;

            Surcoat surcoat = new Surcoat();
            surcoat.Name = "Insularii Surcoat";
            surcoat.ItemID = 15502;
            surcoat.Hue = 2799;

            EquipItem( chest );
            EquipItem( arms );
            EquipItem( legs );
            EquipItem( gorget );
            EquipItem( gloves );
            EquipItem( boots );
            EquipItem( staff );
            EquipItem( cowl );
            EquipItem( surcoat );

            this.AI = AIType.AI_Mage;
        }