public BushidoMaster1() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { SetSkill(SkillName.Macing, 50.0, 55.0); Name = "Cedric"; Title = ", Le Combattant"; Direction = Direction.South; Body = 400; Hue = 33825; Blessed = true; InitStats(100, 100, 25); SpeechHue = 802; EmoteHue = 802; Backpack bp = new Backpack(); bp.Movable = false; AddItem(bp); AddItem(new Robe(2224)); AddItem(new QuarterStaff()); AddItem(new RingmailGloves()); AddItem(new RingmailChest()); AddItem(new RingmailLegs()); Boots b = new Boots(); b.Hue = 1527; AddItem(b); this.HairItemID = 8253; this.HairHue = 1129; QuestPlayer = null; }
public Ciiss() { Name = "Ciiss"; Title = "the Snake Worshipper"; Body = 401; CantWalk = true; Hue = 2006; Item Boots = new Boots(); Boots.Movable=false; Boots.Hue=1175; EquipItem( Boots ); Item HoodedShroudOfShadows = new HoodedShroudOfShadows(); HoodedShroudOfShadows.Movable=false; HoodedShroudOfShadows.Hue=1175; EquipItem( HoodedShroudOfShadows ); Item LeatherGloves = new LeatherGloves(); LeatherGloves.Movable=false; LeatherGloves.Hue=1175; EquipItem( LeatherGloves ); int hairHue = 1741; AddItem( new LongHair( hairHue ) ); Blessed = true; }
public UncleJohn() { Name = "Uncle John"; Title = "the farming fool"; Body = 0x190; Hue = Utility.RandomSkinHue(); Boots b = new Boots(); b.Hue = 1; AddItem( b ); LongPants lp = new LongPants(); lp.Hue = 292; AddItem( lp ); FancyShirt fs = new FancyShirt(); fs.Hue = 1153; AddItem( fs ); Pitchfork pf = new Pitchfork(); AddItem( pf ); AddItem( new LongHair(1337)); }
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 Boots(); item.Hue = Utility.RandomNeutralHue(); 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 Boots(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); PackGold( 15, 100 ); } }
public BushidoMaster2() : base(AIType.AI_None, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "Lee"; Title = ", Le Combattant"; Direction = Direction.South; Body = 400; Hue = 33825; Blessed = true; InitStats(25, 25, 25); SetHits(5); SpeechHue = 802; EmoteHue = 802; Backpack bp = new Backpack(); bp.Movable = false; AddItem(bp); AddItem(new LeatherDo()); AddItem(new LeatherHaidate()); AddItem(new LeatherHiroSode()); AddItem(new LeatherJingasa()); Boots b = new Boots(); b.Hue = 1527; AddItem(b); this.HairItemID = 8253; this.HairHue = 1129; QuestPlayer = null; }
public SlimTheFence() : base(AIType.AI_Vendor, FightMode.None, 10, 1, .4, .2) { Body = 0x190; SpeechHue = 0x3B2; Blessed = true; Name = "Slim"; Title = "the Fence"; HairItemID = 8264; FacialHairItemID = 8269; HairHue = 1932; FacialHairHue = 1932; Hue = Race.RandomSkinHue(); SetStr(150); SetInt(50); SetDex(150); EquipItem(new JinBaori(1932)); EquipItem(new FancyShirt(1932)); EquipItem(new LongPants(1)); var boots = new Boots(); boots.Hue = 1; EquipItem(boots); CantWalk = true; }
public MortysTheMaster() : base(AIType.AI_None, FightMode.None, 10, 1, 0.2, 0.4) { Name = "Mortys"; Title = "Le Maitre"; Direction = Direction.South; Body = 400; Hue = 33797; Blessed = true; InitStats(75, 75, 75); SpeechHue = 33; EmoteHue = 33; Backpack bp = new Backpack(); bp.Movable = false; AddItem(bp); AddItem(new RobeACapuche(1109)); Lantern l = new Lantern(); l.Hue = 1109; AddItem(l); l.Ignite(); Boots b = new Boots(); b.Hue = 1109; AddItem(b); }
public FreddyKruger() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "Freddy Kruger"; Body = 185; Hue = 2949; SetStr( 481, 705 ); SetDex( 291, 315 ); SetInt( 226, 350 ); SetHits(12000, 14000 ); SetDamage( 25, 40 ); SetDamageType( ResistanceType.Physical, 100 ); SetResistance( ResistanceType.Physical, 35, 40 ); SetResistance( ResistanceType.Fire, 30, 40 ); SetResistance( ResistanceType.Cold, 30, 40 ); SetResistance( ResistanceType.Poison, 30, 40 ); SetResistance( ResistanceType.Energy, 30, 40 ); SetSkill( SkillName.EvalInt, 80.2, 100.0 ); SetSkill( SkillName.Magery, 95.1, 100.0 ); SetSkill( SkillName.Meditation, 27.5, 50.0 ); SetSkill( SkillName.MagicResist, 77.5, 100.0 ); SetSkill( SkillName.Tactics, 65.0, 87.5 ); SetSkill( SkillName.Wrestling, 20.3, 80.0 ); Fame = 0; Karma = -10500; VirtualArmor = 90; LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 1175; gloves.Movable = false; AddItem( gloves ); LongPants legs = new LongPants(); legs.Hue = 1175; legs.Movable = false; AddItem( legs ); FingersOfFreddy weapon = new FingersOfFreddy(); weapon.Movable = false; AddItem( weapon ); Boots boots = new Boots(); boots.Hue = 1175; boots.Movable = false; AddItem( boots ); }
public FamousPiratesMace() : base(AIType.AI_Melee, FightMode.Closest, 15, 1, 0.9, 0.9) { int Hue = 2075; // Skills and Stats this.InitStats(350, 350, 310); this.Skills[SkillName.Macing].Base = 150; this.Skills[SkillName.Anatomy].Base = 150; this.Skills[SkillName.Healing].Base = 150; this.Skills[SkillName.Tactics].Base = 150; // Name this.Name = "Captain Hector Barbossa"; // Equip WarHammer war = new WarHammer(); war.Movable = true; war.Crafter = this; war.Quality = WeaponQuality.Exceptional; AddItem(war); Boots bts = new Boots(); bts.Movable = false; bts.Hue = Hue; AddItem(bts); ChainChest cht = new ChainChest(); cht.Movable = false; cht.LootType = LootType.Regular; cht.Crafter = this; cht.Quality = ArmorQuality.Exceptional; AddItem(cht); ChainLegs chl = new ChainLegs(); chl.Movable = false; chl.LootType = LootType.Regular; chl.Crafter = this; chl.Quality = ArmorQuality.Exceptional; AddItem(chl); PlateArms pla = new PlateArms(); pla.Movable = false; pla.LootType = LootType.Regular; pla.Crafter = this; pla.Quality = ArmorQuality.Exceptional; AddItem(pla); TricorneHat tch = new TricorneHat(); tch.Movable = false; tch.Hue = Hue; AddItem(tch); Bandage band = new Bandage(20); AddToBackpack(band); }
public Jailor() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Title = "the jailor"; Name = NameList.RandomName( Female ? "female" : "male" ); Hue = Utility.RandomSkinHue(); SetStr( 96, 110 ); SetDex( 96, 110 ); SetInt( 71, 85 ); Karma = Utility.RandomMinMax( 13, -45 ); SetSkill( SkillName.Tactics, 75, 97.5 ); SetSkill( SkillName.MagicResist, 75, 97.5 ); SetSkill( SkillName.Parry, 75, 97.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 ChainChest(); AddItem( item ); item = new ChainLegs(); AddItem( item ); item = new BronzeShield(); AddItem( item ); item = new Boots(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); item = new VikingSword(); AddItem( item ); PackGold( 15, 100 ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new ChainChest(); AddItem( item ); item = new ChainLegs(); AddItem( item ); item = new BronzeShield(); AddItem( item ); item = new Boots(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); item = new VikingSword(); AddItem( item ); PackGold( 15, 100 ); } }
public father():base(AIType.AI_Melee, FightMode.None, 20, 1, 1.5, 3.0) { Name = "Gary"; Body = 400; SpeechHue = 9; CantWalk = true; Hue = 46; Blessed = true; SetStr( 1025, 1250 ); SetDex( 120, 125 ); SetInt( 1800, 1935 ); SetHits( 5000, 5550 ); SetSkill( SkillName.MagicResist, 205.0, 220.0 ); SetSkill( SkillName.Focus, 216.0, 230.0); SetSkill( SkillName.Magery, 219.0, 225.0 ); SetSkill( SkillName.Meditation, 212.0, 215.0 ); VirtualArmor = 44; Container pack = new Backpack(); pack.Movable = false; AddItem( pack ); Item Boots = new Boots(); Boots.Hue = 351; Boots.Name = "Work Boots"; Boots.Movable = false; AddItem( Boots ); Item LongPants = new LongPants(); LongPants.Hue = 1282; LongPants.Name = "Wrangler Jeans"; LongPants.Movable = false; AddItem( LongPants ); Item FancyShirt = new FancyShirt(); FancyShirt.Hue = 1321; FancyShirt.Name = "Flannel Button-Up Shirt"; FancyShirt.Movable = false; AddItem( FancyShirt ); Item hair = new Item( 0x203B ); hair.Hue = 1836; hair.Layer = Layer.Hair; hair.Movable = false; AddItem( hair ); Item ring = new GoldRing(); ring.Name = "Wedding Ring"; ring.Movable = false; AddItem( ring ); }
public ArmyBaseMace(int Team) : base(Team, AIType.AI_Melee, FightMode.Closest, 15, 1, 0.2, 0.6) { // An ArmyBase Hammerman int iHue = 20 + Team * 40; int jHue = 25 + Team * 40; // Skills and Stats this.InitStats((90 + Utility.Random(35)), (90 + Utility.Random(35)), (75 + Utility.Random(15))); this.Skills[SkillName.Macing].Base = (90 + Utility.Random(30)); this.Skills[SkillName.Anatomy].Base = (90 + Utility.Random(30)); this.Skills[SkillName.Healing].Base = (90 + Utility.Random(30)); this.Skills[SkillName.Tactics].Base = (90 + Utility.Random(30)); // Name this.Name = "Hammerman"; // Equip WarHammer war = new WarHammer(); war.Movable = true; war.Crafter = this; war.Quality = WeaponQuality.Regular; AddItem( war ); Boots bts = new Boots(); bts.Hue = iHue; AddItem( bts ); ChainChest cht = new ChainChest(); cht.Movable = false; cht.LootType = LootType.Newbied; cht.Crafter = this; cht.Quality = ArmorQuality.Regular; AddItem( cht ); ChainLegs chl = new ChainLegs(); chl.Movable = false; chl.LootType = LootType.Newbied; chl.Crafter = this; chl.Quality = ArmorQuality.Regular; AddItem( chl ); PlateArms pla = new PlateArms(); pla.Movable = false; pla.LootType = LootType.Newbied; pla.Crafter = this; pla.Quality = ArmorQuality.Regular; AddItem( pla ); Bandage band = new Bandage( 50 ); AddToBackpack( band ); }
public Santa () { Name = "SantaClaus"; Title = "Quest Giver"; Body = 400; Hue = 1002; CantWalk = true; Blessed = true; Item longpants; longpants = new LongPants(); longpants.Hue = 1109; AddItem( longpants ); Item tunic; tunic = new Tunic(); tunic.Hue = 33; AddItem( tunic ); Item leatherninjabelt; leatherninjabelt = new LeatherNinjaBelt(); leatherninjabelt.Hue = 1109; AddItem(leatherninjabelt); FacialHairItemID = 0x204C; FacialHairHue = 1153; Item JesterHat; JesterHat = new JesterHat(); JesterHat.Hue = 33; AddItem(JesterHat); HairItemID = 0x203C; HairHue = 1153; Item boots; boots = new Boots(); boots.Hue = 1109; AddItem( boots ); }
public DummyMace() : base(AIType.AI_Melee, FightMode.All | FightMode.Closest, 15, 1, 0.2, 0.6) { // A Dummy Macer int iHue = 20 + Team * 40; int jHue = 25 + Team * 40; // Skills and Stats this.InitStats( 125, 125, 90 ); this.Skills[SkillName.Macing].Base = 120; this.Skills[SkillName.Anatomy].Base = 120; this.Skills[SkillName.Healing].Base = 120; this.Skills[SkillName.Tactics].Base = 120; // Name this.Name = "Macer"; // Equip WarHammer war = new WarHammer(); war.Movable = true; war.Crafter = this; war.Quality = WeaponQuality.Regular; AddItem( war ); Boots bts = new Boots(); bts.Hue = iHue; AddItem( bts ); ChainChest cht = new ChainChest(); cht.Movable = false; cht.LootType = LootType.Newbied; cht.Crafter = this; cht.Quality = ArmorQuality.Regular; AddItem( cht ); ChainLegs chl = new ChainLegs(); chl.Movable = false; chl.LootType = LootType.Newbied; chl.Crafter = this; chl.Quality = ArmorQuality.Regular; AddItem( chl ); PlateArms pla = new PlateArms(); pla.Movable = false; pla.LootType = LootType.Newbied; pla.Crafter = this; pla.Quality = ArmorQuality.Regular; AddItem( pla ); Bandage band = new Bandage( 50 ); AddToBackpack( band ); }
public LordSanta() { Name = "Lord Santa"; Title = "the Ruler of the green dudes"; Body = 0x190; CantWalk = true; Hue = Utility.RandomSkinHue(); Item Boots = new Boots(); Boots.Hue = 33; Boots.Name = "Santa Boots"; Boots.Movable = false; AddItem( Boots ); Item Doublet = new Doublet(); Doublet.Hue = 33; Doublet.Name = "Santa's Doublet"; Doublet.Movable = false; AddItem( Doublet ); Item FancyShirt = new FancyShirt(); FancyShirt.Hue = 33; FancyShirt.Name = "Santa's Shirt"; FancyShirt.Movable = false; AddItem( FancyShirt ); Item LongPants = new LongPants(); LongPants.Hue = 33; LongPants.Name = "Santa's Pants"; LongPants.Movable = false; AddItem( LongPants ); Item WizardsHat = new WizardsHat(); WizardsHat.Hue = 33; WizardsHat.Name = "Santa's Hat"; WizardsHat.Movable = false; AddItem( WizardsHat ); int hairHue = 1153; switch ( Utility.Random( 1 ) ) { case 0: AddItem( new LongHair( hairHue ) ); break; case 1: AddItem( new LongBeard( hairHue ) ); break; } Blessed = true; }
public FarmerJones() { Name = "Jones"; Title = "the Farmer"; Body = 0x190; CantWalk = true; Hue = Utility.RandomSkinHue(); Item Boots = new Boots(); Boots.Hue = 2829; Boots.Name = "Non-Leather Boots"; Boots.Movable = false; AddItem( Boots ); Item FancyShirt = new FancyShirt(); FancyShirt.Hue = 2829; FancyShirt.Name = "Shirt"; FancyShirt.Movable = false; AddItem( FancyShirt ); Item LongPants = new LongPants(); LongPants.Hue = 847; LongPants.Name = "Pants"; LongPants.Movable = false; AddItem( LongPants ); Item Pitchfork = new Pitchfork(); //Cloak.Hue = 1267; Pitchfork.Name = "Farm Tool"; Pitchfork.Movable = false; AddItem( Pitchfork ); int hairHue = 1814; switch ( Utility.Random( 1 ) ) { case 0: AddItem( new PonyTail( hairHue ) ); break; case 1: AddItem( new Goatee( hairHue ) ); break; } Blessed = true; }
public Pilock() { Name = "Pilock"; Title = "the farmer"; Body = 0x190; CantWalk = true; Hue = Utility.RandomSkinHue(); Item Boots = new Boots(); Boots.Hue = 2112; Boots.Name = "Farming Boots"; Boots.Movable = false; AddItem( Boots ); Item FancyShirt = new FancyShirt(); FancyShirt.Hue = 1267; FancyShirt.Name = "Farming Shirt"; FancyShirt.Movable = false; AddItem( FancyShirt ); Item LongPants = new LongPants(); LongPants.Hue = 847; LongPants.Name = "Farming Pants"; LongPants.Movable = false; AddItem( LongPants ); Item Cloak = new Cloak(); Cloak.Hue = 1267; Cloak.Name = "Farming Cloak"; Cloak.Movable = false; AddItem( Cloak ); int hairHue = 1814; switch ( Utility.Random( 1 ) ) { case 0: AddItem( new PonyTail( hairHue ) ); break; case 1: AddItem( new Goatee( hairHue ) ); break; } Blessed = true; }
public Barthus() { Name = "Barthus"; Title = "the Shipmate"; Body = 0x190; Hue = Utility.RandomSkinHue(); Blessed = true; CantWalk = true; Direction = Direction.South; Boots bt = new Boots(); bt.Hue = 0; AddItem( bt ); LongPants lp = new LongPants(); lp.Hue = 0; AddItem( lp ); FancyShirt fs = new FancyShirt(); fs.Hue = 0; AddItem( fs ); TricorneHat th = new TricorneHat(); th.Hue = 0; AddItem( th ); Scimitar sc = new Scimitar(); AddItem( sc ); GoldBeadNecklace gn = new GoldBeadNecklace(); AddItem( gn ); GoldBracelet gb = new GoldBracelet(); AddItem( gb ); GoldEarrings ge = new GoldEarrings(); AddItem( ge ); GoldRing gr = new GoldRing(); AddItem( gr ); AddItem( new PonyTail(1149)); AddItem( new Vandyke(1149)); }
public static Item GetRandomFeet() { 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; } return feet; }
public MonsterContractDealer() { Name = "Rio"; Title = "The Contract Dealer"; Body = 0x190; CantWalk = true; Hue = Utility.RandomSkinHue(); AddItem( ItemSet( new Cloak() ) ); AddItem( ItemSet( new Robe() ) ); AddItem( ItemSet1( new ShepherdsCrook() ) ); Item Boots = new Boots(); Boots.Hue = 2112; Boots.Name = "Non-Leather Boots"; Boots.Movable = false; AddItem( Boots ); Item FancyShirt = new FancyShirt(); FancyShirt.Hue = 1267; FancyShirt.Name = "Shirt"; FancyShirt.Movable = false; AddItem( FancyShirt ); Item LongPants = new LongPants(); LongPants.Hue = 847; LongPants.Name = "Pants"; LongPants.Movable = false; AddItem( LongPants ); int hairHue = 1814; switch ( Utility.Random( 1 ) ) { case 0: AddItem( new PonyTail( hairHue ) ); break; case 1: AddItem( new Goatee( hairHue ) ); break; } Blessed = true; }
public GrandpaTam() { Name = "Grandpa Tam"; Title = "the old coot"; Body = 0x190; Hue = Utility.RandomSkinHue(); Blessed = true; Boots b = new Boots(); b.Hue = 1; AddItem( b ); LongPants lp = new LongPants(); lp.Hue = 292; AddItem( lp ); FancyShirt fs = new FancyShirt(); fs.Hue = 1153; AddItem( fs ); AddItem( new LongHair(1150)); }
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 EvilElf() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "Evil Elf"; Body = 400; Hue = 1002; SetStr( 796, 825 ); SetDex( 86, 105 ); SetInt( 436, 475 ); SetHits( 478, 495 ); SetDamage( 20, 30 ); Item longpants; longpants = new LongPants(); longpants.Hue = 1368; AddItem( longpants); longpants.LootType = LootType.Newbied; Item tunic; tunic = new Tunic(); tunic.Hue = 1368; AddItem( tunic ); tunic.LootType = LootType.Newbied; Item JesterHat; JesterHat = new JesterHat(); JesterHat.Hue = 1368; AddItem(JesterHat); JesterHat.LootType = LootType.Newbied; Item boots; boots = new Boots(); boots.Hue = 1109; AddItem( boots ); boots.LootType = LootType.Newbied; FacialHairItemID = 0x204B; FacialHairHue = 996; HairItemID = 0x203C; HairHue = 996; Item leatherninjabelt; leatherninjabelt = new LeatherNinjaBelt(); leatherninjabelt.Hue = 1109; AddItem( leatherninjabelt ); leatherninjabelt.LootType = LootType.Newbied; DoubleAxe weapon = new DoubleAxe(); weapon.Movable = false; AddItem(weapon); SetDamageType( ResistanceType.Physical, 100 ); SetResistance( ResistanceType.Physical, 55, 60 ); SetResistance( ResistanceType.Fire, 61, 71 ); SetResistance( ResistanceType.Cold, 30, 40 ); SetResistance( ResistanceType.Poison, 25, 35 ); SetResistance( ResistanceType.Energy, 35, 45 ); SetSkill( SkillName.MagicResist, 99.2, 100 ); SetSkill( SkillName.Tactics, 97.6, 100 ); SetSkill( SkillName.Wrestling, 90.1, 92.5 ); SetSkill( SkillName.Anatomy, 75.1, 78 ); PackGold( 250, 350 ); PackItem(new RedPaintBarrel()); }
public TownChestCobbler() : base(0xE43) { Name = "a metal chest -5-"; Movable = true; Weight = 1000.0; Hue = 83; TrapPower = 0; Locked = true; RequiredSkill = 5; LockLevel = 5; MaxLockLevel = 10; // Gold if (Utility.RandomDouble() < 0.25) { DropItem(new Gold(Utility.Random(1, 25))); } // Supplies if (Utility.RandomDouble() < 0.15) { DropItem(new Boots()); } if (Utility.RandomDouble() < 0.20) { DropItem(new Shoes()); } if (Utility.RandomDouble() < 0.25) { DropItem(new Sandals()); } if (Utility.RandomDouble() < 0.10) { DropItem(new ThighBoots()); } if (Utility.RandomDouble() < 0.15) { BaseClothing footwear = Loot.RandomClothing(true); switch (Utility.Random(4)) { case 0: footwear = new Shoes(); break; case 1: footwear = new Boots(); break; case 2: footwear = new ThighBoots(); break; default: footwear = new Sandals(); break; } BaseRunicTool.ApplyAttributesTo(footwear, 1, 5, 15); DropItem(footwear); } }
public AEvilElf() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "An Evil Elf"; Body = 400; BaseSoundID = 357; SetStr( 80, 110 ); SetDex( 80, 90 ); SetInt( 80, 90 ); SetHits( 200 ); SetDamage( 5, 20 ); SetDamageType( ResistanceType.Physical, 50 ); SetDamageType( ResistanceType.Fire, 25 ); SetDamageType( ResistanceType.Energy, 25 ); SetResistance( ResistanceType.Physical, 40, 40 ); SetResistance( ResistanceType.Fire, 40 ); SetResistance( ResistanceType.Cold, 40, 40 ); SetResistance( ResistanceType.Poison, 34 ); SetResistance( ResistanceType.Energy, 40, 40 ); SetSkill( SkillName.Anatomy, 90 ); SetSkill( SkillName.EvalInt, 50.1, 70.0 ); SetSkill( SkillName.Magery, 50.5, 70.0 ); SetSkill( SkillName.Meditation, 60 ); SetSkill( SkillName.MagicResist, 40.5, 50.0 ); SetSkill( SkillName.Tactics, 60.1, 60.0 ); SetSkill( SkillName.Wrestling, 60.1, 60.0 ); Fame = 24000; Karma = -24000; Kills = 10; Hue = 0; VirtualArmor = 12; Item Boots = new Boots(); Boots.Hue = 1369; Boots.Name = "Elf Boots"; Boots.Movable = false; AddItem( Boots ); Item Doublet = new Doublet(); Doublet.Hue = 1369; Doublet.Name = "Elf's Doublet"; Doublet.Movable = false; AddItem( Doublet ); Item FancyShirt = new FancyShirt(); FancyShirt.Hue = 1369; FancyShirt.Name = "Elf's Shirt"; FancyShirt.Movable = false; AddItem( FancyShirt ); Item LongPants = new LongPants(); LongPants.Hue = 1369; LongPants.Name = "Elf's Pants"; LongPants.Movable = false; AddItem( LongPants ); PackItem( new YellowSnow() ); }
public DummyStun() : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6) { // A Dummy Stun Mage int iHue = 20 + Team * 40; int jHue = 25 + Team * 40; // Skills and Stats this.InitStats( 90, 90, 125 ); this.Skills[SkillName.Magery].Base = 100; this.Skills[SkillName.EvalInt].Base = 120; this.Skills[SkillName.Anatomy].Base = 80; this.Skills[SkillName.Wrestling].Base = 80; this.Skills[SkillName.Meditation].Base = 100; this.Skills[SkillName.Poisoning].Base = 100; // Name this.Name = "Stun Mage"; // Equip Spellbook book = new Spellbook(); book.Movable = false; book.LootType = LootType.Newbied; book.Content =0xFFFFFFFFFFFFFFFF; AddItem( book ); LeatherArms lea = new LeatherArms(); lea.Movable = false; lea.LootType = LootType.Newbied; lea.Crafter = this; lea.Quality = ArmorQuality.Regular; AddItem( lea ); LeatherChest lec = new LeatherChest(); lec.Movable = false; lec.LootType = LootType.Newbied; lec.Crafter = this; lec.Quality = ArmorQuality.Regular; AddItem( lec ); LeatherGorget leg = new LeatherGorget(); leg.Movable = false; leg.LootType = LootType.Newbied; leg.Crafter = this; leg.Quality = ArmorQuality.Regular; AddItem( leg ); LeatherLegs lel = new LeatherLegs(); lel.Movable = false; lel.LootType = LootType.Newbied; lel.Crafter = this; lel.Quality = ArmorQuality.Regular; AddItem( lel ); Boots bts = new Boots(); bts.Hue = iHue; AddItem( bts ); Cap cap = new Cap(); cap.Hue = iHue; AddItem( cap ); // 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) ); }
public ManOfSin() : base( AIType.AI_Melee, FightMode.None, 10, 1, 0.2, 0.4 ) { Title = "Power Of Darkness"; Name = "Lucifer"; Body = 0x190; BaseSoundID = 0x165; Hue = 1194; Item BoneGloves = new BoneGloves(); BoneGloves.Hue = 1194; BoneGloves.LootType = LootType.Blessed; BoneGloves.Movable = false; AddItem( BoneGloves ); Item BoneChest = new BoneChest(); BoneChest.Hue = 1194; BoneChest.LootType = LootType.Blessed; BoneChest.Movable = false; AddItem( BoneChest ); Item BoneArms = new BoneArms(); BoneArms.Hue = 1194; BoneArms.LootType = LootType.Blessed; BoneArms.Movable = false; AddItem( BoneArms ); Item BoneHelm = new BoneHelm(); BoneHelm.Hue = 1194; BoneHelm.LootType = LootType.Blessed; BoneHelm.Movable = false; AddItem( BoneHelm ); Item LongPants = new LongPants(); LongPants.Hue = 1194; LongPants.LootType = LootType.Blessed; LongPants.Movable = false; AddItem( LongPants ); Item FancyShirt = new FancyShirt(); FancyShirt.Hue = 1194; FancyShirt.LootType = LootType.Blessed; FancyShirt.Movable = false; AddItem( FancyShirt ); Item Boots = new Boots(); Boots.Hue = 1; Boots.LootType = LootType.Blessed; Boots.Movable = false; AddItem( Boots ); Item DeathAxe = new DeathAxe(); DeathAxe.Hue = 1194; DeathAxe.LootType = LootType.Blessed; DeathAxe.Movable = false; AddItem( DeathAxe ); SetStr( 300, 450 ); SetDex( 150, 300 ); SetInt( 420, 420 ); SetHits( 10000, 15000 ); SetDamage( 20, 28 ); SetDamageType( ResistanceType.Physical, 100 ); SetDamageType( ResistanceType.Cold, 100 ); SetDamageType( ResistanceType.Fire, 100 ); SetDamageType( ResistanceType.Energy, 100 ); SetDamageType( ResistanceType.Poison, 100 ); SetResistance( ResistanceType.Physical, 100 ); SetResistance( ResistanceType.Cold, 100 ); SetResistance( ResistanceType.Fire, 100 ); SetResistance( ResistanceType.Energy, 100 ); SetResistance( ResistanceType.Poison, 100 ); SetSkill( SkillName.Anatomy, 99.0, 100.0 ); SetSkill( SkillName.EvalInt, 99.0, 100.0 ); SetSkill( SkillName.Magery, 99.0, 100.0 ); SetSkill( SkillName.MagicResist, 99.0, 100.0 ); SetSkill( SkillName.Swords, 99.0, 100.0 ); SetSkill( SkillName.Tactics, 99.0, 100.0 ); SetSkill( SkillName.Lumberjacking, 99.0, 100.0 ); Fame = -15000; Karma = -15000; VirtualArmor = 35; PackItem( new Gold( 50, 60 ) ); new SkeletalMount().Rider = this; }
public UndeadArcherPirate() : base(AIType.AI_Archer, FightMode.Closest, 10, 1, 0.175, 0.2) { Title = "the unrested pirate"; Body = Utility.RandomList(400, 50, 3); Team = 1; Kills = 10; Hue = 0; SpeechHue=1153; this.Body = 0x190; this.Name = NameList.RandomName( "male" ); SetStr( 60, 85 ); SetDex( 50, 70 ); SetInt( 10, 20 ); SetDamage( 5, 7 ); SetSkill( SkillName.Archery, 35.0, 50.0 ); SetSkill( SkillName.MagicResist, 23.0, 27.5 ); SetSkill( SkillName.Tactics, 40.0, 45.5 ); SetSkill( SkillName.Healing, 30.2, 35.9 ); SetSkill( SkillName.Anatomy, 45.2, 50.9 ); SetSkill( SkillName.Swords, 50.0, 60.0); SetSkill(SkillName.Stealth, 120.0, 180.0); SetSkill(SkillName.Hiding, 120.0, 180.0); Fame = 2500; Karma = -2500; VirtualArmor = 0; Item hair = new Item( Utility.RandomList( 0x203B, 0x2049, 0x2048, 0x204A ) ); hair.Hue = Utility.RandomHairHue(); hair.Layer = Layer.Hair; hair.Movable = false; AddItem( hair ); Item beard = new Item( Utility.RandomList( 0x2040, 0x203E , 0x204C, 0x204B, 0x203F ) ); beard.Hue = hair.Hue; beard.Layer = Layer.FacialHair; beard.Movable = false; AddItem( beard ); PackGold( 70, 95 ); PackItem( new Bandage( 10 ) ); Item crossbow = new Crossbow(); EquipItem( crossbow ); switch ( Utility.Random( 3 ) ) { case 0: { Item fancyshirt = new FancyShirt(); fancyshirt.Hue = Utility.RandomNeutralHue(); EquipItem( fancyshirt ); break; } case 1: { Item doublet = new Doublet(); doublet.Hue = Utility.RandomNeutralHue(); EquipItem( doublet ); break; } case 2: { break; } } switch ( Utility.Random( 2 ) ) { case 0: { Item longpants = new LongPants(); longpants.Hue = Utility.RandomNeutralHue(); EquipItem( longpants ); break; } case 1: { Item shortpants = new ShortPants(); shortpants.Hue = Utility.RandomNeutralHue(); EquipItem( shortpants ); break; } } switch ( Utility.Random( 4 ) ) { case 0: { Item boots = new Boots(); boots.Hue = 0; EquipItem( boots ); break; } case 1: { Item shoes = new Shoes(); shoes.Hue = 1713; EquipItem( shoes ); break; } case 3: { Item thighboots = new ThighBoots(); thighboots.Hue = 0; EquipItem( thighboots ); break; } case 4: { break; } } switch ( Utility.Random( 3 ) ) { case 0: { Item Bandana = new Bandana(); Bandana.Hue = Utility.RandomBirdHue(); EquipItem( Bandana ); break; } case 1: { Item skullcap = new SkullCap(); skullcap.Hue = Utility.RandomBirdHue(); EquipItem( skullcap ); break; } case 3: { break; } } }
public override void InitOutfit() { WipeLayers(); // black captain's hat TricorneHat hat = CaptainsHat(); hat.LootType = LootType.Newbied; AddItem(hat); if (Utility.RandomBool()) { Item shirt = new Shirt(Utility.RandomRedHue()); AddItem(shirt); } Item sash = new BodySash(0x85); Item hair = new Item(Utility.RandomList(0x203B, 0x203C, 0x203D, 0x2044, 0x2045, 0x2047, 0x2049, 0x204A)); Item pants = new LongPants(Utility.RandomRedHue()); Item boots = new Boots(Utility.RandomRedHue()); hair.Hue = Utility.RandomHairHue(); hair.Layer = Layer.Hair; hair.Movable = false; Item sword; if (Utility.RandomBool()) sword = new Scimitar(); else sword = new Cutlass(); sword.LootType = LootType.Newbied; AddItem(hair); AddItem(sash); AddItem(pants); AddItem(boots); AddItem(sword); if (!this.Female) { 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); } }
public UndeadSwordPirateSTR() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.175, 0.2) { Title = "the unrested pirate"; Body = 400; Team = 1; Kills = 10; Hue = Utility.RandomSkinHue(); SpeechHue=1153; this.Body = 0x190; this.Name = NameList.RandomName( "male" ); SetStr( 90, 100 ); SetDex( 85, 100 ); SetInt( 10, 20 ); SetSkill( SkillName.Archery, 95.0, 100.0 ); SetSkill( SkillName.MagicResist, 75.0, 100.0 ); SetSkill( SkillName.Tactics, 90.0, 100.0 ); SetSkill( SkillName.Healing, 75.0, 100.0 ); SetSkill( SkillName.Anatomy, 90.0, 100.0 ); SetSkill(SkillName.Swords, 95.0, 100.0); SetSkill(SkillName.Stealth, 120.0, 180.0); SetSkill(SkillName.Hiding, 120.0, 180.0); Fame = 4500; Karma = -4500; VirtualArmor = 0; Item hair = new Item( Utility.RandomList( 0x203B, 0x2049, 0x2048, 0x204A ) ); hair.Hue = Utility.RandomHairHue(); hair.Layer = Layer.Hair; hair.Movable = false; Item beard = new Item( Utility.RandomList( 0x2040, 0x203E , 0x204C, 0x204B, 0x203F ) ); beard.Hue = hair.Hue; beard.Layer = Layer.FacialHair; beard.Movable = false; AddItem( beard ); AddItem( hair ); PackGold( 70, 95 ); PackItem( new Bandage( 20 ) ); switch ( Utility.Random( 2 ) ) { case 0: { Item scimitar = new Scimitar(); EquipItem( scimitar ); break; } case 1: { Item cutlass = new Cutlass(); EquipItem( cutlass ); break; } } switch ( Utility.Random( 3 ) ) { case 0: { Item fancyshirt = new FancyShirt(); fancyshirt.Hue = Utility.RandomNeutralHue(); EquipItem( fancyshirt ); break; } case 1: { Item doublet = new Doublet(); doublet.Hue = Utility.RandomNeutralHue(); EquipItem( doublet ); break; } case 2: { break; } } switch ( Utility.Random( 2 ) ) { case 0: { Item longpants = new LongPants(); longpants.Hue = Utility.RandomNeutralHue(); EquipItem( longpants ); break; } case 1: { Item shortpants = new ShortPants(); shortpants.Hue = Utility.RandomNeutralHue(); EquipItem( shortpants ); break; } } switch ( Utility.Random( 4 ) ) { case 0: { Item boots = new Boots(); boots.Hue = 0; EquipItem( boots ); break; } case 1: { Item shoes = new Shoes(); shoes.Hue = 1713; EquipItem( shoes ); break; } case 3: { Item thighboots = new ThighBoots(); thighboots.Hue = 0; EquipItem( thighboots ); break; } case 4: { break; } } switch ( Utility.Random( 3 ) ) { case 0: { Item Bandana = new Bandana(); Bandana.Hue = Utility.RandomBirdHue(); EquipItem( Bandana ); break; } case 1: { Item skullcap = new SkullCap(); skullcap.Hue = Utility.RandomBirdHue(); EquipItem( skullcap ); break; } case 3: { break; } } }
public AmazonHealer() : base( AIType.AI_Healer, FightMode.Weakest, 10, 1, 0.175, 0.3) { Name = "a Amazon Healer"; Title= ", Defiance Amazon Clan"; Hue= 33788; Body = 401; SpeechHue= 2305; BaseSoundID = 0; Team = 0; new Horse().Rider = this; SetStr( 185, 215); SetDex( 130, 140); SetInt( 300, 320); SetHits(185, 300); SetSkill( SkillName.Magery, 100.7, 100.4); SetSkill( SkillName.Tactics, 100.7, 100.4); SetSkill( SkillName.MagicResist, 191.4, 191.7); SetSkill( SkillName.Swords, 110.4, 110.7); SetSkill( SkillName.Anatomy, 110.4, 110.7); SetSkill( SkillName.Parry, 75.1, 100.1); Fame=15000; Karma=-15000; VirtualArmor= 75; Item Spellbook = new Spellbook(); Spellbook.Movable=false; Spellbook.Hue=1157; Spellbook.Name="Amazon Healing Guide"; EquipItem( Spellbook ); //Item Buckler = new Buckler(); //Buckler.Movable=false; //Buckler.Hue=1253; //EquipItem( Buckler ); Item Bandana = new Bandana(); Bandana.Movable=false; Bandana.Hue=0; EquipItem( Bandana ); Item Doublet = new Doublet(); Doublet.Movable=false; Doublet.Hue=1150; Doublet.Name="Amazon Clothing"; EquipItem( Doublet ); Item LeatherArms = new LeatherArms(); LeatherArms.Movable=false; LeatherArms.Hue=0; EquipItem( LeatherArms ); Item LeatherSkirt = new LeatherSkirt(); LeatherSkirt.Movable=false; LeatherSkirt.Hue=0; EquipItem( LeatherSkirt ); Item Boots = new Boots(); Boots.Movable=false; Boots.Hue=1175; EquipItem( Boots ); //Item BodySash = new BodySash(); //BodySash.Movable=false; //BodySash.Hue=4; //BodySash.Name="AmazonHealer Clan Member."; //EquipItem( BodySash ); Item hair = new Item( 0x203D); hair.Hue = 0; hair.Layer = Layer.Hair; hair.Movable = false; AddItem( hair ); PackGold( 250, 800); PackMagicItems( 0, 7); PackMagicItems( 0, 7); PackMagicItems( 0, 7); PackMagicItems( 0, 7); switch ( Utility.Random( 15 )) { case 0: PackItem( new HoodedShroudOfShadows() ); break; } }