コード例 #1
0
		public Dracula() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) 
		{ 
			Title = "Lord of the Dead";
			Name = ( "Dracula" );
			Body = 400;
			Hue = 0;  // Pale Hue

			SetStr( 900, 1200 );
			SetDex( 150, 180 );
			SetInt( 960, 1200 );

			SetHits( 1200, 1600 );

			SetDamage( 10, 12 );
			
			SetResistance( ResistanceType.Physical, 0, 1 );
			SetResistance( ResistanceType.Fire, 25 );
			SetResistance( ResistanceType.Poison, 70 );
			SetResistance( ResistanceType.Energy, 50 );
			SetResistance( ResistanceType.Cold, 50 );

			SetSkill( SkillName.EvalInt, 150.0, 175.0 );
			SetSkill( SkillName.Tactics, 120.0, 145.0 );
			SetSkill( SkillName.MagicResist, 120.0, 145.0 );
			SetSkill( SkillName.Wrestling, 130.0, 155.0 );
			SetSkill( SkillName.Meditation, 120.0, 155.0 );
			SetSkill( SkillName.Focus, 120.0, 155.0 );
			SetSkill( SkillName.Magery, 150.0, 175.0 );

			Fame = -15000;
			Karma = -25000;

			VirtualArmor = 50;
						
			Sandals sandals = new Sandals();
			sandals.Hue = 1;
			EquipItem( sandals );
			
			DraculasShroud DraculasShroud = new DraculasShroud();
			DraculasShroud.Hue = 1;
			EquipItem( DraculasShroud );
					

			m_Timer = new TeleportTimer( this );
			m_Timer.Start();
			m_FieldActive = CanUseField;
			
		}
コード例 #2
0
		public DragonKnightMage() : base( AIType.AI_Mage, FightMode.Evil, 10, 1, 0.2, 0.4 ) 
		{
 			Title = "a DragonKnight Mage";
			Name = NameList.RandomName( "male" );
			Body = 0x191;
			Hue = 33805;
			Female = false;

			SetStr( 1025, 1425 );
			SetDex( 81, 148 );
			SetInt( 475, 675 );
			
			Fame = 1000;
			Karma = 1000;
			
			SetHits( 1000, 2000 );

			SetDamage( 24, 33 );

			SetDamageType( ResistanceType.Physical, 100 );

            SetResistance( ResistanceType.Physical, 60, 85 );
			SetResistance(ResistanceType.Fire, 65, 90);
            SetResistance(ResistanceType.Cold, 40, 55);
			SetResistance( ResistanceType.Poison, 40, 60 );
			SetResistance( ResistanceType.Energy, 50, 75 );

			SetSkill( SkillName.Archery, 100, 140 );
			SetSkill( SkillName.Tactics, 100, 140 );
			SetSkill( SkillName.MagicResist, 100, 140 );
			SetSkill( SkillName.Tactics, 100, 140 );
			SetSkill( SkillName.Wrestling, 100, 140 );
			SetSkill( SkillName.Swords, 100, 140 );
			SetSkill( SkillName.Magery, 100, 140 );
			SetSkill( SkillName.Focus, 100, 140 );
			SetSkill( SkillName.EvalInt, 100, 140 );

			VirtualArmor = 80;
   			
   			GlacialStaff glacialstaff = new GlacialStaff();
   			glacialstaff.Movable = false;
   			AddItem(glacialstaff);
   			
   			HumilityCloak cloak = new HumilityCloak();
   			cloak.Movable = false;
   			AddItem(cloak);
			
   			SpiritualityHelm spiritualityhelm = new SpiritualityHelm();
			spiritualityhelm.Movable = false;
   			AddItem(spiritualityhelm);

   			HonestyGorget honestygorget = new HonestyGorget();
			honestygorget.Movable = false;
   			AddItem(honestygorget);
   			
   			JusticeBreastplate justicebreastplate = new JusticeBreastplate();
			justicebreastplate.Movable = false;
   			AddItem(justicebreastplate);

   			BodySash bodysash = new BodySash();
			bodysash.Movable = false;
			bodysash.Name = "Royal DragonKnight";
   			AddItem(bodysash);
   			
   			CompassionArms compassionarms = new CompassionArms();
			compassionarms.Movable = false;
   			AddItem(compassionarms);
   			
   			ValorGauntlets valorgauntlets = new ValorGauntlets();
			valorgauntlets.Movable = false;
   			AddItem(valorgauntlets);
   			
   			HonorLegs honorlegs = new HonorLegs();
			honorlegs.Movable = false;
   			AddItem(honorlegs);
   			
   			SacrificeSollerets sacrificesollerets = new SacrificeSollerets();
   			sacrificesollerets.Movable = false;
   			AddItem(sacrificesollerets);

   			DraculasShroud draculasshroud = new DraculasShroud();
   			draculasshroud.Movable = false;
   			AddItem(draculasshroud);

   			
   			
//   		PlateChest chest = new PlateChest();
//			chest.Movable = false;
//			chest.Hue = 137;
//   		AddItem(chest);
   			

			VampiriacSteed vampiriacsteed = new VampiriacSteed();
        	vampiriacsteed.Hue = 2219;
			//horse.Hits = 200;
			//horse.Karma = 500;
        	vampiriacsteed.Rider = this;
        	
        	//new VampiriacSteed().Rider = this;
   			glacialstaff.Hue = 1152;
   			cloak.Hue = 253;
			spiritualityhelm.Hue = 2406;
			honestygorget.Hue = 2406;
			justicebreastplate.Hue = 2406;
			bodysash.Hue = 253;
			compassionarms.Hue = 2406;
			valorgauntlets.Hue = 2406;
			honorlegs.Hue = 2406;
			sacrificesollerets.Hue = 2406;
   			draculasshroud.Hue = 2406;

   			
		}