예제 #1
0
		public BloodKnight() : base( AIType.AI_Mage, FightMode.Weakest, 10, 1, 0.2, 0.4 )
		{
			Hue = Utility.RandomSkinHue();
			Body = 400;
			Hue = 1175;
			BaseSoundID = 0;

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

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

			SetDamage( 10, 15 );

			
			

			
			
			
			

			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 = 6000;
			Karma = -10000;

			VirtualArmor = 45;

			BaseWeapon sword = new PaladinSword();
			sword.Slayer = SlayerName.DragonSlaying;

			EquipItem( Identify( NotCorpseCont( sword ) ) );

			EquipItem( MakeBloodArmor( new DragonLegs() ) );
			EquipItem( MakeBloodArmor( new DragonChest() ) );
			EquipItem( MakeBloodArmor( new DragonGloves() ) );
			EquipItem( MakeBloodArmor( new DragonHelm() ) );
			EquipItem( MakeBloodArmor( new PlateGorget() ) );
			EquipItem( MakeBloodArmor( new DragonArms() ) );

			EquipItem( Identify( NotCorpseCont( Rehued( new Sandals(), 1157 ) ) ) );

			HairItemID = 0x203B;
			HairHue = 1109;
		}
		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;
        		 }


       }
        public GuardiansChestWeaponsmith() : base(0xE43)
        {
            Name    = "a metal chest -20-";
            Movable = true;
            Weight  = 1000.0;

            Hue = 83;

            TrapPower = 0;
            Locked    = true;

            RequiredSkill = 20;
            LockLevel     = 20;
            MaxLockLevel  = 25;

            // Gold
            if (Utility.RandomDouble() < 0.25)
            {
                DropItem(new Gold(Utility.Random(1, 50)));
            }

            // Supplies

            if (Utility.RandomDouble() < 0.05)
            {
                DropItem(new CrescentBlade());
            }

            if (Utility.RandomDouble() < 0.10)
            {
                DropItem(new Scepter());
            }

            if (Utility.RandomDouble() < 0.05)
            {
                DropItem(new Scythe());
            }

            if (Utility.RandomDouble() < 0.10)
            {
                DropItem(new Arrow(Utility.Random(25, 30)));
            }

/////////////////////////////////////// Rare Items

            if (Utility.RandomDouble() < 0.15)
            {
                BaseWeapon weapon = Loot.RandomWeapon(true);
                switch (Utility.Random(11))
                {
                case 0: weapon = new BladedStaff(); break;

                case 1: weapon = new BoneHarvester(); break;

                case 2: weapon = new CompositeBow(); break;

                case 3: weapon = new CrescentBlade(); break;

                case 4: weapon = new DoubleBladedStaff(); break;

                case 5: weapon = new Lance(); break;

                case 6: weapon = new PaladinSword(); break;

                case 7: weapon = new Pike(); break;

                case 8: weapon = new RepeatingCrossbow(); break;

                case 9: weapon = new Scepter(); break;

                default: weapon = new Scythe(); break;
                }
                BaseRunicTool.ApplyAttributesTo(weapon, 5, 15, 20);

                DropItem(weapon);
            }
        }