Inheritance: BaseOuterLegs
        public HavenCrier()
            : base()
        {
            InitStats(100, 100, 25);

            Title = "the town crier";
            Hue = Utility.RandomSkinHue();

            if (Female = Utility.RandomBool())
            {
                Body = 0x191;
                Name = NameList.RandomName("female");
            }
            else
            {
                Body = 0x190;
                Name = NameList.RandomName("male");
            }

            AddItem(new FancyShirt(Utility.RandomBlueHue()));

            Item skirt = new Kilt();
            skirt.Hue = Utility.RandomGreenHue();
            AddItem(skirt);
            AddItem(new FeatheredHat(Utility.RandomGreenHue()));

            Item boots = new ThighBoots();
            AddItem(boots);

            Utility.AssignRandomHair(this);
        }
Ejemplo n.º 2
0
        public KhaldunSummoner()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body = 0x190;
            Name = "Zealot of Khaldun";
            Title = "the Summoner";

            SetStr( 351, 400 );
            SetDex( 101, 150 );
            SetInt( 502, 700 );

            SetHits( 421, 480 );

            SetDamage( 5, 15 );

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

            SetResistance( ResistanceType.Physical, 35, 40 );
            SetResistance( ResistanceType.Fire, 25, 30 );
            SetResistance( ResistanceType.Cold, 50, 60 );
            SetResistance( ResistanceType.Poison, 25, 35 );
            SetResistance( ResistanceType.Energy, 25, 35 );

            SetSkill( SkillName.Wrestling, 90.1, 100.0 );
            SetSkill( SkillName.Tactics, 90.1, 100.0 );
            SetSkill( SkillName.MagicResist, 90.1, 100.0 );
            SetSkill( SkillName.Magery, 90.1, 100.0 );
            SetSkill( SkillName.EvalInt, 100.0 );
            SetSkill( SkillName.Meditation, 120.1, 130.0 );

            VirtualArmor = 16;
            Fame = 10000;
            Karma = -10000;

            LeatherGloves gloves = new LeatherGloves();
            gloves.Hue = 0x66D;
            AddItem( gloves );

            BoneHelm helm = new BoneHelm();
            helm.Hue = 0x835;
            AddItem( helm );

            Necklace necklace = new Necklace();
            necklace.Hue = 0x66D;
            AddItem( necklace );

            Cloak cloak = new Cloak();
            cloak.Hue = 0x66D;
            AddItem( cloak );

            Kilt kilt = new Kilt();
            kilt.Hue = 0x66D;
            AddItem( kilt );

            Sandals sandals = new Sandals();
            sandals.Hue = 0x66D;
            AddItem( sandals );
        }
Ejemplo n.º 3
0
		public KhaldunSummoner():base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Body = 0x190;
			Title = "the Summoner";

            SetStr(1254, 1381);
            SetDex(93, 135);
            SetInt(745, 810);

            SetHits(694, 875);

            SetDamage(12, 20);

			
			

			
			
			
			
			

			SetSkill( SkillName.Wrestling, 90.1, 100.0 );
			SetSkill( SkillName.Tactics, 90.1, 100.0 );
			SetSkill( SkillName.MagicResist, 90.1, 100.0 );
			SetSkill( SkillName.Magery, 90.1, 100.0 );
			SetSkill( SkillName.EvalInt, 100.0 );
			SetSkill( SkillName.Meditation, 120.1, 130.0 );

			VirtualArmor = 36;
			Fame = 10000;
			Karma = -10000;

			LeatherGloves gloves = new LeatherGloves();
			gloves.Hue = 0x66D;
            gloves.Identified = true;
			AddItem( Immovable(gloves) );

			BoneHelm helm = new BoneHelm();
			helm.Hue = 0x835;
            helm.Identified = true;
			AddItem( Immovable(helm) );

			Necklace necklace = new Necklace();
			necklace.Hue = 0x66D;
			AddItem( Immovable(necklace) );

			Cloak cloak = new Cloak();
			cloak.Hue = 0x66D;
			AddItem( Immovable(cloak) );

			Kilt kilt = new Kilt();
			kilt.Hue = 0x66D;
			AddItem( Immovable(kilt) );

			Sandals sandals = new Sandals();
			sandals.Hue = 0x66D;
			AddItem( Immovable(sandals) );
		}
Ejemplo n.º 4
0
		public BarbarianChieftain() : base( AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			int hairHue = Utility.RandomHairHue();
			Name = "Barbarian Chieftain";
			Hue = Utility.RandomSkinHue();
			Body = 0x190;

			AddItem( new LongHair( hairHue ) );
			AddItem( new LongBeard( hairHue ) );

			SetStr( 200, 250 );
			SetDex( 88, 98 );
			SetInt( 20, 30 );

			SetHits( 150, 200 );
			SetStam( 81, 95 );

			SetDamage( 25, 28 );

			SetDamageType( ResistanceType.Physical, 100 );

			SetSkill( SkillName.Swords, 100.0 );
			SetSkill( SkillName.MagicResist, 20.0, 35.0 );
			SetSkill( SkillName.Tactics, 90.0, 100.0 );
			SetSkill( SkillName.Wrestling, 90.0, 100.0 );
			SetSkill( SkillName.Parry, 85.0, 100.0 );
			Fame = Utility.RandomMinMax( 4000, 5500 );
			Karma = Utility.RandomMinMax( -4500, -6500 );

			VirtualArmor = 20;
			Item temp;
			temp = new ThighBoots();
			temp.Hue = 0x01bb;
			temp.Movable = false;
			AddItem( temp );
			temp = new LeatherChest();
			temp.Movable = false;
			AddItem( temp );
			temp = new Kilt();
			temp.Hue = 0x01bb;
			temp.Movable = false;
			AddItem( temp );
			LargeBattleAxe a = new LargeBattleAxe();
			a.DamageLevel = WeaponDamageLevel.Ruin;
			AddItem( a );
		}
Ejemplo n.º 5
0
		public Stripper() : base( AIType.AI_Melee, FightMode.None, 10, 1, 0.5, 2 )
		{
			SpeechHue = Utility.RandomDyedHue();
			InitStats( 50, 50, 25 );
			//Title = "The Stripper";
			Hue = Utility.RandomSkinHue();
			Body = 0x191;
			Name = "The Stripper"; //NameList.RandomName( "female" );
			Fame = 100;
			Karma = 0;
			Blessed = true;
            AddItem(new LongHair(2213));
           // AddItem( new BunsHair( Utility.RandomRedHue() ) );
			AddItem( new Backpack() );
				switch ( Utility.Random( 2 ) )
				{
					case 0: AddItem( new Bonnet( Utility.RandomBlueHue() ) ); break;
					default: case 1: AddItem( new FeatheredHat( Utility.RandomBlueHue() ) ); break;
				}
				switch ( Utility.Random( 2 ) )
				{
					case 0: AddItem( new ThighBoots( Utility.RandomGreenHue() ) ); break;
					default: case 1: AddItem( new Sandals( Utility.RandomGreenHue() ) ); break;
				}
			AddItem( new FancyShirt( Utility.RandomBlueHue() ) );
			AddItem( new Doublet( Utility.RandomBlueHue() ) );
			AddItem( new Cloak( Utility.RandomGreenHue() ) );
			Item gloves = new LeatherGloves();
			gloves.Hue = Utility.RandomBlueHue();
			AddItem( gloves );
			AddItem( new ShortPants( Utility.RandomBlueHue() ) );
			AddItem( new StrippersLingerie());
			Item skirt;
				switch ( Utility.Random( 2 ) )
				{
					case 0: skirt = new Skirt(); break;
					default: case 1: skirt = new Kilt(); break;
				}
			skirt.Hue = Utility.RandomGreenHue();
			AddItem( skirt );
			AddItem( new SilverRing() );
			AddItem( new SilverEarrings() );
			AddItem( new SilverBracelet() );
			AddItem( new SilverNecklace() ); 
		}
        public AdvertMobile()
            : base()
        {
            InitStats(100, 100, 25);

            Title = "the advertiser";
            Hue = Utility.RandomSkinHue();
            Body = 0x190;
            Name = NameList.RandomName("male");
            AddItem(new FancyShirt(Utility.RandomBlueHue()));
            Item skirt = new Kilt();
            skirt.Hue = Utility.RandomGreenHue();
            AddItem(skirt);
            AddItem(new FeatheredHat(Utility.RandomGreenHue()));
            Item boots = new ThighBoots();
            AddItem(boots);
            Utility.AssignRandomHair(this);
            AdvertSystem.Advertisers.Add(this);
        }
Ejemplo n.º 7
0
		public Armond():base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Body = 0x190;
			Name = "Armond";
			Title = "The Dark One";

			SetStr( 356, 396 );
			SetDex( 105, 135 );
			SetInt( 530, 653 );
			SetSkill( SkillName.Wrestling, 91.3, 97.8 );
			SetSkill( SkillName.Tactics, 91.5, 99.0 );
			SetSkill( SkillName.MagicResist, 90.6, 96.8);
			SetSkill( SkillName.Magery, 91.7, 99.0 );
			SetSkill( SkillName.EvalInt, 100.1, 100.1 );
			SetSkill( SkillName.Meditation, 121.1, 128.1 );

			VirtualArmor = 64;

			new Kirin().Rider = this;

			SetFameLevel( 8 );
			SetKarmaLevel( -8 );

			LeatherGloves gloves = new LeatherGloves();
			gloves.Hue = 1;
			AddItem( gloves );

			HoodedShroudOfShadows shroud = new HoodedShroudOfShadows();
			shroud.Hue = 1157;
			AddItem( shroud );

			Cloak cloak = new Cloak();
			cloak.Hue = 1157;
			AddItem( cloak );

			Kilt kilt = new Kilt();
			kilt.Hue = 1;
			AddItem( kilt );

			Sandals sandals = new Sandals();
			sandals.Hue = 1;
			AddItem( sandals );
		}
		public KhaldunSummoner():base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Body = 0x190;
			Name = "Khaldun Zealot";

			SetStr( 356, 396 );
			SetDex( 105, 135 );
			SetInt( 530, 653 );

			SetSkill( SkillName.Wrestling, 91.3, 97.8 );
			SetSkill( SkillName.Tactics, 91.5, 99.0 );
			SetSkill( SkillName.MagicResist, 90.6, 96.8);
			SetSkill( SkillName.Magery, 91.7, 99.0 );
			SetSkill( SkillName.EvalInt, 100.1, 100.1 );
			SetSkill( SkillName.Meditation, 121.1, 128.1 );

			VirtualArmor = 36;
			SetFameLevel( 4 );
			SetKarmaLevel( 4 );

			LeatherGloves gloves = new LeatherGloves();
			gloves.Hue = 32;
			AddItem( gloves );

			BoneHelm helm = new BoneHelm();
			helm.Hue = 0x3A8;
			helm.LootType = LootType.Blessed;
			AddItem( helm );

			Cloak cloak = new Cloak();
			cloak.Hue = 32;
			AddItem( cloak );

			Kilt kilt = new Kilt();
			kilt.Hue = 32;
			AddItem( kilt );

			Sandals sandals = new Sandals();
			sandals.Hue = 32;
			AddItem( sandals );
		}
Ejemplo n.º 9
0
		public DummyNox() : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6)
		{

			// A Dummy Nox or Pure Mage
			int iHue = 20 + Team * 40;
			int jHue = 25 + Team * 40;

			// Skills and Stats
			this.InitStats( 90, 90, 125 );
			this.Skills[SkillName.Magery].Base = 120;
			this.Skills[SkillName.EvalInt].Base = 120;
			this.Skills[SkillName.Inscribe].Base = 100;
			this.Skills[SkillName.Wrestling].Base = 120;
			this.Skills[SkillName.Meditation].Base = 120;
			this.Skills[SkillName.Poisoning].Base = 100;


			// Name
			this.Name = "Nox Mage";

			// Equip
			Spellbook book = new Spellbook();
			book.Movable = false;
			book.LootType = LootType.Newbied;
			book.Content =0xFFFFFFFFFFFFFFFF;
			AddItem( book );

			Kilt kilt = new Kilt();
			kilt.Hue = jHue;
			AddItem( kilt );

			Sandals snd = new Sandals();
			snd.Hue = iHue;
			snd.LootType = LootType.Newbied;
			AddItem( snd );

			SkullCap skc = new SkullCap();
			skc.Hue = iHue;
			AddItem( skc );

			// Spells
			AddSpellAttack( typeof(Spells.First.MagicArrowSpell) );
			AddSpellAttack( typeof(Spells.First.WeakenSpell) );
			AddSpellAttack( typeof(Spells.Third.FireballSpell) );
			AddSpellDefense( typeof(Spells.Third.WallOfStoneSpell) );
			AddSpellDefense( typeof(Spells.First.HealSpell) );
		}
Ejemplo n.º 10
0
		public DemonExec () : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = "a demonic executioner";
			Body = 400;
			BaseSoundID = 427;
			Hue = 1175;

			SetStr( 767, 945 );
			SetDex( 66, 75 );
			SetInt( 46, 70 );

			SetHits( 476, 552 );

			SetDamage( 20, 25 );

			SetSkill( SkillName.MagicResist, 125.1, 140.0 );
			SetSkill( SkillName.Tactics, 90.1, 100.0 );
			SetSkill( SkillName.Wrestling, 90.1, 100.0 );

			Fame = 15000;
			Karma = -15000;

			VirtualArmor = 50;

			NorseHelm helm = new NorseHelm();
			helm.Hue = 1175;
			helm.Movable = false;
			AddItem( helm );

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

			PlateArms arms = new PlateArms();
			arms.Hue = 1175;
			arms.Movable = false;
			AddItem( arms );

			PlateLegs legs = new PlateLegs();
			legs.Hue = 1175;
			legs.Movable = false;
			AddItem( legs );

			Kilt kilt = new Kilt();
			kilt.Hue = 1158;
			kilt.Movable = false;
			AddItem( kilt );

			LongHair hair = new LongHair();
			hair.Hue = 1154;
			hair.Movable = false;
			hair.Layer = Layer.Hair;
			AddItem( hair );

			Halberd hands = new Halberd();
			hands.Hue = 1258;
			hands.Movable = false;
			AddItem( hands );

			if ( Utility.Random( 750 ) == 0 ) PackItem( new DemonSandals() );
			if ( Utility.Random( 750 ) == 0 ) PackItem( new DemonDoublet() );
			if ( Utility.Random( 750 ) == 0 ) PackItem( new DemonWizardsHat() );
			if ( Utility.Random( 750 ) == 0 ) PackItem( new DemonHalfApron() );
			if ( Utility.Random( 750 ) == 0 ) PackItem( new DemonSkirt() );
		}
Ejemplo n.º 11
0
		public BarbarianShaman() : base( AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			int hairHue = Utility.RandomHairHue();
			Hue = Utility.RandomSkinHue();

			Body = 0x190;
			Name = "Barbarian Shaman";
			AddItem( new LongHair( hairHue ) );
			AddItem( new ShortBeard( hairHue ) );
			Item temp;
			temp = new ThighBoots();
			temp.Hue = 0x01bb;
			temp.Movable = false;
			AddItem( temp );
			temp = new Kilt();
			temp.Hue = 0x01bb;
			temp.Movable = false;
			AddItem( temp );
			temp = new BodySash();
			temp.Hue = 0x01bb;
			temp.Movable = false;
			AddItem( temp );
			temp = new GnarledStaff();
			temp.Movable = false;
			AddItem( temp );

			SetStr( 100, 150 );
			SetDex( 81, 95 );
			SetInt( 20, 30 );
			SetHits( 150, 200 );
			SetStam( 81, 95 );
			SetMana( 100 );

			SetDamage( 20, 25 );
			SetSkill( SkillName.Magery, 60.0, 75.0 );
			SetSkill( SkillName.Parry, 75.0, 100.0 );
			SetSkill( SkillName.MagicResist, 40.0, 55.0 );
			SetSkill( SkillName.Macing, 100.0 );
			SetSkill( SkillName.Tactics, 80.0, 95.0 );
			SetSkill( SkillName.Wrestling, 80.0, 95.0 );

			Fame = Utility.RandomMinMax( 3500, 5000 );
			Karma = Utility.RandomMinMax( -4000, -6000 );

			VirtualArmor = 20;

            if (Utility.RandomDouble() <= 0.7)
            {
                Spellbook book = new Spellbook();
                book.Content = ulong.MaxValue;
                book.LootType = LootType.Regular;
                AddItem(book);
            }
		}
        public FamousPiratesThief()
            : base(AIType.AI_Thief, FightMode.Closest, 15, 1, 0.2, 0.6)
        {
            // A FamousPirates Hybrid Thief
            int Hue = 2075;

            // Skills and Stats
            this.InitStats(205, 205, 205);
            this.Skills[SkillName.Healing].Base = 150;
            this.Skills[SkillName.Anatomy].Base = 150;
            this.Skills[SkillName.Stealing].Base = 150;
            this.Skills[SkillName.ArmsLore].Base = 100;
            this.Skills[SkillName.Meditation].Base = 150;
            this.Skills[SkillName.Wrestling].Base = 150;

            // Name
            this.Name = "Cutler Beckettt";

            // Equip
            Spellbook book = FullSpellbook();
            AddItem(book);

            LeatherArms lea = new LeatherArms();
            lea.Movable = false;
            lea.LootType = LootType.Regular;
            lea.Crafter = this;
            lea.Quality = ArmorQuality.Exceptional;
            AddItem(lea);

            LeatherChest lec = new LeatherChest();
            lec.Movable = false;
            lec.LootType = LootType.Regular;
            lec.Crafter = this;
            lec.Quality = ArmorQuality.Exceptional;
            AddItem(lec);

            LeatherGorget leg = new LeatherGorget();
            leg.Movable = false;
            leg.LootType = LootType.Regular;
            leg.Crafter = this;
            leg.Quality = ArmorQuality.Exceptional;
            AddItem(leg);

            LeatherLegs lel = new LeatherLegs();
            lel.Movable = false;
            lel.LootType = LootType.Regular;
            lel.Crafter = this;
            lel.Quality = ArmorQuality.Exceptional;
            AddItem(lel);

            Boots snd = new Boots();
			snd.Movable = false;
            snd.Hue = Hue;
            snd.LootType = LootType.Regular;
            AddItem(snd);

            TricorneHat tch = new TricorneHat();
            tch.Movable = false;
            tch.Hue = Hue;
            AddItem(tch);

             Kilt Klt = new Kilt();
			 Klt.Movable = false;
             Klt.Hue = Hue;
            AddItem(Klt);

            Bandage band = new Bandage(50);
            AddToBackpack(band);

        }
Ejemplo n.º 13
0
		public BarbarianWarrior() : base( AIType.AI_SphereMelee, FightMode.Closest, 10, 3, 0.2, 0.4 )
		{
			Hue = Utility.RandomSkinHue();
			Female = Utility.RandomBool();

			Item temp;
			int hairHue = Utility.RandomHairHue();

			if( Female )
			{
				Body = 0x0191;
				Name = "Barbarian Warrioress";
				SetStr( 90, 110 );
				SetHits( 125, 150 );
				SetSkill( SkillName.Parry, 65.0, 90.0 );

				AddItem( new PonyTail( hairHue ) );
				AddItem( new BattleAxe() );
				AddItem( new FemaleLeatherChest() );
				AddItem( new LeatherLegs() );
			}
			else
			{
				Body = 0x0190;
				Name = "barbarian warrior";
				SetStr( 150, 200 );
				SetHits( 150, 200 );
				SetSkill( SkillName.Parry, 75.0, 100.0 );

				AddItem( new LongHair( hairHue ) );
				AddItem( new ShortBeard( hairHue ) );
				AddItem( new DoubleAxe() );
				AddItem( new LeatherChest() );

				temp = new Kilt();
				temp.Hue = 0x01bb;
				temp.Movable = false;
				AddItem( temp );
			}

			temp = new ThighBoots();
			temp.Hue = 0x01bb;
			temp.Movable = false;
			AddItem( temp );

			SetDex( 81, 95 );
			SetInt( 20, 30 );

			SetStam( 81, 95 );
			SetDamage( 20, 25 );

			SetSkill( SkillName.Tactics, 80.0, 95.0 );
			SetSkill( SkillName.MagicResist, 20.0, 35.0 );

			SetSkill( SkillName.Swords, 100.0 );
			SetSkill( SkillName.Wrestling, 80.0, 95.0 );
			VirtualArmor = 20;
			Fame = Utility.RandomMinMax( 3500, 5000 );
			Karma = Utility.RandomMinMax( -4000, -6000 );
		}
        public FamousPiratesNox()
            : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6)
        {
            // A FamousPirates Nox or Pure Mage
            int Hue = 2075;

            // Skills and Stats
            this.InitStats(210, 210, 250);
            this.Skills[SkillName.Magery].Base = 150;
            this.Skills[SkillName.EvalInt].Base = 150;
            this.Skills[SkillName.Inscribe].Base = 100;
            this.Skills[SkillName.Wrestling].Base = 150;
            this.Skills[SkillName.Meditation].Base = 150;
            this.Skills[SkillName.Poisoning].Base = 100;


            // Name
            this.Name = "Davy Jones";

            // Equip
            Spellbook book = FullSpellbook();
            AddItem(book);

            Kilt kilt = new Kilt();
			kilt.Movable = false;
            kilt.Hue = Hue;
            AddItem(kilt);

            Boots snd = new Boots();
			snd.Movable = false;
            snd.Hue = Hue;
            snd.LootType = LootType.Regular;
            AddItem(snd);

            SkullCap skc = new SkullCap();
			skc.Movable = false;
            skc.Hue = Hue;
            AddItem(skc);

            // Spells
            AddSpellAttack(typeof(Spells.First.MagicArrowSpell));
            AddSpellAttack(typeof(Spells.First.WeakenSpell));
            AddSpellAttack(typeof(Spells.Sixth.ExplosionSpell));
            AddSpellDefense(typeof(Spells.Third.WallOfStoneSpell));
            AddSpellDefense(typeof(Spells.Fourth.GreaterHealSpell));
        }
Ejemplo n.º 15
0
        public TownCrier()
        {
            m_Instances.Add( this );

            InitStats( 100, 100, 25 );

            Title = "the town crier";
            Hue = Utility.RandomSkinHue();

            if ( !Core.AOS )
                NameHue = 0x35;

            if ( this.Female = Utility.RandomBool() )
            {
                this.Body = 0x191;
                this.Name = NameList.RandomName( "female" );
            }
            else
            {
                this.Body = 0x190;
                this.Name = NameList.RandomName( "male" );
            }

            AddItem( new FancyShirt( Utility.RandomBlueHue() ) );

            Item skirt;

            switch ( Utility.Random( 2 ) )
            {
                case 0: skirt = new Skirt(); break;
                default: case 1: skirt = new Kilt(); break;
            }

            skirt.Hue = Utility.RandomGreenHue();

            AddItem( skirt );

            AddItem( new FeatheredHat( Utility.RandomGreenHue() ) );

            Item boots;

            switch ( Utility.Random( 2 ) )
            {
                case 0: boots = new Boots(); break;
                default: case 1: boots = new ThighBoots(); break;
            }

            AddItem( boots );

            Item hair = new Item( Utility.RandomList( 0x203B, 0x2049, 0x2048, 0x204A ) );

            hair.Hue = Utility.RandomNondyedHue();
            hair.Layer = Layer.Hair;
            hair.Movable = false;

            AddItem( hair );
        }
Ejemplo n.º 16
0
		public LordGuardian()
			: base(AIType.AI_Hybrid, FightMode.All | FightMode.Weakest, 10, 1, 0.15, 0.25) 
		{
			BardImmune = true;
			FightStyle = FightStyle.Melee | FightStyle.Magic | FightStyle.Smart | FightStyle.Bless | FightStyle.Curse;
			UsesHumanWeapons = false;
			UsesBandages = true;
			UsesPotions = true;
			CanRun = true;
			CanReveal = true; // magic and smart

			SpeechHue = Utility.RandomDyedHue();
			Name = "Lord Guardian";
            Female = false;
			Body = 0x190; 
			Hue = 0x83F4; 
			IOBAlignment = IOBAlignment.Council;
			ControlSlots = 6;

			PackItem(new Bandage(Utility.RandomMinMax(1, 15)));

			BloodDrenchedBandana bandana = new BloodDrenchedBandana();
			bandana.LootType = LootType.Newbied;
			AddItem( bandana );
			
			Kilt kilt = new Kilt( 0x1 ); //black kilt
			if ( Utility.RandomDouble() <= 0.93 )
				kilt.LootType = LootType.Newbied;
			AddItem( kilt );
			
			Sandals sandals = new Sandals( 0x66C );
			if ( Utility.RandomDouble() <= 0.93 )
				sandals.LootType = LootType.Newbied;
			AddItem( sandals );

			SilverRing ring = new SilverRing();
			ring.Name = "To my darling Adam";
			if ( Utility.RandomDouble() < 0.95 )
				ring.LootType = LootType.Newbied;
			AddItem( ring );

			ChainChest tunic = new ChainChest();
			tunic.Resource = CraftResource.Gold;
			AddItem( tunic );
			
			ChainLegs legs = new ChainLegs();
			legs.Resource = CraftResource.Gold;
			AddItem( legs );
			
			RingmailArms arms = new RingmailArms();
			arms.Resource = CraftResource.Gold;
			AddItem( arms );
			
			GuardianKatana sword = new GuardianKatana();
			sword.Quality = WeaponQuality.Exceptional;
			sword.LootType = LootType.Newbied;
			if ( Utility.RandomBool() )	
				sword.Poison = Poison.Deadly; 
			else 
				sword.Poison = Poison.Greater;
			sword.PoisonCharges = 30;
			AddItem( sword );

			PonyTail hair = new PonyTail();
			hair.Hue = 0x1BC;
			hair.Layer = Layer.Hair; 
			hair.Movable = false; 
			AddItem( hair ); 

			SetStr( 375, 400 );
			SetDex( 100, 125 );
			SetInt( 150, 175 );

			SetDamage( 8, 10 );

			SetSkill(SkillName.EvalInt, 100.0, 110.0);
			SetSkill(SkillName.Magery, 100.0, 110.0);
			SetSkill( SkillName.Swords, 100.0, 125.0 );
			SetSkill( SkillName.Tactics, 100.0, 125.0 );
			SetSkill( SkillName.Anatomy, 100.0, 125.0 );
			SetSkill( SkillName.Poisoning, 60.0, 82.5 );
			SetSkill( SkillName.MagicResist, 83.5, 92.5 );

			Fame = 5000;
			Karma = -5000;

			VirtualArmor = 40;
			
			m_NextSpeechTime = DateTime.Now;

			PackItem(new Bandage(Utility.RandomMinMax(VirtualArmor, VirtualArmor * 2)));
			PackStrongPotions(6, 12);
			PackItem(new Pouch());
		} 
Ejemplo n.º 17
0
        public override void InitOutfit()
        {
            AddItem(new FancyShirt(Utility.RandomBlueHue()));

            Item skirt;

            switch (Utility.Random(2))
            {
                case 0:
                    skirt = new Skirt();
                    break;
                default:
                case 1:
                    skirt = new Kilt();
                    break;
            }

            skirt.Hue = Utility.RandomGreenHue();

            AddItem(skirt);

            AddItem(new FeatheredHat(Utility.RandomGreenHue()));

            Item boots;

            switch (Utility.Random(2))
            {
                case 0:
                    boots = new Boots();
                    break;
                default:
                case 1:
                    boots = new ThighBoots();
                    break;
            }

            AddItem(boots);

            Item hair = new Item(Utility.RandomList(0x203B, 0x2049, 0x2048, 0x204A));

            hair.Hue = Utility.RandomNondyedHue();
            hair.Layer = Layer.Hair;
            hair.Movable = false;

            AddItem(hair);
        }
Ejemplo n.º 18
0
		public override void InitOutfit()
		{
			WipeLayers();
			AddArcane( new Robe() );
			AddArcane( new ThighBoots() );
			AddArcane( new LeatherGloves() );
			AddArcane( new Cloak() );

			// black kilt now drops from the spawner in Wrong only
			Kilt kilt = new Kilt( 0x1 ); 
			kilt.LootType = LootType.Newbied;
			AddItem( kilt );

			// black shirt now drops from the spawner in Wrong only
			Shirt shirt = new Shirt( 0x1 ); 
			shirt.LootType = LootType.Newbied;
			AddItem( shirt );
			
		}
Ejemplo n.º 19
0
		public ParoleOfficer() 
			//: base( AIType.AI_Mage, FightMode.Aggressor, 2, 1, 1, 2 )
			: base( AIType.AI_Mage, FightMode.Aggressor, 10, 5, 0.2, 0.4 ) 
		{
			SetStr( 81, 105 );
			SetDex( 191, 215 );
			SetInt( 126, 150 );
			SetHits( 450, 550 );
			
			Title = "the parole officer";

			SpeechHue = Utility.RandomDyedHue();

			Hue = Utility.RandomSkinHue();

			Female = true;
			Body = 0x191;
			Name = NameList.RandomName( "female" );

			FloppyHat hat = new FloppyHat(Utility.RandomNondyedHue());
			hat.Movable = false;
			AddItem(hat);

			Shirt shirt = new Shirt(Utility.RandomNondyedHue());
			shirt.Movable = false;
			AddItem(shirt);

			Kilt kilt = new Kilt(Utility.RandomNondyedHue());
			kilt.Movable = false;
			AddItem(kilt);

			Sandals sandals = new Sandals(Utility.RandomNondyedHue());
			sandals.Movable = false;
			AddItem(sandals);

			Item hair = new Item(0x203C);//long hair
			hair.Hue = Utility.RandomHairHue();
			hair.Layer = Layer.Hair;
			hair.Movable = false;

			AddItem( hair );

			QuarterStaff weapon = new QuarterStaff();
			weapon.Movable = false;
			AddItem( weapon );

			Container pack = new Backpack();

			pack.Movable = false;

			pack.DropItem( new Gold( 10, 25 ) );

			AddItem( pack );

			SetSkill( SkillName.DetectHidden, 100.0 );
			SetSkill( SkillName.EvalInt, 80.2, 100.0 );
			SetSkill( SkillName.Magery, 95.1, 100.0 );
			SetSkill( SkillName.Meditation, 100.0 );
			SetSkill( SkillName.MagicResist, 77.5, 100.0 );
			SetSkill( SkillName.Tactics, 95.0, 100.0 );
			SetSkill( SkillName.Anatomy, 95.0, 100.0 );
			SetSkill( SkillName.Macing, 100.0 );
			SetSkill( SkillName.Wrestling, 90.0, 100.0 );
		}
        public void SetClothes(int hue)
        {
            this.Hue = hue;
            LeatherGloves gloves = new LeatherGloves();
            gloves.Hue = hue;
            gloves.Movable = false;
            AddItem(gloves);

            FancyShirt fancyShirt = new FancyShirt();
            fancyShirt.Hue = hue;
            fancyShirt.Movable = false;
            AddItem(fancyShirt);

            BoneHelm helm = new BoneHelm();
            helm.Hue = hue;
            helm.Movable = false;
            AddItem(helm);

            BlackStaff blackStaff = new BlackStaff();
            blackStaff.Hue = hue;
            blackStaff.Movable = false;
            blackStaff.Attributes.SpellChanneling = 1;
            AddItem(blackStaff);

            Cloak cloak = new Cloak();
            cloak.Hue = hue;
            cloak.Movable = false;
            AddItem(cloak);

            Kilt kilt = new Kilt();
            kilt.Hue = hue;
            kilt.Movable = false;
            AddItem(kilt);

            Sandals sandals = new Sandals();
            sandals.Hue = hue;
            sandals.Movable = false;
            AddItem(sandals);
        }
Ejemplo n.º 21
0
		public TownCrier()
		{
			m_Instances.Add( this );

			InitStats( 100, 100, 25 );

			Title = "the town crier";
			Hue = Utility.RandomSkinHue();

			if ( !Core.AOS )
				NameHue = 0x35;

			if ( this.Female = Utility.RandomBool() )
			{
				this.Body = 0x191;
				this.Name = NameList.RandomName( "female" );
			}
			else
			{
				this.Body = 0x190;
				this.Name = NameList.RandomName( "male" );
			}

			AddItem( new FancyShirt( Utility.RandomBlueHue() ) );

			Item skirt;

			switch ( Utility.Random( 2 ) )
			{
				case 0: skirt = new Skirt(); break;
				default: case 1: skirt = new Kilt(); break;
			}

			skirt.Hue = Utility.RandomGreenHue();

			AddItem( skirt );

			AddItem( new FeatheredHat( Utility.RandomGreenHue() ) );

			Item boots;

			switch ( Utility.Random( 2 ) )
			{
				case 0: boots = new Boots(); break;
				default: case 1: boots = new ThighBoots(); break;
			}

			AddItem( boots );

			Utility.AssignRandomHair( this );
		}
Ejemplo n.º 22
0
		public override bool OnBeforeDeath()
		{
			BoneMagi rm = new BoneMagi();

			rm.Team = this.Team;
			rm.MoveToWorld( this.Location, this.Map );

			Effects.SendLocationEffect( Location,Map, 0x3709, 13, 0x3B2, 0 );

			Container bag = new Bag();

			switch ( Utility.Random( 9 ))
			{
				case 0: bag.DropItem( new Amber() ); break;
				case 1: bag.DropItem( new Amethyst() ); break;
				case 2: bag.DropItem( new Citrine() ); break;
				case 3: bag.DropItem( new Diamond() ); break;
				case 4: bag.DropItem( new Emerald() ); break;
				case 5: bag.DropItem( new Ruby() ); break;
				case 6: bag.DropItem( new Sapphire() ); break;
				case 7: bag.DropItem( new StarSapphire() ); break;
				case 8: bag.DropItem( new Tourmaline() ); break;
			}

			switch ( Utility.Random( 8 ))
			{
				case 0: bag.DropItem( new SpidersSilk( 3 ) ); break;
				case 1: bag.DropItem( new BlackPearl( 3 ) ); break;
				case 2: bag.DropItem( new Bloodmoss( 3 ) ); break;
				case 3: bag.DropItem( new Garlic( 3 ) ); break;
				case 4: bag.DropItem( new MandrakeRoot( 3 ) ); break;
				case 5: bag.DropItem( new Nightshade( 3 ) ); break;
				case 6: bag.DropItem( new SulfurousAsh( 3 ) ); break;
				case 7: bag.DropItem( new Ginseng( 3 ) ); break;
			}

			bag.DropItem( new Gold( 1000, 1500 ));
			rm.AddItem( bag );

			LeatherGloves gloves = new LeatherGloves();
			gloves.Hue = 32;
			AddItem( gloves );

			BoneHelm helm = new BoneHelm();
			helm.Hue = 0x3A8;
			helm.LootType = LootType.Blessed;
			AddItem( helm );

			Cloak cloak = new Cloak();
			cloak.Hue = 32;
			AddItem( cloak );

			Kilt kilt = new Kilt();
			kilt.Hue = 32;
			AddItem( kilt );

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

			this.Delete();

			return false;
		}