Esempio n. 1
0
		public Dracolich () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = NameList.RandomName( "dragon" );
			Title = "the dracolich";
			Body = 104;
			BaseSoundID = 0x488;

			SetStr( 898, 1030 );
			SetDex( 68, 200 );
			SetInt( 488, 620 );

			SetHits( 558, 599 );

			SetDamage( 29, 35 );

			SetDamageType( ResistanceType.Physical, 75 );
			SetDamageType( ResistanceType.Fire, 25 );

			SetResistance( ResistanceType.Physical, 75, 80 );
			SetResistance( ResistanceType.Fire, 40, 60 );
			SetResistance( ResistanceType.Cold, 40, 60 );
			SetResistance( ResistanceType.Poison, 70, 80 );
			SetResistance( ResistanceType.Energy, 40, 60 );

			SetSkill( SkillName.EvalInt, 80.1, 100.0 );
			SetSkill( SkillName.Magery, 80.1, 100.0 );
			SetSkill( SkillName.MagicResist, 100.3, 130.0 );
			SetSkill( SkillName.Tactics, 97.6, 100.0 );
			SetSkill( SkillName.Wrestling, 97.6, 100.0 );

			Fame = 22500;
			Karma = -22500;

			VirtualArmor = 80;

			PackNecroReg( 12, 40 );
			PackNecroReg( 12, 40 );

			Item dracoItem = null;

			switch ( Utility.RandomMinMax( 0, 2 ) )
			{
				case 0: dracoItem = Loot.RandomWeapon( false ); MorphingItem.MorphMyItem( dracoItem, "IGNORED", "Dracolich", "IGNORED", MorphingTemplates.TemplateDracolich("weapons") ); PackItem( dracoItem ); break;
				case 1: dracoItem = Loot.RandomJewelry(); MorphingItem.MorphMyItem( dracoItem, "IGNORED", "Dracolich", "IGNORED", MorphingTemplates.TemplateDracolich("misc") ); PackItem( dracoItem ); break;
				case 2:
					switch ( Utility.RandomMinMax( 0, 6 ) )
					{
						case 0: dracoItem = new BoneLegs(); MorphingItem.MorphMyItem( dracoItem, "IGNORED", "IGNORED", "Dracolich Leggings", MorphingTemplates.TemplateDracolich("armors") ); PackItem( dracoItem ); break;
						case 1: dracoItem = new BoneGloves(); MorphingItem.MorphMyItem( dracoItem, "IGNORED", "IGNORED", "Dracolich Gloves", MorphingTemplates.TemplateDracolich("armors") ); PackItem( dracoItem ); break;
						case 2: dracoItem = new BoneArms(); MorphingItem.MorphMyItem( dracoItem, "IGNORED", "IGNORED", "Dracolich Arms", MorphingTemplates.TemplateDracolich("armors") ); PackItem( dracoItem ); break;
						case 3: dracoItem = new BoneChest(); MorphingItem.MorphMyItem( dracoItem, "IGNORED", "IGNORED", "Dracolich Tunic", MorphingTemplates.TemplateDracolich("armors") ); PackItem( dracoItem ); break;
						case 4: dracoItem = new BoneSkirt(); MorphingItem.MorphMyItem( dracoItem, "IGNORED", "IGNORED", "Dracolich Tunic", MorphingTemplates.TemplateDracolich("armors") ); PackItem( dracoItem ); break;
						case 5: dracoItem = new OrcHelm(); MorphingItem.MorphMyItem( dracoItem, "IGNORED", "IGNORED", "Dracolich Helm", MorphingTemplates.TemplateDracolich("armors") ); PackItem( dracoItem ); break;
						case 6: dracoItem = new WoodenShield(); MorphingItem.MorphMyItem( dracoItem, "IGNORED", "IGNORED", "Dracolich Shield", MorphingTemplates.TemplateDracolich("armors") ); PackItem( dracoItem ); break;
					}
				break;
			}
		}