Esempio n. 1
0
		public ZombieMage() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) 
		{ 
			Title = "A Zombie Mage";
			Body = 400;
			Hue = 1425;  

			SetStr( 200, 300 );
			SetDex( 91, 115 );
			SetInt( 300, 320 );

			SetHits( 620, 725 );

			SetDamage( 10, 15 );

			SetDamageType( ResistanceType.Physical, 100 );

			SetResistance( ResistanceType.Physical, 0, 1 );
			SetResistance( ResistanceType.Fire, 0, 1 );
			SetResistance( ResistanceType.Poison, 0, 1 );
			SetResistance( ResistanceType.Energy, 0, 1 );

			SetSkill( SkillName.EvalInt, 85.0, 100.0 );
			SetSkill( SkillName.Tactics, 75.1, 100.0 );
			SetSkill( SkillName.MagicResist, 75.0, 97.5 );
			SetSkill( SkillName.Wrestling, 20.2, 60.0 );
			SetSkill( SkillName.Meditation, 120.0);
			SetSkill( SkillName.Focus, 120.0);
			SetSkill( SkillName.Magery, 100.0 );

			Fame = 2500;
			Karma = -2500;

			VirtualArmor = 50;

			Item hair = new Item( Utility.RandomList( 0x203B, 0x2049, 0x2048, 0x204A ) );
			hair.Hue = 1429;
			hair.Layer = Layer.Hair;
			hair.Movable = false;
			AddItem( hair );
			
			Item beard = new Item( Utility.RandomList( 0x203E, 0x203F, 0x2040, 0x2041, 0x204B, 0x204C, 0x204D ) );

				beard.Hue = hair.Hue;
				beard.Layer = Layer.FacialHair;
				beard.Movable = false;
				AddItem( beard );
				
				
			ZombieChest chest = new ZombieChest();
			chest.Movable = false;
   			AddItem(chest);
   			
   			ZombieHands gloves = new ZombieHands();
   			gloves.Movable = false;
  			AddItem(gloves);
  			
  			ZombieNeck gorget = new ZombieNeck();
  			gorget.Movable = false;
 			AddItem(gorget);
 			
 			ZombieLegs legs = new ZombieLegs();
 			legs.Movable = false;
			AddItem(legs);

			ZombieRobe robe = new ZombieRobe();
			robe.Movable = false;
			AddItem(robe);

			Sandals sandals = new Sandals();
			sandals.Hue = 1425;
			AddItem( sandals );

		}
Esempio n. 2
0
		public ZombieArcher() : base( AIType.AI_Archer, FightMode.Closest, 10, 1, 0.2, 0.4 ) 
		{ 	
			Title = "A Zombie Archer";
			Body = 400;
			Hue = 1425; 

			SetStr( 200, 300 );
			SetDex( 191, 215 );
			SetInt( 196, 220 );

			SetHits( 520, 525 );

			SetDamage( 10, 15 );

			SetDamageType( ResistanceType.Physical, 100 );

			SetResistance( ResistanceType.Physical, 0, 01 );
			SetResistance( ResistanceType.Fire, 0, 01 );
			SetResistance( ResistanceType.Poison, 0, 01 );
			SetResistance( ResistanceType.Energy, 0, 01 );

			SetSkill( SkillName.Archery, 75.1, 100.0 );
			SetSkill( SkillName.Tactics, 75.1, 100.0 );
			SetSkill( SkillName.MagicResist, 75.0, 97.5 );
			SetSkill( SkillName.Tactics, 65.0, 87.5 );
			SetSkill( SkillName.Wrestling, 20.2, 60.0 );

			Fame = 2500;
			Karma = -2500;

			VirtualArmor = 50;

			Item hair = new Item( Utility.RandomList( 0x203B, 0x2049, 0x2048, 0x204A ) );
			hair.Hue = 1429;
			hair.Layer = Layer.Hair;
			hair.Movable = false;
			AddItem( hair );
			
			Item beard = new Item( Utility.RandomList( 0x203E, 0x203F, 0x2040, 0x2041, 0x204B, 0x204C, 0x204D ) );

				beard.Hue = hair.Hue;
				beard.Layer = Layer.FacialHair;
				beard.Movable = false;
				AddItem( beard );
			
				//switch ( Utility.Random( 10 ))
					if (Utility.Random(10) == 1 ) 
   					AddItem( new Bow() ); 
					else 
				    AddItem( new CompositeBow());

			
			ZombieChest chest = new ZombieChest();
			chest.Movable = false;
   			AddItem(chest);
   			
   			ZombieHands gloves = new ZombieHands();
   			gloves.Movable = false;
  			AddItem(gloves);
  			
  			ZombieNeck gorget = new ZombieNeck();
  			gorget.Movable = false;
 			AddItem(gorget);
 			
 			ZombieLegs legs = new ZombieLegs();
 			legs.Movable = false;
			AddItem(legs);

			ZombieRobe robe = new ZombieRobe();
			robe.Movable = false;
			AddItem(robe);

			Sandals sandals = new Sandals();
			sandals.Hue = 1425;
			AddItem( sandals );

		}