コード例 #1
0
      public Rivatach()
          : base( AIType.AI_Necromage, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
      {
          Name = "Rivatach";
	Body = 0x190;

	SpeechHue = 44;

	Hue = 1175;

          BaseSoundID = 362;

          	SetStr( 2500 );
          	SetDex( 300 );
          	SetInt( 1100 );

          	SetHits( 55000 );

          	SetDamage( 30, 35 );

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

          	SetResistance( ResistanceType.Physical, 0, 0 );
          	SetResistance( ResistanceType.Fire, 120 );
          	SetResistance( ResistanceType.Cold, 10, 12 );
          	SetResistance( ResistanceType.Poison, 10, 12 );
          	SetResistance( ResistanceType.Energy, 10, 12 );

          	SetSkill( SkillName.EvalInt, 125.3 );
		    SetSkill( SkillName.Swords, 120.1, 130.0 );
		    SetSkill( SkillName.Necromancy, 120.1, 130.0 );
          	SetSkill( SkillName.Magery, 125.0 );
          	SetSkill( SkillName.MagicResist, 125.0 );
          	SetSkill( SkillName.Tactics, 130.0 );
          	SetSkill( SkillName.Wrestling, 130.0 );
          	SetSkill( SkillName.Meditation, 130.0 );
          	SetSkill( SkillName.Anatomy, 125.0 );
          	SetSkill(SkillName.DetectHidden, 120.0 );
		    SetSkill( SkillName.SpiritSpeak, 120 );
          
          Fame = 20000;
          Karma = -20000;

          VirtualArmor = 80;

			AddItem( new ThighBoots( 1175 ) );

			Tekagi claw = new Tekagi();
			claw.Movable = false;
			AddItem( claw );

			ClothNinjaHood helm = new ClothNinjaHood();
			helm.Hue = 2406;
			helm.Movable = false;
			AddItem( helm );

			DragonChest chest = new DragonChest();
			chest.Resource = CraftResource.BlackScales;
			chest.Movable = false;
			AddItem( chest );

			DragonArms arms = new DragonArms();
			arms.Resource = CraftResource.BlackScales;
			arms.Movable = false;
			AddItem( arms );

			DragonGloves gloves = new DragonGloves();
			gloves.Resource = CraftResource.BlackScales;
			gloves.Movable = false;
			AddItem( gloves );

			DragonLegs legs = new DragonLegs();
			legs.Resource = CraftResource.BlackScales;
			legs.Movable = false;
			AddItem( legs );

        } 
コード例 #2
0
ファイル: ChaosDragoonElite.cs プロジェクト: rokann/JustUO
        public ChaosDragoonElite()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.15, 0.4)
        {
            Name = "a chaos dragoon elite";
            Body = 0x190;
            Hue = Utility.RandomSkinHue();

            SetStr(276, 350);
            SetDex(66, 90);
            SetInt(126, 150);

            SetHits(276, 350);

            SetDamage(29, 34);

            SetDamageType(ResistanceType.Physical, 100);

            /*SetResistance(ResistanceType.Physical, 45, 55);
            SetResistance(ResistanceType.Fire, 15, 25);
            SetResistance(ResistanceType.Cold, 50);
            SetResistance(ResistanceType.Poison, 25, 35);
            SetResistance(ResistanceType.Energy, 25, 35);*/

            SetSkill(SkillName.Tactics, 80.1, 100.0);
            SetSkill(SkillName.MagicResist, 100.1, 110.0);
            SetSkill(SkillName.Anatomy, 80.1, 100.0);
            SetSkill(SkillName.Magery, 85.1, 100.0);
            SetSkill(SkillName.EvalInt, 85.1, 100.0);
            SetSkill(SkillName.Swords, 72.5, 95.0);
            SetSkill(SkillName.Fencing, 85.1, 100);
            SetSkill(SkillName.Macing, 85.1, 100);

            Fame = 8000;
            Karma = -8000;

            var res = CraftResource.None;

            switch (Utility.Random(6))
            {
                case 0:
                    res = CraftResource.BlackScales;
                    break;
                case 1:
                    res = CraftResource.RedScales;
                    break;
                case 2:
                    res = CraftResource.BlueScales;
                    break;
                case 3:
                    res = CraftResource.YellowScales;
                    break;
                case 4:
                    res = CraftResource.GreenScales;
                    break;
                case 5:
                    res = CraftResource.WhiteScales;
                    break;
            }

            BaseWeapon melee = null;

            switch (Utility.Random(3))
            {
                case 0:
                    melee = new Kryss();
                    break;
                case 1:
                    melee = new Broadsword();
                    break;
                case 2:
                    melee = new Katana();
                    break;
            }

            melee.Movable = false;
            AddItem(melee);

            var Tunic = new DragonChest();
            Tunic.Resource = res;
            Tunic.Movable = false;
            AddItem(Tunic);

            var Legs = new DragonLegs();
            Legs.Resource = res;
            Legs.Movable = false;
            AddItem(Legs);

            var Arms = new DragonArms();
            Arms.Resource = res;
            Arms.Movable = false;
            AddItem(Arms);

            var Gloves = new DragonGloves();
            Gloves.Resource = res;
            Gloves.Movable = false;
            AddItem(Gloves);

            var Helm = new DragonHelm();
            Helm.Resource = res;
            Helm.Movable = false;
            AddItem(Helm);

            var shield = new ChaosShield();
            shield.Movable = false;
            AddItem(shield);

            AddItem(new Boots(0x455));
            AddItem(new Shirt(Utility.RandomMetalHue()));

            var amount = Utility.RandomMinMax(1, 3);

            switch (res)
            {
                case CraftResource.BlackScales:
                    AddItem(new BlackScales(amount));
                    break;
                case CraftResource.RedScales:
                    AddItem(new RedScales(amount));
                    break;
                case CraftResource.BlueScales:
                    AddItem(new BlueScales(amount));
                    break;
                case CraftResource.YellowScales:
                    AddItem(new YellowScales(amount));
                    break;
                case CraftResource.GreenScales:
                    AddItem(new GreenScales(amount));
                    break;
                case CraftResource.WhiteScales:
                    AddItem(new WhiteScales(amount));
                    break;
            }
            switch (Utility.Random(9))
            {
                case 0:
                    res = CraftResource.DullCopper;
                    break;
                case 1:
                    res = CraftResource.ShadowIron;
                    break;
                case 2:
                    res = CraftResource.Copper;
                    break;
                case 3:
                    res = CraftResource.Bronze;
                    break;
                case 4:
                    res = CraftResource.Gold;
                    break;
                case 5:
                    res = CraftResource.Agapite;
                    break;
                case 6:
                    res = CraftResource.Verite;
                    break;
                case 7:
                    res = CraftResource.Valorite;
                    break;
                case 8:
                    res = CraftResource.Iron;
                    break;
            }

            var mt = new SwampDragon();
            mt.HasBarding = true;
            mt.BardingResource = res;
            mt.BardingHP = mt.BardingMaxHP;
            mt.Rider = this;
        }
コード例 #3
0
ファイル: ChaosDragoon.cs プロジェクト: felladrin/runuo-pt-br
        public ChaosDragoon()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.15, 0.4)
        {
            Name = "um dragão do caos";
            Body = 0x190;
            Hue = Utility.RandomSkinHue();

            SetStr( 176, 225 );
            SetDex( 81, 95 );
            SetInt( 61, 85 );

            SetHits( 176, 225 );

            SetDamage( 24, 26 );

            SetDamageType( ResistanceType.Physical, 25 );
            SetDamageType( ResistanceType.Fire, 25 );
            SetDamageType( ResistanceType.Cold, 25 );
            SetDamageType( ResistanceType.Energy, 25 );

            //SetResistance( ResistanceType.Physical, 25, 38 );
            //SetResistance( ResistanceType.Fire, 25, 38 );
            //SetResistance( ResistanceType.Cold, 25, 38 );
            //SetResistance( ResistanceType.Poison, 25, 38 );
            //SetResistance( ResistanceType.Energy, 25, 38 );

            SetSkill( SkillName.Fencing, 77.6, 92.5 );
            SetSkill( SkillName.Healing, 60.3, 90.0 );
            SetSkill( SkillName.Macing, 77.6, 92.5 );
            SetSkill( SkillName.Anatomy, 77.6, 87.5 );
            SetSkill( SkillName.MagicResist, 77.6, 97.5 );
            SetSkill( SkillName.Swords, 77.6, 92.5 );
            SetSkill( SkillName.Tactics, 77.6, 87.5 );

            Fame = 5000;
            Karma = -5000;

            CraftResource res = CraftResource.None;

            switch (Utility.Random( 6 ))
            {
                case 0: res = CraftResource.BlackScales; break;
                case 1: res = CraftResource.RedScales; break;
                case 2: res = CraftResource.BlueScales; break;
                case 3: res = CraftResource.YellowScales; break;
                case 4: res = CraftResource.GreenScales; break;
                case 5: res = CraftResource.WhiteScales; break;
            }

            BaseWeapon melee = null;

            switch (Utility.Random( 3 ))
            {
                case 0: melee = new Kryss(); break;
                case 1: melee = new Broadsword(); break;
                case 2: melee = new Katana(); break;
            }

            melee.Movable = false;
            AddItem( melee );

            DragonHelm helm = new DragonHelm();
            helm.Resource = res;
            helm.Movable = false;
            AddItem( helm );

            DragonChest chest = new DragonChest();
            chest.Resource = res;
            chest.Movable = false;
            AddItem( chest );

            DragonArms arms = new DragonArms();
            arms.Resource = res;
            arms.Movable = false;
            AddItem( arms );

            DragonGloves gloves = new DragonGloves();
            gloves.Resource = res;
            gloves.Movable = false;
            AddItem( gloves );

            DragonLegs legs = new DragonLegs();
            legs.Resource = res;
            legs.Movable = false;
            AddItem( legs );

            ChaosShield shield = new ChaosShield();
            shield.Movable = false;
            AddItem( shield );

            AddItem( new Shirt() );
            AddItem( new Boots() );

            int amount = Utility.RandomMinMax( 1, 3 );

            switch ( res )
            {
                case CraftResource.BlackScales: AddItem( new BlackScales( amount ) ); break;
                case CraftResource.RedScales: AddItem( new RedScales( amount ) ); break;
                case CraftResource.BlueScales: AddItem( new BlueScales( amount ) ); break;
                case CraftResource.YellowScales: AddItem( new YellowScales( amount ) ); break;
                case CraftResource.GreenScales: AddItem( new GreenScales( amount ) ); break;
                case CraftResource.WhiteScales: AddItem( new WhiteScales( amount ) ); break;
            }

            new SwampDragon().Rider = this;
        }
コード例 #4
0
        public TheCursedGuardian()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body = 0x190;
            Name = NameList.RandomName("male");
            Title = "the cursed guardian";
            Hue = 2130;

            SetStr(350);
            SetDex(150);
            SetInt(100);

            SetHits(500);

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

            SetSkill(SkillName.Wrestling, 120.0, 125.0);
            SetSkill(SkillName.Macing, 120.0, 125.0);
            SetSkill(SkillName.Anatomy, 120.0, 125.0);
            SetSkill(SkillName.MagicResist, 90.0, 94.0);
            SetSkill(SkillName.Tactics, 120.0, 125.0);
            SetSkill(SkillName.Healing, 90.0);
            SetSkill(SkillName.Parry, 65.0, 80.0);

            Fame = NotorietyHandlers.GetNotorietyByLevel( 3 );
            Karma = NotorietyHandlers.GetNotorietyByLevel( -3 );

            VirtualArmor = 40;

            CraftResource ArmorCraftResource = GetRandomCraftResource();

            DragonArms arms = new DragonArms();
            arms.Resource = ArmorCraftResource;
            AddItem(CursedCaveUtility.MutateItem(arms, 10));

            DragonGloves gloves = new DragonGloves();
            gloves.Resource = ArmorCraftResource;
            AddItem(CursedCaveUtility.MutateItem(gloves, 10));

            DragonChest tunic = new DragonChest();
            tunic.Resource = ArmorCraftResource;
            AddItem(CursedCaveUtility.MutateItem(tunic, 10));

            DragonLegs legs = new DragonLegs();
            legs.Resource = ArmorCraftResource;
            AddItem(CursedCaveUtility.MutateItem(legs, 10));

            DragonHelm helm = new DragonHelm();
            helm.Resource = ArmorCraftResource;
            AddItem(CursedCaveUtility.MutateItem(helm, 10));

            AddItem(new Shoes());
            AddItem(CursedCaveUtility.MutateItem(new ChaosShield(), 10));

            Scepter weapon = new Scepter();
            AddItem(CursedCaveUtility.MutateItem(weapon, 10));
        }
コード例 #5
0
		public BloodKnight() : base( AIType.AI_Mage, FightMode.Weakest, 10, 1, 0.2, 0.4)
		{

			Name = "Blood Knight";
			Title= "";
			Hue= Utility.RandomSkinHue();
			Body = 400;
			SpeechHue=1153;
			BaseSoundID = 0;
			Team = 0;

			SetStr( 275, 375);
			SetDex( 40, 75);
			SetInt( 300, 350);

			SetHits(230, 375);
			SetMana(300, 350);

			SetDamage( 10, 15);

                        SetDamageType( ResistanceType.Physical, 80);
			SetDamageType( ResistanceType.Energy, 20);

			SetResistance( ResistanceType.Physical, 50, 55);
			SetResistance( ResistanceType.Cold, 40, 45);
			SetResistance( ResistanceType.Poison, 40, 45);
			SetResistance( ResistanceType.Energy, 20, 25);

			SetSkill( SkillName.Wrestling, 100.2, 100.6);
			SetSkill( SkillName.Tactics, 100.7, 100.4);
			SetSkill( SkillName.Anatomy, 100.5, 100.3);
			SetSkill( SkillName.MagicResist, 110.4, 110.7);
                        SetSkill( SkillName.Magery, 120.4, 120.7);
			SetSkill( SkillName.Swords, 130.4, 130.7);
                        SetSkill( SkillName.EvalInt, 130.4, 130.7);

                        Fame=6300;
			Karma=-10000;

			VirtualArmor= 45;

			Item PaladinSword = new PaladinSword();
			PaladinSword.Movable=false;
			PaladinSword.Hue=2403;
		      //PaladinSword.Slayer=DragonSlaying;
                        EquipItem( PaladinSword );

                        Item DragonLegs = new DragonLegs();
			DragonLegs.Movable=false;
			DragonLegs.Hue=1175;
			EquipItem( DragonLegs );

			Item DragonChest = new DragonChest();
			DragonChest.Movable=false;
			DragonChest.Hue=1175;
			EquipItem( DragonChest );

                        Item DragonGloves = new DragonGloves();
			DragonGloves.Movable=false;
			DragonGloves.Hue=1175;
			EquipItem( DragonGloves );

                        Item DragonHelm = new DragonHelm();
			DragonHelm.Movable=false;
			DragonHelm.Hue=1175;
			EquipItem( DragonHelm );

			Item PlateGorget = new PlateGorget();
			PlateGorget.Movable=false;
			PlateGorget.Hue=1175;
			EquipItem( PlateGorget );

			Item DragonArms = new DragonArms();
			DragonArms.Movable=false;
			DragonArms.Hue=1175;
			EquipItem( DragonArms );

                        Item Sandals = new Sandals();
			Sandals.Movable=false;
			Sandals.Hue=1175;
			EquipItem( Sandals );

			Item hair = new Item( 0x203B);
			hair.Hue = 1109;
			hair.Layer = Layer.Hair;
			hair.Movable = false;
			AddItem( hair );

			PackGold( 220, 480);
			PackMagicItems( 3, 7);
                        PackJewel( 0.01 );

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


       }
コード例 #6
0
      public Myxkion()
          : base( AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
      {
          Name = "Myxkion";
	Body = 0x190;

	Hue = 1175;

	SpeechHue = 44;

          BaseSoundID = 362;

          	SetStr( 2500 );
          	SetDex( 300 );
          	SetInt( 1100 );

          	SetHits( 55000 );

          	SetDamage( 25, 30 );

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

          	SetResistance( ResistanceType.Physical, 0, 0 );
          	SetResistance( ResistanceType.Fire, 100 );
          	SetResistance( ResistanceType.Cold, 10, 70 );
          	SetResistance( ResistanceType.Poison, 10, 12 );
          	SetResistance( ResistanceType.Energy, 10, 12 );

          	SetSkill( SkillName.EvalInt, 125.3 );
		    SetSkill( SkillName.Swords, 120.1, 130.0 );
		    SetSkill( SkillName.Necromancy, 120.1, 130.0 );
          	SetSkill( SkillName.Magery, 125.0 );
          	SetSkill( SkillName.MagicResist, 125.0 );
          	SetSkill( SkillName.Tactics, 130.0 );
          	SetSkill( SkillName.Wrestling, 130.0 );
          	SetSkill( SkillName.Meditation, 130.0 );
          	SetSkill( SkillName.Anatomy, 125.0 );
          	SetSkill(SkillName.DetectHidden, 120.0 );
		    SetSkill( SkillName.SpiritSpeak, 120 );
          
          Fame = 20000;
          Karma = -20000;

          VirtualArmor = 80;

			AddItem( new ThighBoots( 1175 ) ); //black

			WildStaff staff = new WildStaff();
			staff.Movable = false;
			AddItem( staff );

			DragonHelm helm = new DragonHelm();
			helm.Resource = CraftResource.BlackScales;
			helm.Movable = false;
			AddItem( helm );

			DragonChest chest = new DragonChest();
			chest.Resource = CraftResource.BlackScales;
			chest.Movable = false;
			AddItem( chest );

			DragonArms arms = new DragonArms();
			arms.Resource = CraftResource.BlackScales;
			arms.Movable = false;
			AddItem( arms );

			DragonGloves gloves = new DragonGloves();
			gloves.Resource = CraftResource.BlackScales;
			gloves.Movable = false;
			AddItem( gloves );

			DragonLegs legs = new DragonLegs();
			legs.Resource = CraftResource.BlackScales;
			legs.Movable = false;
			AddItem( legs );

        } 
コード例 #7
0
      public Kealdia()
          : base( AIType.AI_Necromage, FightMode.Closest, 10, 1, 0.2, 0.4 )
      {
          Name = "Kealdia";
	Body = 401;
	Hue = 33792;

	SpeechHue = 44;
	Female = true;

	HairItemID = 12239;
	HairHue = 1617; //not entirely correct

          	BaseSoundID = 362;

          	SetStr( 2700 );
          	SetDex( 300 );
          	SetInt( 1100 );

          	SetHits( 55000 );

          	SetDamage( 20, 25 );

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

          	SetResistance( ResistanceType.Physical, 0, 0 );
          	SetResistance( ResistanceType.Fire, 120 );
          	SetResistance( ResistanceType.Cold, 10, 12 );
          	SetResistance( ResistanceType.Poison, 10, 12 );
          	SetResistance( ResistanceType.Energy, 10, 12 );

          	SetSkill( SkillName.EvalInt, 125.3 );
		    SetSkill( SkillName.Swords, 120.1, 130.0 );
		    SetSkill( SkillName.Necromancy, 120.1, 130.0 );
          	SetSkill( SkillName.Magery, 125.0 );
          	SetSkill( SkillName.MagicResist, 125.0 );
          	SetSkill( SkillName.Tactics, 130.0 );
          	SetSkill( SkillName.Wrestling, 130.0 );
          	SetSkill( SkillName.Meditation, 130.0 );
          	SetSkill( SkillName.Anatomy, 125.0 );
          	SetSkill(SkillName.DetectHidden, 120.0 );
		    SetSkill( SkillName.SpiritSpeak, 120 );
          
          	Fame = 20000;
          	Karma = -20000;

          	VirtualArmor = 80;

			AddItem( new Sandals( 1175 ) );

			BladedStaff staff = new BladedStaff();
			staff.Movable = false;
			AddItem( staff );

			DragonChest chest = new DragonChest();
			chest.Resource = CraftResource.BlackScales;
			chest.Movable = false;
			AddItem( chest );

			DragonArms arms = new DragonArms();
			arms.Resource = CraftResource.BlackScales;
			arms.Movable = false;
			AddItem( arms );

			DragonGloves gloves = new DragonGloves();
			gloves.Resource = CraftResource.BlackScales;
			gloves.Movable = false;
			AddItem( gloves );

			DragonLegs legs = new DragonLegs();
			legs.Resource = CraftResource.BlackScales;
			legs.Movable = false;
			AddItem( legs );

        } 
コード例 #8
0
		public ChaosDragoonElite() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = "a chaos dragoon elite";
			Body = 185;

			SetStr( 276, 350 );
			SetDex( 66, 90 );
			SetInt( 126, 150 );

			SetDamage( 29, 34 );

			SetDamageType( ResistanceType.Physical, 55 );
			SetDamageType( ResistanceType.Fire, 25 );
			SetDamageType( ResistanceType.Cold, 50 );
			SetDamageType( ResistanceType.Poison, 35 );
			SetDamageType( ResistanceType.Energy, 35 );

			SetSkill( SkillName.Tactics, 80.1, 100.0 );
			SetSkill( SkillName.MagicResist, 100.1, 110.0 );
			SetSkill( SkillName.Anatomy, 80.1, 100.0 );
			SetSkill( SkillName.Magery, 85.1, 100.0 );
			SetSkill( SkillName.EvalInt, 85.1, 100.0 );
			SetSkill( SkillName.MagicResist, 72.5, 95.0 );
			SetSkill( SkillName.Swords, 72.5, 95.0 );
			SetSkill( SkillName.Tactics, 72.5, 95.0 );

			Fame = 8000;
			Karma = -8000;

			switch ( Utility.Random( 6 ) )
			{
				case 0: PackItem( new RedScales( Utility.RandomMinMax( 1, 3 ) ) ); break;
				case 1: PackItem( new YellowScales( Utility.RandomMinMax( 1, 3 ) ) ); break;
				case 2: PackItem( new BlackScales( Utility.RandomMinMax( 1, 3 ) ) ); break;
				case 3: PackItem( new GreenScales( Utility.RandomMinMax( 1, 3 ) ) ); break;
				case 4: PackItem( new WhiteScales( Utility.RandomMinMax( 1, 3 ) ) ); break;
				case 5: PackItem( new BlueScales( Utility.RandomMinMax( 1, 3 ) ) ); break;
			}

			DragonChest Tunic = new DragonChest();
			Tunic.Quality = ArmorQuality.Exceptional;
			Tunic.Movable = false;
			AddItem( Tunic );

			DragonLegs Legs = new DragonLegs();
			Legs.Quality = ArmorQuality.Exceptional;
			Legs.Movable = false;
			AddItem( Legs );

			DragonArms Arms = new DragonArms();
			Arms.Quality = ArmorQuality.Exceptional;
			Arms.Movable = false;
			AddItem( Arms );

			DragonGloves Gloves = new DragonGloves();
			Gloves.Quality = ArmorQuality.Exceptional;
			Gloves.Movable = false;
			AddItem( Gloves );

			DragonHelm Helm = new DragonHelm();
			Helm.Quality = ArmorQuality.Exceptional;
			Helm.Movable = false;
			AddItem( Helm );

			EquipItem( Loot.RandomWeapon() );
			AddItem( new Boots( 0x455 ) );
			AddItem( new Shirt( Utility.RandomMetalHue() ) );
			EquipItem( new ChaosShield() );

			new ScaledSwampDragon().Rider = this;
		}
コード例 #9
0
		public BaneChosenHoundMaster() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.15, 0.4 )
		{
			Name = "a bane chosen hound master";
			Body = 0x190;
			Hue = Utility.RandomSkinHue();

			SetStr( 176, 225 );
			SetDex( 81, 95 );
			SetInt( 61, 85 );
			
			SetHits( 376, 450 );

			SetDamage( 24, 26 );

			SetDamageType( ResistanceType.Physical, 25 );
			SetDamageType( ResistanceType.Fire, 25 );
			SetDamageType( ResistanceType.Cold, 25 );
			SetDamageType( ResistanceType.Energy, 25 );

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

			SetSkill( SkillName.Fencing, 77.6, 92.5 );
			SetSkill( SkillName.Healing, 60.3, 90.0 );
			SetSkill( SkillName.Macing, 77.6, 92.5 );
			SetSkill( SkillName.Anatomy, 77.6, 87.5 );
			SetSkill( SkillName.MagicResist, 77.6, 97.5 );
			SetSkill( SkillName.Swords, 77.6, 92.5 );
			SetSkill( SkillName.Tactics, 77.6, 87.5 );

			Fame = 5000;
			Karma = -5000;

			CraftResource res = CraftResource.BlackScales;

			BaseWeapon melee = null;

			switch (Utility.Random( 3 ))
			{
				case 0: melee = new Kryss(); break;
				case 1: melee = new Broadsword(); break;
				case 2: melee = new Katana(); break;
			}

			melee.Movable = false;
			AddItem( melee );

			DragonHelm helm = new DragonHelm();
			helm.Resource = res;
			helm.Movable = false;
			AddItem( helm );

			DragonChest chest = new DragonChest();
			chest.Resource = res;
			chest.Movable = false;
			AddItem( chest );

			DragonArms arms = new DragonArms();
			arms.Resource = res;
			arms.Movable = false;
			AddItem( arms );

			DragonGloves gloves = new DragonGloves();
			gloves.Resource = res;
			gloves.Movable = false;
			AddItem( gloves );

			DragonLegs legs = new DragonLegs();
			legs.Resource = res;
			legs.Movable = false;
			AddItem( legs );

			ChaosShield shield = new ChaosShield();
			shield.Movable = false;
			AddItem( shield );

			AddItem( new Shirt() );
			AddItem( new Boots() );

		}
コード例 #10
0
		public BaneChosenDragonRider()
			: base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.15, 0.4)
		{
			Name = "a bane chosen dragon rider";
			Body = 0x190;
			Hue = Utility.RandomSkinHue();

			SetStr(576, 650);
			SetDex(226, 290);
			SetInt(126, 150);

			SetHits(676, 750);

			SetDamage(29, 34);

			SetDamageType(ResistanceType.Physical, 100);

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


			SetSkill(SkillName.Tactics, 80.1, 100.0);
			SetSkill(SkillName.MagicResist, 100.1, 110.0);
			SetSkill(SkillName.Anatomy, 80.1, 100.0);
			SetSkill(SkillName.Magery, 85.1, 100.0);
			SetSkill(SkillName.EvalInt, 85.1, 100.0);
			SetSkill(SkillName.Swords, 72.5, 95.0);
			SetSkill(SkillName.Fencing, 85.1, 100);
			SetSkill(SkillName.Macing, 85.1, 100);

			Fame = 18000;
			Karma = -18000;

			CraftResource res = CraftResource.BlackScales;

			BaseWeapon melee = null;

			switch (Utility.Random(3))
			{
				case 0: melee = new Kryss(); break;
				case 1: melee = new Broadsword(); break;
				case 2: melee = new Katana(); break;
			}

			melee.Movable = false;
			AddItem(melee);

			DragonChest Tunic = new DragonChest();
			Tunic.Resource = res;
			Tunic.Movable = false;
			AddItem(Tunic);

			DragonLegs Legs = new DragonLegs();
			Legs.Resource = res;
			Legs.Movable = false;
			AddItem(Legs);

			DragonArms Arms = new DragonArms();
			Arms.Resource = res;
			Arms.Movable = false;
			AddItem(Arms);

			DragonGloves Gloves = new DragonGloves();
			Gloves.Resource = res;
			Gloves.Movable = false;
			AddItem(Gloves);

			DragonHelm Helm = new DragonHelm();
			Helm.Resource = res;
			Helm.Movable = false;
			AddItem(Helm);

			ChaosShield shield = new ChaosShield();
			shield.Movable = false;
			AddItem(shield);

			AddItem(new Boots(0x455));
			AddItem(new Shirt(Utility.RandomMetalHue()));

			/*int amount = Utility.RandomMinMax(1, 3);

			switch (res)
			{
				case CraftResource.BlackScales: AddItem(new BlackScales(amount)); break;
				case CraftResource.RedScales: AddItem(new RedScales(amount)); break;
				case CraftResource.BlueScales: AddItem(new BlueScales(amount)); break;
				case CraftResource.YellowScales: AddItem(new YellowScales(amount)); break;
				case CraftResource.GreenScales: AddItem(new GreenScales(amount)); break;
				case CraftResource.WhiteScales: AddItem(new WhiteScales(amount)); break;
			}
			switch (Utility.Random(9))
			{
				case 0: res = CraftResource.DullCopper; break;
				case 1: res = CraftResource.ShadowIron; break;
				case 2: res = CraftResource.Copper; break;
				case 3: res = CraftResource.Bronze; break;
				case 4: res = CraftResource.Gold; break;
				case 5: res = CraftResource.Agapite; break;
				case 6: res = CraftResource.Verite; break;
				case 7: res = CraftResource.Valorite; break;
				case 8: res = CraftResource.Iron; break;
			}*/

			BaneDragon mt = new BaneDragon();
			mt.Rider = this;
		}