public Bard() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Name = NameList.RandomName( Female ? "female" : "male" ); Title = "the bard"; Hue = Utility.RandomSkinHue(); SetStr( 16, 30 ); SetDex( 26, 40 ); SetInt( 26, 40 ); Karma = Utility.RandomMinMax( 13, -45 ); SetSkill( SkillName.Tactics, 15, 37.5 ); SetSkill( SkillName.MagicResist, 15, 37.5 ); SetSkill( SkillName.Parry, 15, 37.5 ); SetSkill( SkillName.Swords, 15, 37.5 ); SetSkill( SkillName.Macing, 15, 37.5 ); SetSkill( SkillName.Fencing, 15, 37.5 ); SetSkill( SkillName.Wrestling, 15, 37.5 ); SetSkill( SkillName.Musicianship, 55, 77.5 ); SetSkill( SkillName.Provocation, 55, 77.5 ); SetSkill( SkillName.Discordance, 55, 77.5 ); SetSkill( SkillName.Peacemaking, 55, 77.5 ); Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new ShortPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Shoes(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); item = Loot.RandomInstrument(); PackItem( item ); PackGold( 15, 100 ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Shoes(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); item = Loot.RandomInstrument(); PackItem( item ); PackGold( 15, 100 ); } }
public override void InitOutfit() { Item item = null; int hairHue = Utility.RandomHairHue(); Utility.AssignRandomHair(this, hairHue); item = new Shirt(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); item = new Shoes(); AddItem(item); item.Hue = Utility.RandomNeutralHue(); PackGold(15, 100); if (!Female) { Utility.AssignRandomFacialHair(this, hairHue); item = new ShortPants(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); } else { item = new Skirt(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); } }
public override void InitOutfit() { if ( Female ) { Item item = null; item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); LootPack.Poor.Generate( this ); } else { Item item = null; item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new ShortPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); } }
public override void InitOutfit() { Item item = null; int hairHue = Utility.RandomHairHue(); Utility.AssignRandomHair(this, hairHue); item = new Shirt(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); if (Female) { item = new Skirt(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); } else { item = new ShortPants(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); } AddLoot(LootPack.Poor); }
public Sculpter() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Title = "the sculpter"; Name = NameList.RandomName( Female ? "female" : "male" ); Hue = Utility.RandomSkinHue(); SetStr( 16, 30 ); SetDex( 26, 40 ); SetInt( 21, 35 ); Karma = Utility.RandomMinMax( 13, -45 ); SetSkill( SkillName.Tactics, 15, 37.5 ); SetSkill( SkillName.MagicResist, 15, 37.5 ); SetSkill( SkillName.Parry, 15, 37.5 ); SetSkill( SkillName.Swords, 15, 37.5 ); SetSkill( SkillName.Macing, 15, 37.5 ); SetSkill( SkillName.Fencing, 15, 37.5 ); SetSkill( SkillName.Wrestling, 15, 37.5 ); SetSkill( SkillName.Anatomy, 25, 47.5 ); Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new ShortPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Shoes(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); item = new HalfApron(); item.Hue = 2301; AddItem( item ); PackGold( 15, 100 ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Shoes(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); item = new HalfApron(); item.Hue = 2301; AddItem( item ); PackGold( 15, 100 ); } }
public BaseShieldGuard( Mobile target ) : base(target) { Item item = null; Female = Utility.RandomBool(); Body = Female ? 401 : 400; SpeechHue = Utility.RandomDyedHue(); Name = NameList.RandomName(Female ? "female" : "male"); Hue = Utility.RandomSkinHue(); Title = "the guard"; BaseSoundID = 332; int hairHue = Utility.RandomHairHue(); Utility.AssignRandomHair(this, hairHue); item = new Shirt(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); item = new PlateChest(); AddItem(item); item = new PlateLegs(); AddItem(item); item = new PlateArms(); AddItem(item); item = new Tunic(); AddItem(item); if ( Type == GuildType.Order ) item.Hue = Utility.RandomBlueHue(); else item.Hue = Utility.RandomRedHue(); item = new VikingSword(); AddItem(item); item = Shield; item.Movable = false; AddItem(item); if (!Female) { Utility.AssignRandomFacialHair(this, hairHue); item = new ShortPants(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); } else { item = new Skirt(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); } }
public Ranger() : base(AIType.AI_Archer, FightMode.Agressor, 10, 1, 0.45, 0.8) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Name = NameList.RandomName( Female ? "female" : "male" ); Hue = Utility.RandomSkinHue(); SetStr( 71, 85 ); SetDex( 76, 90 ); SetInt( 61, 75 ); Karma = Utility.RandomMinMax( 13, -45 ); SetSkill( SkillName.Tactics, 65, 87.5 ); SetSkill( SkillName.MagicResist, 65, 87.5 ); SetSkill( SkillName.Parry, 65, 87.5 ); SetSkill( SkillName.Swords, 35, 57.5 ); SetSkill( SkillName.Macing, 35, 57.5 ); SetSkill( SkillName.Fencing, 35, 57.5 ); SetSkill( SkillName.Wrestling, 35, 57.5 ); SetSkill( SkillName.Archery, 55, 77.5 ); SetSkill( SkillName.Hiding, 45, 67.5 ); SetSkill( SkillName.Camping, 55, 77.5 ); SetSkill( SkillName.AnimalLore, 55, 77.5 ); SetSkill( SkillName.Herding, 45, 67.5 ); SetSkill( SkillName.Tracking, 45, 67.5 ); Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Shirt(); item.Hue = Utility.RandomGreenHue(); AddItem( item ); item = new ShortPants(); item.Hue = 443; AddItem( item ); PackGold( 15, 100 ); item = new Bow(); AddItem( item ); item = new Arrow( Utility.RandomMinMax( 5, 25 ) ); PackItem( item ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Shirt(); item.Hue = Utility.RandomGreenHue(); AddItem( item ); item = new Skirt(); item.Hue = 443; AddItem( item ); PackGold( 15, 100 ); item = new Bow(); AddItem( item ); item = new Arrow( Utility.RandomMinMax( 5, 25 ) ); PackItem( item ); } }
public Sculptor() : base(AIType.AI_Melee, FightMode.Aggressor, 12, 1, 0.5, 0.75) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; SpeechHue = Utility.RandomDyedHue(); Name = NameList.RandomName(Female ? "female" : "male"); Hue = Utility.RandomSkinHue(); SetStr(16, 30); SetDex(26, 40); SetInt(21, 35); Job = JobFragment.sculptor; Title = "the sculptor"; BaseSoundID = 332; SetSkill(SkillName.Wrestling, 15, 37.5); SetSkill(SkillName.Fencing, 15, 37.5); SetSkill(SkillName.Macing, 15, 37.5); SetSkill(SkillName.Swords, 15, 37.5); SetSkill(SkillName.Parry, 15, 37.5); SetSkill(SkillName.Tactics, 15, 37.5); SetSkill(SkillName.MagicResist, 15, 37.5); SetSkill(SkillName.Anatomy, 25, 47.5); Item item = null; int hairHue = Utility.RandomHairHue(); Utility.AssignRandomHair(this, hairHue); item = new Shirt(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); item = new Shoes(); AddItem(item); item.Hue = Utility.RandomNeutralHue(); item = new HalfApron(); AddItem(item); item.Hue = 2301; PackGold(15, 100); if (!Female) { Utility.AssignRandomFacialHair(this, hairHue); item = new ShortPants(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); } else { item = new Skirt(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); } }
public Beggar() { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Title = "the beggar"; Name = NameList.RandomName( Female ? "female" : "male" ); Hue = Utility.RandomSkinHue(); SetStr( 26, 40 ); SetDex( 21, 35 ); SetInt( 36, 50 ); Karma = Utility.RandomMinMax( 4, -5 ); SetSkill( SkillName.Tactics, 15, 37.5 ); SetSkill( SkillName.MagicResist, 15, 37.5 ); SetSkill( SkillName.Parry, 15, 37.5 ); SetSkill( SkillName.Swords, 15, 37.5 ); SetSkill( SkillName.Macing, 15, 37.5 ); SetSkill( SkillName.Fencing, 15, 37.5 ); SetSkill( SkillName.Wrestling, 15, 37.5 ); SetSkill( SkillName.Begging, 55, 77.5 ); SetSkill( SkillName.Snooping, 25, 47.5 ); SetSkill( SkillName.Stealing, 15, 37.5 ); Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new LongPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); if ( Utility.RandomBool() ) { item = new Sandals(); AddItem( item ); } LootPack.Poor.Generate( this ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); if ( Utility.RandomBool() ) { item = new Sandals(); AddItem( item ); } LootPack.Poor.Generate( this ); } }
public Miner() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Title = "the miner"; Name = NameList.RandomName( Female ? "female" : "male" ); Hue = Utility.RandomSkinHue(); SetStr( 66, 80 ); SetDex( 51, 65 ); SetInt( 41, 55 ); Karma = Utility.RandomMinMax( 13, -45 ); SetSkill( SkillName.Mining, 45, 67.5 ); SetSkill( SkillName.Tactics, 35, 57.5 ); SetSkill( SkillName.MagicResist, 35, 57.5 ); SetSkill( SkillName.Parry, 35, 57.5 ); SetSkill( SkillName.Swords, 15, 37.5 ); SetSkill( SkillName.Macing, 15, 37.5 ); SetSkill( SkillName.Fencing, 15, 37.5 ); SetSkill( SkillName.Wrestling, 15, 37.5 ); Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Shirt(); item.Hue = 946; AddItem( item ); item = new ShortPants(); item.Hue = Utility.RandomBlueHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots(); item.Hue = 443; AddItem( item ); item = new Pickaxe(); AddItem( item ); LootPack.Meager.Generate( this ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Shirt(); item.Hue = 946; AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomBlueHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots(); item.Hue = 443; AddItem( item ); item = new Pickaxe(); AddItem( item ); LootPack.Meager.Generate( this ); } }
public Mayor() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Title = "the mayor"; Name = NameList.RandomName( Female ? "female" : "male" ); Hue = Utility.RandomSkinHue(); SetStr( 36, 50 ); SetDex( 36, 50 ); SetInt( 51, 65 ); Karma = Utility.RandomMinMax( 53, -5 ); SetSkill( SkillName.Tactics, 25, 47.5 ); SetSkill( SkillName.MagicResist, 25, 47.5 ); SetSkill( SkillName.Parry, 25, 47.5 ); SetSkill( SkillName.Swords, 15, 37.5 ); SetSkill( SkillName.Macing, 15, 37.5 ); SetSkill( SkillName.Fencing, 15, 37.5 ); SetSkill( SkillName.Wrestling, 15, 37.5 ); Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new FancyShirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new LongPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots(); AddItem( item ); item = new BodySash(); item.Hue = Utility.RandomRedHue(); AddItem( item ); LootPack.Rich.Generate( this ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new FancyShirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots(); AddItem( item ); item = new BodySash(); item.Hue = Utility.RandomRedHue(); AddItem( item ); LootPack.Rich.Generate( this ); } }
public WindSummoner() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.15, 0.2 ) { Title = "the Wind Summoner"; Hue = Utility.RandomSkinHue(); Body = 0x190; Name = NameList.RandomName( "male" ); BaseSoundID = 0; Item hat = new WizardsHat(); hat.Movable = false; hat.Hue = 1154; EquipItem( hat ); Item shirt = new Shirt(); shirt.Movable = false; shirt.Hue = 1154; EquipItem( shirt ); Item skirt = new Skirt(); skirt.Movable = false; skirt.Hue = 1154; EquipItem( skirt ); Item Sandals = new Sandals(); Sandals.Movable = false; Sandals.Hue = 1154; EquipItem( Sandals ); SetStr( 110, 120 ); SetDex( 86, 95 ); SetInt( 161, 170 ); SetHits( 120, 130 ); SetDamage( 5, 13 ); SetSkill( SkillName.Wrestling, 70.3, 77.8 ); SetSkill( SkillName.Tactics, 80.5, 87.0 ); SetSkill( SkillName.MagicResist, 90.6, 92.8); SetSkill( SkillName.Magery, 94.7, 96.0 ); SetSkill( SkillName.EvalInt, 40.1, 44.1 ); SetSkill( SkillName.Meditation, 21.1, 30.1 ); Fame = 9000; Karma = -9000; VirtualArmor = 45; PackPotion(); PackItem( new Bandage( Utility.RandomMinMax( 5, 10 ) ) ); if ( 0.005 > Utility.RandomDouble() ) PackItem( new ObsidianStatue() ); }
public Actor() : base(AIType.AI_Melee, FightMode.Aggressor, 12, 1, 0.5, 0.75) { Job = JobFragment.actor; Female = Utility.RandomBool(); Body = Female ? 401 : 400; Name = NameList.RandomName( Female ? "female" : "male" ); Hue = Utility.RandomSkinHue(); SetStr( 21, 35 ); SetDex( 26, 40 ); SetInt( 26, 40 ); SetFameLevel( 1 ); BaseSoundID = 332; SetSkill( SkillName.Swords, 15, 37.5 ); SetSkill( SkillName.Fencing, 15, 37.5 ); SetSkill( SkillName.Macing, 15, 37.5 ); SetSkill( SkillName.Parry, 15, 37.5 ); SetSkill( SkillName.Tactics, 15, 37.5 ); SetSkill( SkillName.MagicResist, 15, 37.5 ); SetSkill( SkillName.Wrestling, 15, 37.5 ); Item item = null; int hairHue = Utility.RandomHairHue(); Utility.AssignRandomHair( this, hairHue ); item = new Shirt(); AddItem( item ); item.Hue = Utility.RandomNondyedHue(); item = Utility.RandomBool() ? (Item)new Shoes() : (Item)new Sandals(); AddItem( item ); item.Hue = Utility.RandomNeutralHue(); PackGold( 15, 100 ); if ( !Female ) { Utility.AssignRandomFacialHair( this, hairHue ); item = new ShortPants(); AddItem( item ); item.Hue = Utility.RandomNondyedHue(); Title = "the actor"; } else { item = new Skirt(); AddItem( item ); item.Hue = Utility.RandomNondyedHue(); Title = "the actress"; } }
public FakeWindcaller() : base( AIType.AI_Mage ) { Name = NameList.RandomName( "male" ); Title = "the WindCaller"; Body = 0x190; Hue = Utility.RandomSkinHue(); SetStr( 300 ); SetDex( 300 ); SetInt( 600 ); SetHits( 800 ); SetDamage( 15, 20 ); SetDamageType( ResistanceType.Physical, 100 ); SetResistance( ResistanceType.Physical, 20, 30 ); SetResistance( ResistanceType.Fire, 35, 45 ); SetResistance( ResistanceType.Cold, 30, 40 ); SetResistance( ResistanceType.Poison, 10, 20 ); SetResistance( ResistanceType.Energy, 35, 45 ); SetSkill( SkillName.Anatomy, 120.0 ); SetSkill( SkillName.EvalInt, 120.0 ); SetSkill( SkillName.Magery, 120.0 ); SetSkill( SkillName.Meditation, 120.0 ); SetSkill( SkillName.MagicResist, 200.0 ); SetSkill( SkillName.Tactics, 120.0 ); SetSkill( SkillName.Wrestling, 120.0 ); Fame = 100; Karma = 100; VirtualArmor = 30; Sandals foot = new Sandals(); foot.Hue = 1154; foot.LootType = LootType.Blessed; AddItem( foot ); WizardsHat top = new WizardsHat(); top.Hue = 1154; top.LootType = LootType.Blessed; AddItem( top ); Skirt bottom = new Skirt(); bottom.Hue = 1154; bottom.LootType = LootType.Blessed; AddItem ( bottom ); }
public Prisoner() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Title = "the peasant"; Name = NameList.RandomName( Female ? "female" : "male" ); Hue = Utility.RandomSkinHue(); SetStr( 11, 25 ); SetDex( 11, 25 ); SetInt( 31, 45 ); Karma = Utility.RandomMinMax( 13, -45 ); SetSkill( SkillName.Tactics, 15, 37.5 ); SetSkill( SkillName.MagicResist, 15, 37.5 ); SetSkill( SkillName.Parry, 15, 37.5 ); SetSkill( SkillName.Swords, 15, 37.5 ); SetSkill( SkillName.Macing, 15, 37.5 ); SetSkill( SkillName.Fencing, 15, 37.5 ); SetSkill( SkillName.Wrestling, 15, 37.5 ); Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new FancyShirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new LongPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Shoes(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); LootPack.Poor.Generate( this ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new FancyShirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Shoes(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); LootPack.Poor.Generate( this ); } }
public override void InitOutfit() { Item item = null; item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Shoes() : (Item)new Sandals(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); PackGold( 15, 100 ); }
public HolidayBaker () { Name = "Tilly"; Title = "Quest Giver"; Body = 401; Hue = 1002; CantWalk = true; Blessed = true; Item skirt; skirt = new Skirt(); skirt.Hue = 1368; AddItem( skirt ); Item shirt; shirt = new Shirt(); skirt.Hue = 1368; AddItem( shirt ); Item shoes; shoes = new Shoes(); shoes.Hue = 1368; AddItem( shoes ); Item JesterHat; JesterHat = new JesterHat(); JesterHat.Hue = 1368; AddItem(JesterHat); Item FullApron; FullApron = new FullApron(); FullApron .Hue = 1368; AddItem(FullApron); Item LongHair = new LongHair(8252); LongHair.Movable = false; LongHair.Hue = 1153; AddItem(LongHair); }
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 override void InitOutfit() { SetStr( 36, 50 ); SetDex( 31, 45 ); SetInt( 36, 50 ); Karma = Utility.RandomMinMax( -1, -10 ); BaseSoundID = 342; if ( Female ) { Title = "the bride"; Item item = null; item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); } else { Title = "the groom"; Item item = null; item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new ShortPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); } }
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 ); }
public override void InitOutfit() { Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new ShortPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new FullApron(); item.Hue = 2305; AddItem( item ); item = Loot.RandomWeapon(); AddItem( item ); PackGold( 15, 100 ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new FullApron(); item.Hue = 2305; AddItem( item ); item = Loot.RandomWeapon(); AddItem( item ); PackGold( 15, 100 ); } }
public Brigand() : base(AIType.AI_Melee, FightMode.Closest, 12, 1, 0.5, 0.75) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; SpeechHue = Utility.RandomDyedHue(); Name = NameList.RandomName(Female ? "female" : "male"); Hue = Utility.RandomSkinHue(); SetStr(66, 100); SetDex(81, 95); SetInt(61, 75); Job = JobFragment.brigand; Fame = 1000; Karma = -1000; BardLevel = 55; BaseSoundID = 332; SetSkill(SkillName.Hiding, 45, 67.5); SetSkill(SkillName.Anatomy, 55, 65.1); SetSkill(SkillName.Wrestling, 50, 75); SetSkill(SkillName.Fencing, 50, 75 ); SetSkill(SkillName.Macing, 50, 75 ); SetSkill(SkillName.Swords, 50, 75 ); SetSkill(SkillName.Camping, 45, 67.5); SetSkill(SkillName.Stealing, 45, 67.5); SetSkill(SkillName.Snooping, 35, 57.5); SetSkill(SkillName.Poisoning, 35, 57.5); SetSkill(SkillName.Parry, 55, 77.5); SetSkill(SkillName.Tactics, 55, 77.5); SetSkill(SkillName.MagicResist, 55, 77.5); SetSkill(SkillName.Lockpicking, 35, 57.5); int hairHue = Utility.RandomHairHue(); Utility.AssignRandomHair(this, hairHue); Item item = new Shirt(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); switch (Utility.Random(4)) { case 0: item = new Boots(); break; case 1: item = new ThighBoots(); break; case 2: item = new Shoes(); break; case 3: default: item = new Sandals(); break; } AddItem(item); if (!Female) { Utility.AssignRandomFacialHair(this, hairHue); item = new LongPants(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); } else { item = new Skirt(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); } item = Loot.RandomWeapon(); EquipItem(item); }
public override void InitOutfit() { Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new ShortPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots(); AddItem( item ); item = new HalfApron(); AddItem( item ); PackGold( 15, 100 ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots(); AddItem( item ); item = new HalfApron(); AddItem( item ); PackGold( 15, 100 ); } }
/*public virtual void InitOutfit() { switch ( Utility.Random( 3 ) ) { case 0: AddItem( new FancyShirt( GetRandomHue() ) ); break; case 1: AddItem( new Doublet( GetRandomHue() ) ); break; case 2: AddItem( new Shirt( GetRandomHue() ) ); break; } switch ( ShoeType ) { case VendorShoeType.Shoes: AddItem( new Shoes( GetShoeHue() ) ); break; case VendorShoeType.Boots: AddItem( new Boots( GetShoeHue() ) ); break; case VendorShoeType.Sandals: AddItem( new Sandals( GetShoeHue() ) ); break; case VendorShoeType.ThighBoots: AddItem( new ThighBoots( GetShoeHue() ) ); break; } int hairHue = GetHairHue(); Utility.AssignRandomHair( this, hairHue ); Utility.AssignRandomFacialHair( this, hairHue ); if ( Female ) { switch ( Utility.Random( 6 ) ) { case 0: AddItem( new ShortPants( GetRandomHue() ) ); break; case 1: case 2: AddItem( new Kilt( GetRandomHue() ) ); break; case 3: case 4: case 5: AddItem( new Skirt( GetRandomHue() ) ); break; } } else { switch ( Utility.Random( 2 ) ) { case 0: AddItem( new LongPants( GetRandomHue() ) ); break; case 1: AddItem( new ShortPants( GetRandomHue() ) ); break; } } PackGold( 100, 200 ); }*/ public virtual void InitOutfit() { Item item = null; switch (ShoeType) { default: case VendorShoeType.Shoes: AddItem(new Shoes(GetShoeHue())); break; case VendorShoeType.Boots: AddItem(new Boots(GetShoeHue())); break; case VendorShoeType.Sandals: AddItem(new Sandals(GetShoeHue())); break; case VendorShoeType.ThighBoots: AddItem(new ThighBoots(GetShoeHue())); break; } int hairHue = GetHairHue(); Utility.AssignRandomHair(this, hairHue); item = new Shirt(); AddItem( item ); item.Hue = Utility.RandomNondyedHue(); if (!Female) { Utility.AssignRandomFacialHair(this, hairHue); item = new ShortPants(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); } else { item = new Skirt(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); } PackGold( 15, 100 ); }
public Commoner5() : base(AIType.AI_Melee, FightMode.None, 10, 1, 0.8, 3.0) { SetStr( 10, 30 ); SetDex( 10, 30 ); SetInt( 10, 30 ); Fame = 50; Karma = 50; SetSkill( SkillName.Fishing, 60.0, 70.0 ); SetSkill( SkillName.Cooking, 60.0, 70.0 ); SpeechHue = Utility.RandomDyedHue(); Title = string.Empty;//Commoner5.Titles[Utility.Random( 0, Titles.Length )]; Hue = Utility.RandomSkinHue(); if ( this.Female = Utility.RandomBool() ) { this.Body = 0x191; this.Name = NameList.RandomName( "female" ); Item hair = new Item( Utility.RandomList( 0x203B, 0x203C, 0x203D, 0x2045, 0x204A, 0x2046 , 0x2049 ) ); hair.Hue = Utility.RandomHairHue(); hair.Layer = Layer.Hair; hair.Movable = false; AddItem( hair ); Item hat = null; switch ( Utility.Random( 5 ) )//4 hats, one empty, for no hat { case 0: hat = new FloppyHat( Utility.RandomNeutralHue() ); break; case 1: hat = new FeatheredHat( Utility.RandomNeutralHue() ); break; case 2: hat = new Bonnet(); break; case 3: hat = new Cap( Utility.RandomNeutralHue() ); break; } AddItem( hat ); Item pants = null; switch ( Utility.Random( 3 ) ) { case 0: pants = new ShortPants( GetRandomHue() ); break; case 1: pants = new LongPants( GetRandomHue() ); break; case 2: pants = new Skirt( GetRandomHue() ); break; } AddItem( pants ); Item shirt = null; switch ( Utility.Random( 7 ) ) { case 0: shirt = new Doublet( GetRandomHue() ); break; case 1: shirt = new Surcoat( GetRandomHue() ); break; case 2: shirt = new Tunic( GetRandomHue() ); break; case 3: shirt = new FancyDress( GetRandomHue() ); break; case 4: shirt = new PlainDress( GetRandomHue() ); break; case 5: shirt = new FancyShirt( GetRandomHue() ); break; case 6: shirt = new Shirt( GetRandomHue() ); break; } AddItem( shirt ); } else { this.Body = 0x190; this.Name = NameList.RandomName( "male" ); Item hair = new Item( Utility.RandomList( 0x203B, 0x203C, 0x203D, 0x2044, 0x2045, 0x2047, 0x2048 ) ); hair.Hue = Utility.RandomHairHue(); hair.Layer = Layer.Hair; hair.Movable = false; AddItem( hair ); Item beard = new Item( Utility.RandomList( 0x0000, 0x203E, 0x203F, 0x2040, 0x2041, 0x2067, 0x2068, 0x2069 ) ); beard.Hue = hair.Hue; beard.Layer = Layer.FacialHair; beard.Movable = false; AddItem( beard ); Item hat = null; switch ( Utility.Random( 7 ) ) //6 hats, one empty, for no hat { case 0: hat = new SkullCap( GetRandomHue() ); break; case 1: hat = new Bandana( GetRandomHue() ); break; case 2: hat = new WideBrimHat(); break; case 3: hat = new TallStrawHat( Utility.RandomNeutralHue() ); break; case 4: hat = new StrawHat( Utility.RandomNeutralHue() ); break; case 5: hat = new TricorneHat( Utility.RandomNeutralHue() ); break; } AddItem( hat ); Item pants = null; switch ( Utility.Random( 2 ) ) { case 0: pants = new ShortPants( GetRandomHue() ); break; case 1: pants = new LongPants( GetRandomHue() ); break; } AddItem( pants ); Item shirt = null; switch ( Utility.Random( 5 ) ) { case 0: shirt = new Doublet( GetRandomHue() ); break; case 1: shirt = new Surcoat( GetRandomHue() ); break; case 2: shirt = new Tunic( GetRandomHue() ); break; case 3: shirt = new FancyShirt( GetRandomHue() ); break; case 4: shirt = new Shirt( GetRandomHue() ); break; } AddItem( shirt ); } Item feet = null; switch ( Utility.Random( 3 ) ) { case 0: feet = new Boots( Utility.RandomNeutralHue() ); break; case 1: feet = new Shoes( Utility.RandomNeutralHue() ); break; case 2: feet = new Sandals( Utility.RandomNeutralHue() ); break; } AddItem( feet ); Container pack = new Backpack(); pack.DropItem( new Gold( 0, 50 ) ); pack.Movable = false; AddItem( pack ); }
public override void InitOutfit() { Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new FancyShirt(); item.Hue = Utility.RandomOrangeHue(); AddItem( item ); item = new LongPants(); item.Hue = 2305; AddItem( item ); item = new Shoes(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); PackGold( 15, 100 ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new FancyShirt(); item.Hue = Utility.RandomOrangeHue(); AddItem( item ); item = new Skirt(); item.Hue = 2305; AddItem( item ); item = new Shoes(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); PackGold( 15, 100 ); } }
public override void InitOutfit() { Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new FancyShirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new LongPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Shoes() : (Item)new Sandals(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); LootPack.Rich.Generate( this ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new FancyShirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Shoes() : (Item)new Sandals(); AddItem( item ); LootPack.Rich.Generate( this ); } }
public override void InitOutfit() { Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new LongPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new StrawHat(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots(); AddItem( item ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new StrawHat(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots(); AddItem( item ); } }
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 ); }
public BaseShieldGuard() : base(AIType.AI_Melee, FightMode.Agressor, 14, 1, 0.8, 1.6) { Job = JobFragment.guard; Female = Utility.RandomBool(); Body = Female ? 401 : 400; Name = NameList.RandomName( Female ? "female" : "male" ); Hue = Utility.RandomSkinHue(); SetStr( 9000 ); SetDex( 9000 ); SetInt( 9000 ); Karma = 100; SetSkill( SkillName.Tactics, 90.1, 100 ); SetSkill( SkillName.MagicResist, 90.1, 100 ); SetSkill( SkillName.Parry, 90.1, 100 ); SetSkill( SkillName.Swords, 90.1, 100 ); SetSkill( SkillName.Macing, 90.1, 100 ); SetSkill( SkillName.Fencing, 90.1, 100 ); SetSkill( SkillName.Wrestling, 90.1, 100 ); SetSkill( SkillName.DetectHidden, 90.1, 100 ); SetSkill( SkillName.Forensics, 90.1, 100 ); Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new ShortPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new PlateChest(); AddItem( item ); item = new PlateLegs(); AddItem( item ); item = new PlateArms(); AddItem( item ); item = new Tunic(); item.Hue = Utility.RandomRedHue(); AddItem( item ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new PlateChest(); AddItem( item ); item = new PlateLegs(); AddItem( item ); item = new PlateArms(); AddItem( item ); item = new Tunic(); item.Hue = Utility.RandomRedHue(); AddItem( item ); } VikingSword weapon = new VikingSword(); weapon.Movable = false; AddItem( weapon ); BaseShield shield = Shield; shield.Movable = false; AddItem( shield ); PackGold( 15, 100 ); }