コード例 #1
0
ファイル: Quina.cs プロジェクト: greeduomacro/cov-shard-svn-1
		public BlueQuina() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Body = 400;
			Name = "Quina";
			Title = "Quen";
			Hue = 2219;
			SpeechHue = 2219;
			Female = Utility.RandomBool();

			SetStr( 120 );
			SetDex( 90 );
			SetInt( 200 );

			SetHits( 7000 );

			SetDamageType( ResistanceType.Physical, 0 );
			SetDamageType( ResistanceType.Cold, 100 );

			SetResistance( ResistanceType.Physical, 45, 55 );
			SetResistance( ResistanceType.Fire, 45, 55 );
			SetResistance( ResistanceType.Cold, 100 );
			SetResistance( ResistanceType.Poison, 45, 55 );
			SetResistance( ResistanceType.Energy, 35, 45 );

			SetSkill( SkillName.MagicResist, 145.1, 160.0 );

			// Damage Pitchfork 13~14. Str +25%
			SetSkill( SkillName.Fencing, 100 ); // +25%
			SetSkill( SkillName.Tactics, 80.0 ); // +50%
			SetSkill( SkillName.Anatomy, 200.0 ); // +45%
			// Total 145%
			// Output: 31.85~34.3

			Fame = 15000;
			Karma = -15000;

			VirtualArmor = 50;

			PackItem( new FrogDropBag() );

			// Weapon
			Pitchfork weapon = new Pitchfork();
			weapon.Name = "<BASEFONT COLOR='#800000'>Fork of Maiming";
			weapon.Attributes.AttackChance = 25;
			weapon.WeaponAttributes.HitLowerDefend = 100;
			weapon.AosElementDamages.Fire = 100;
			Ability.GiveItem( this, 1294, weapon );

			// Hat
			BlueHat hat = new BlueHat();
			hat.ItemID = 5907;
			hat.EnhanceOne = (BlueEnhance)( Utility.Random( 9 ) + 1 );

			if ( Utility.RandomDouble() > 0.75 )
				hat.EnhanceTwo = (BlueEnhance)( Utility.Random( 9 ) + 1 );

			Ability.GiveItem( this, 1436, hat );

			// Chest
			BlueShirt chest = new BlueShirt();
			chest.EnhanceOne = (BlueEnhance)( Utility.Random( 9 ) + 1 );

			if ( Utility.RandomDouble() > 0.75 )
				chest.EnhanceTwo = (BlueEnhance)( Utility.Random( 9 ) + 1 );

			Ability.GiveItem( this, 1194, chest );

			// Belt
			BlueBelt belt = new BlueBelt();
			belt.ItemID = 5435;
			belt.EnhanceOne = (BlueEnhance)( Utility.Random( 9 ) + 1 );

			if ( Utility.RandomDouble() > 0.75 )
				belt.EnhanceTwo = (BlueEnhance)( Utility.Random( 9 ) + 1 );

			Ability.GiveItem( this, 2017, belt );

			// Legs
			BluePants legs = new BluePants();
			legs.ItemID = 5422;
			legs.EnhanceOne = (BlueEnhance)( Utility.Random( 9 ) + 1 );

			if ( Utility.RandomDouble() > 0.75 )
				legs.EnhanceTwo = (BlueEnhance)( Utility.Random( 9 ) + 1 );

			Ability.GiveItem( this, 1619, legs );

			// Boots
			BlueBoots boots = new BlueBoots();
			boots.ItemID = 5901;
			boots.EnhanceOne = (BlueEnhance)( Utility.Random( 9 ) + 1 );

			if ( Utility.RandomDouble() > 0.75 )
				boots.EnhanceTwo = (BlueEnhance)( Utility.Random( 9 ) + 1 );

			Ability.GiveItem( this, 1436, boots );
		}
コード例 #2
0
ファイル: Kaysa.cs プロジェクト: greeduomacro/cov-shard-svn-1
		public BlueKaysa() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = "Kaysa";
			Title = "the Turquoise Druid";
			Female = true;
			Race = Race.Elf;
			Body = 606;
			SpeechHue = 1436;
			Hue = 33773;

			SetStr( 500 );
			SetDex( 125 );
			SetInt( 1000 );

			SetHits( 25000 );

			SetDamage( 17, 21 );

			SetDamageType( ResistanceType.Poison, 100 );

			SetResistance( ResistanceType.Physical, 40 );
			SetResistance( ResistanceType.Fire, 35 );
			SetResistance( ResistanceType.Cold, 30 );
			SetResistance( ResistanceType.Poison, 95 );
			SetResistance( ResistanceType.Energy, 45 );

			SetSkill( SkillName.Magery, 120.0 );
			SetSkill( SkillName.EvalInt, 100.0);
			SetSkill( SkillName.Meditation, 120.0 );
			SetSkill( SkillName.MagicResist, 120.0 );
			SetSkill( SkillName.Tactics, 120.0 );
			SetSkill( SkillName.Wrestling, 100.0 );

			Fame = 28000;
			Karma = -28000;

			VirtualArmor = 64;

			HairItemID = 0x203D;
			HairHue = 1119;

			#region Equipment
			// Chest
			BlueShirt chest = new BlueShirt();
			chest.ItemID = 0x1C0A;
			chest.EnhanceOne = (BlueEnhance)( Utility.Random( 9 ) + 1 );

			if ( Utility.RandomDouble() > 0.75 )
				chest.EnhanceTwo = (BlueEnhance)( Utility.Random( 9 ) + 1 );

			Ability.GiveItem( this, 1436, chest );

			// Legs
			BluePants legs = new BluePants();
			legs.ItemID = 0x1C00;
			legs.EnhanceOne = (BlueEnhance)( Utility.Random( 9 ) + 1 );

			if ( Utility.RandomDouble() > 0.75 )
				legs.EnhanceTwo = (BlueEnhance)( Utility.Random( 9 ) + 1 );

			Ability.GiveItem( this, 1436, legs );

			// Arms
			BlueArms arms = new BlueArms();
			arms.EnhanceOne = (BlueEnhance)( Utility.Random( 9 ) + 1 );

			if ( Utility.RandomDouble() > 0.75 )
				arms.EnhanceTwo = (BlueEnhance)( Utility.Random( 9 ) + 1 );

			Ability.GiveItem( this, 1436, arms );

			// Boots
			BlueBoots boots = new BlueBoots();
			boots.EnhanceOne = (BlueEnhance)( Utility.Random( 9 ) + 1 );

			if ( Utility.RandomDouble() > 0.75 )
				boots.EnhanceTwo = (BlueEnhance)( Utility.Random( 9 ) + 1 );

			Ability.GiveItem( this, 1436, boots );
			#endregion
		}