public ZuluuNative() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "a zuluu"; Hue = 0x89D; if (this.Female = Utility.RandomBool()) { Body = 0x191; Item cloth9 = new FemaleLeatherChest(); cloth9.Hue = 0xB9A; cloth9.Name = "Zuluu Tunic"; AddItem(cloth9); } else { Body = 0x190; } HairHue = 0x96C; SetStr(216, 235); SetDex(206, 225); SetInt(71, 85); SetDamage(23, 27); SetDamageType(ResistanceType.Physical, 100); SetSkill(SkillName.Fencing, 70.0, 102.5); SetSkill(SkillName.Macing, 70.0, 102.5); SetSkill(SkillName.Poisoning, 70.0, 102.5); SetSkill(SkillName.MagicResist, 67.5, 100.0); SetSkill(SkillName.Swords, 70.0, 102.5); SetSkill(SkillName.Tactics, 70.0, 102.5); Fame = 3100; Karma = -3100; VirtualArmor = 20; PackItem(new Bandage(Utility.RandomMinMax(1, 15))); AddItem(new Spear()); Item cloth1 = new SavageArms(); cloth1.Hue = 0xB9A; cloth1.Name = "Zuluu Guantlets"; AddItem(cloth1); Item cloth2 = new SavageLegs(); cloth2.Hue = 0xB9A; cloth2.Name = "Zuluu Leggings"; AddItem(cloth2); Item cloth3 = new TribalMask(); cloth3.Hue = 0xB9A; cloth3.Name = "Zuluu Tribal Mask"; AddItem(cloth3); Item cloth4 = new LeatherSkirt(); cloth4.Hue = 0xB9A; cloth4.Name = "Zuluu Skirt"; cloth4.Layer = Layer.Waist; AddItem(cloth4); if (Utility.RandomMinMax(1, 10) == 1) { SwampDragon pet = new SwampDragon(); pet.Hue = 2006; pet.Name = "a forest dragyn"; pet.Rider = this; ActiveSpeed = 0.1; PassiveSpeed = 0.2; } }
public void DressUpCrewMember(BaseCreature bc, Mobile captain) { if (captain is PirateDrow) { bc.AddItem(new ElvenBoots(0x6F8)); Item armor = new LeatherChest(); armor.Hue = 0x6F8; bc.AddItem(armor); bc.AddItem(new FancyShirt(0)); switch (Utility.Random(2)) { case 0: bc.AddItem(new LongPants(0xBB4)); break; case 1: bc.AddItem(new ShortPants(0xBB4)); break; } switch (Utility.Random(2)) { case 0: bc.AddItem(new Bandana(0x846)); break; case 1: bc.AddItem(new SkullCap(0x846)); break; } } else if (captain is PirateMen) { bc.AddItem(new ElvenBoots(0x83A)); Item armor = new LeatherChest(); armor.Hue = 0x83A; bc.AddItem(armor); bc.AddItem(new FancyShirt(0)); switch (Utility.Random(2)) { case 0: bc.AddItem(new LongPants(0xBB4)); break; case 1: bc.AddItem(new ShortPants(0xBB4)); break; } switch (Utility.Random(2)) { case 0: bc.AddItem(new Bandana(0x846)); break; case 1: bc.AddItem(new SkullCap(0x846)); break; } } else if (captain is PirateNatives) { bc.Hue = 743; bc.HairHue = 0x96C; if (bc.Female) { Item cloth9 = new FemaleLeatherChest(); cloth9.Hue = 773; cloth9.Name = "Native Tunic"; bc.AddItem(cloth9); } Item cloth1 = new SavageArms(); cloth1.Hue = 773; cloth1.Name = "Native Guantlets"; bc.AddItem(cloth1); Item cloth2 = new SavageLegs(); cloth2.Hue = 773; cloth2.Name = "Native Leggings"; bc.AddItem(cloth2); Item cloth3 = new TribalMask(); cloth3.Hue = 773; cloth3.Name = "Native Tribal Mask"; bc.AddItem(cloth3); Item cloth4 = new LeatherSkirt(); cloth4.Hue = 773; cloth4.Name = "Native Skirt"; cloth4.Layer = Layer.Waist; bc.AddItem(cloth4); } else if (captain is PirateCult) { bc.AddItem(new Robe(0)); switch (Utility.RandomMinMax(0, 2)) { case 0: bc.AddItem(new ClothCowl()); break; case 1: bc.AddItem(new ClothHood()); break; case 2: bc.AddItem(new FancyHood()); break; } MorphingTime.ColorMyClothes(bc, captain.SpeechHue); bc.AddItem(new ElvenBoots(0x83A)); if (bc.FindItemOnLayer(Layer.OneHanded) != null) { Item hand = bc.FindItemOnLayer(Layer.OneHanded); hand.ItemID = 0x13C6; hand.Name = "gloves"; hand.MoveToWorld(captain.Location, captain.Map); bc.AddItem(hand); } if (bc.FindItemOnLayer(Layer.TwoHanded) != null) { Item hand = bc.FindItemOnLayer(Layer.TwoHanded); hand.ItemID = 0x13C6; hand.Name = "gloves"; hand.MoveToWorld(captain.Location, captain.Map); bc.AddItem(hand); } } else if (captain is SailorGuards || captain is SailorElfGuards || captain is SailorOrkGuards) { DressGuards(bc, captain); if (captain is SailorElfGuards) { bc.HairHue = Utility.RandomHairHue(); bc.Hue = Utility.RandomSkinColor(); } } else if (captain is SailorMerchant || captain is SailorElf) { DressSailor(bc); if (captain is SailorElf) { bc.HairHue = Utility.RandomHairHue(); bc.Hue = Utility.RandomSkinColor(); } if (bc.FindItemOnLayer(Layer.OneHanded) != null) { Item hand = bc.FindItemOnLayer(Layer.OneHanded); if (hand is MonsterGloves) { hand.ItemID = 0x1087; hand.Hue = 0; hand.Name = "earrings"; hand.MoveToWorld(captain.Location, captain.Map); bc.AddItem(hand); } } } }
public PirateNatives() { Name = NameList.RandomName("lizardman"); Title = "the savage pirate"; Hue = 743; int leader = Utility.RandomColor(0); if (this.Female = Utility.RandomBool()) { Body = 0x191; Item cloth9 = new FemaleLeatherChest(); cloth9.Hue = leader; cloth9.Name = "Native Tunic"; AddItem(cloth9); } else { Body = 0x190; } HairHue = 0x96C; AddItem(new Spear()); Item cloth1 = new SavageArms(); cloth1.Hue = leader; cloth1.Name = "Native Guantlets"; AddItem(cloth1); Item cloth2 = new SavageLegs(); cloth2.Hue = leader; cloth2.Name = "Native Leggings"; AddItem(cloth2); Item cloth3 = new StagMask(); cloth3.Hue = 932; cloth3.Name = "Native Tribal Mask"; AddItem(cloth3); Item cloth4 = new LeatherSkirt(); cloth4.Hue = leader; cloth4.Name = "Native Skirt"; cloth4.Layer = Layer.Waist; AddItem(cloth4); AI = AIType.AI_Melee; FightMode = FightMode.Closest; ship = new GalleonBarbarian(); ship.Hue = ShipColor(""); SetStr(536, 585); SetDex(126, 145); SetInt(281, 305); SetHits(322, 351); SetMana(0); SetDamage(16, 23); SetDamageType(ResistanceType.Physical, 50); SetDamageType(ResistanceType.Fire, 50); SetResistance(ResistanceType.Physical, 45, 50); SetResistance(ResistanceType.Fire, 50, 60); SetResistance(ResistanceType.Cold, 25, 35); SetResistance(ResistanceType.Poison, 30, 40); SetResistance(ResistanceType.Energy, 30, 40); SetSkill(SkillName.MagicResist, 60.3, 105.0); SetSkill(SkillName.Tactics, 80.1, 100.0); SetSkill(SkillName.Wrestling, 80.1, 90.0); SetSkill(SkillName.Fencing, 80.1, 90.0); Fame = 11000; Karma = -11000; VirtualArmor = 48; healme = "Heal me my tribesman!"; }
public ZuluuWitchDoctor() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "a zuluu witch doctor"; Hue = 0x89D; if (this.Female = Utility.RandomBool()) { Body = 0x191; Item cloth9 = new FemaleLeatherChest(); cloth9.Hue = 0xB9A; cloth9.Name = "Zuluu Tunic"; AddItem(cloth9); } else { Body = 0x190; } HairHue = 0x96C; SetStr(146, 165); SetDex(71, 130); SetInt(381, 405); SetDamage(14, 22); SetDamageType(ResistanceType.Physical, 100); SetResistance(ResistanceType.Physical, 30, 40); SetResistance(ResistanceType.Fire, 20, 30); SetResistance(ResistanceType.Cold, 20, 30); SetResistance(ResistanceType.Poison, 20, 30); SetResistance(ResistanceType.Energy, 40, 50); SetSkill(SkillName.EvalInt, 87.5, 100.0); SetSkill(SkillName.Fencing, 72.5, 85.0); SetSkill(SkillName.Macing, 82.5, 105.0); SetSkill(SkillName.Magery, 82.5, 95.0); SetSkill(SkillName.Meditation, 87.5, 100.0); SetSkill(SkillName.MagicResist, 87.5, 100.0); SetSkill(SkillName.Swords, 72.5, 85.0); SetSkill(SkillName.Tactics, 72.5, 85.0); SetSkill(SkillName.Wrestling, 72.5, 85.0); Fame = 4200; Karma = -4200; VirtualArmor = 10; PackReg(10, 15); PackItem(new Bandage(Utility.RandomMinMax(1, 15))); AddItem(new WildStaff()); Item cloth1 = new SavageArms(); cloth1.Hue = 0xB9A; cloth1.Name = "Zuluu Guantlets"; AddItem(cloth1); Item cloth2 = new SavageLegs(); cloth2.Hue = 0xB9A; cloth2.Name = "Zuluu Leggings"; AddItem(cloth2); Item cloth3 = new HornedTribalMask(); cloth3.Hue = 0xB9A; cloth3.Name = "Zuluu Tribal Mask"; AddItem(cloth3); Item cloth4 = new LeatherSkirt(); cloth4.Hue = 0xB9A; cloth4.Name = "Zuluu Skirt"; cloth4.Layer = Layer.Waist; AddItem(cloth4); if (Utility.RandomMinMax(1, 12) == 1) { SwampDragon pet = new SwampDragon(); pet.Hue = 2006; pet.Name = "a forest dragyn"; pet.Rider = this; ActiveSpeed = 0.1; PassiveSpeed = 0.2; } }
public SavageRider() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.15, 0.4) { Name = NameList.RandomName("savage rider"); int dino = Utility.RandomList(0x7D1, 0x7D2, 0x7D3, 0x7D4, 0x7D5, 0x7D6); if (Female = Utility.RandomBool()) { Body = 401; Item cloth9 = new FemaleLeatherChest(); cloth9.Hue = dino; cloth9.Name = "dracosaur tunic"; AddItem(cloth9); } else { Body = 400; } Hue = 0; SetStr(151, 170); SetDex(92, 130); SetInt(51, 65); SetDamage(29, 34); SetDamageType(ResistanceType.Physical, 100); SetSkill(SkillName.Fencing, 72.5, 95.0); SetSkill(SkillName.Healing, 60.3, 90.0); SetSkill(SkillName.Macing, 72.5, 95.0); SetSkill(SkillName.Poisoning, 60.0, 82.5); SetSkill(SkillName.MagicResist, 72.5, 95.0); SetSkill(SkillName.Swords, 72.5, 95.0); SetSkill(SkillName.Tactics, 72.5, 95.0); Fame = 1000; Karma = -1000; PackItem(new Bandage(Utility.RandomMinMax(1, 15))); if (0.1 > Utility.RandomDouble()) { PackItem(new BolaBall()); } AddItem(new TribalSpear()); Item cloth1 = new SavageArms(); cloth1.Hue = dino; cloth1.Name = "dracosaur guantlets"; AddItem(cloth1); Item cloth2 = new SavageLegs(); cloth2.Hue = dino; cloth2.Name = "dracosaur leggings"; AddItem(cloth2); Item cloth3 = new TribalMask(); cloth3.Hue = dino; cloth3.Name = "savage tribal mask"; AddItem(cloth3); Item cloth4 = new LeatherSkirt(); cloth4.Hue = dino; cloth4.Name = "dracosaur skirt"; cloth4.Layer = Layer.Waist; AddItem(cloth4); new SavageRidgeback().Rider = this; }
public NativeArcher() : base(AIType.AI_Archer, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "a tribesman"; Hue = 743; if (this.Female = Utility.RandomBool()) { Body = 0x191; Item cloth9 = new FemaleLeatherChest(); cloth9.Hue = 773; cloth9.Name = "Native Tunic"; AddItem(cloth9); } else { Body = 0x190; } HairHue = 0x96C; SetStr(116, 135); SetDex(106, 125); SetInt(71, 85); SetDamage(23, 27); SetDamageType(ResistanceType.Physical, 100); SetSkill(SkillName.Archery, 60.0, 82.5); SetSkill(SkillName.Macing, 60.0, 82.5); SetSkill(SkillName.Poisoning, 60.0, 82.5); SetSkill(SkillName.MagicResist, 57.5, 80.0); SetSkill(SkillName.Swords, 60.0, 82.5); SetSkill(SkillName.Tactics, 60.0, 82.5); Fame = 1100; Karma = -1100; VirtualArmor = 20; PackItem(new Bandage(Utility.RandomMinMax(1, 15))); Item cloth1 = new SavageArms(); cloth1.Hue = 773; cloth1.Name = "Native Guantlets"; AddItem(cloth1); Item cloth2 = new SavageLegs(); cloth2.Hue = 773; cloth2.Name = "Native Leggings"; AddItem(cloth2); Item cloth3 = new TribalMask(); cloth3.Hue = 773; cloth3.Name = "Native Tribal Mask"; AddItem(cloth3); Item cloth4 = new LeatherSkirt(); cloth4.Hue = 773; cloth4.Name = "Native Skirt"; cloth4.Layer = Layer.Waist; AddItem(cloth4); AddItem(new Bow()); PackItem(new Arrow(Utility.RandomMinMax(5, 15))); }
public SavageShaman() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = NameList.RandomName("savage shaman"); int dino = Utility.RandomList(0x7D1, 0x7D2, 0x7D3, 0x7D4, 0x7D5, 0x7D6); if (Female = Utility.RandomBool()) { Body = 401; Item cloth9 = new FemaleLeatherChest(); cloth9.Hue = dino; cloth9.Name = "dracosaur tunic"; AddItem(cloth9); } else { Body = 400; } Hue = 0; SetStr(126, 145); SetDex(91, 110); SetInt(161, 185); SetDamage(4, 10); SetDamageType(ResistanceType.Physical, 100); SetResistance(ResistanceType.Physical, 30, 40); SetResistance(ResistanceType.Fire, 20, 30); SetResistance(ResistanceType.Cold, 20, 30); SetResistance(ResistanceType.Poison, 20, 30); SetResistance(ResistanceType.Energy, 40, 50); SetSkill(SkillName.EvalInt, 77.5, 100.0); SetSkill(SkillName.Fencing, 62.5, 85.0); SetSkill(SkillName.Macing, 62.5, 85.0); SetSkill(SkillName.Magery, 72.5, 95.0); SetSkill(SkillName.Meditation, 77.5, 100.0); SetSkill(SkillName.MagicResist, 77.5, 100.0); SetSkill(SkillName.Swords, 62.5, 85.0); SetSkill(SkillName.Tactics, 62.5, 85.0); SetSkill(SkillName.Wrestling, 62.5, 85.0); Fame = 1000; Karma = -1000; PackReg(10, 15); PackItem(new Bandage(Utility.RandomMinMax(1, 15))); if (0.1 > Utility.RandomDouble()) { PackItem(new TribalBerry()); } Item cloth1 = new SavageArms(); cloth1.Hue = dino; cloth1.Name = "dracosaur guantlets"; AddItem(cloth1); Item cloth2 = new SavageLegs(); cloth2.Hue = dino; cloth2.Name = "dracosaur leggings"; AddItem(cloth2); Item cloth3 = new HornedTribalMask(); cloth3.Hue = dino; cloth3.Name = "savage tribal mask"; AddItem(cloth3); Item cloth4 = new LeatherSkirt(); cloth4.Hue = dino; cloth4.Name = "dracosaur skirt"; cloth4.Layer = Layer.Waist; AddItem(cloth4); }
public SavageAlien() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "an alien savage"; Hue = Utility.RandomList(0x6F6, 0x97F, 0x99B, 0x6E4, 0x5E0, 0xB38, 0xB2B); string metal = Server.Misc.MorphingTime.GetSpaceAceMetalName(); string cloth = Server.Misc.MorphingTime.GetSpaceAceClothName(); string bone = Server.Misc.MorphingTime.GetSpaceAceBoneName(); string wood = Server.Misc.MorphingTime.GetSpaceAceWoodName(); if (Female = Utility.RandomBool()) { Body = 401; } else { Body = 400; } SetStr(336, 385); SetDex(281, 305); SetInt(96, 115); SetHits(202, 231); SetMana(0); SetDamage(7, 23); SetDamageType(ResistanceType.Physical, 100); SetResistance(ResistanceType.Physical, 45, 55); SetResistance(ResistanceType.Fire, 30, 40); SetResistance(ResistanceType.Cold, 30, 40); SetResistance(ResistanceType.Poison, 40, 50); SetResistance(ResistanceType.Energy, 40, 50); SetSkill(SkillName.MagicResist, 125.1, 140.0); SetSkill(SkillName.Tactics, 90.1, 100.0); SetSkill(SkillName.Wrestling, 90.1, 100.0); SetSkill(SkillName.Fencing, 125.1, 140.0); SetSkill(SkillName.Macing, 125.1, 140.0); SetSkill(SkillName.Wrestling, 125.1, 140.0); SetSkill(SkillName.MagicResist, 67.5, 100.0); SetSkill(SkillName.Swords, 125.1, 140.0); SetSkill(SkillName.Tactics, 125.1, 140.0); Fame = 10000; Karma = -10000; VirtualArmor = 50; Item cloth1 = new SavageArms(); MorphingTime.MakeSpaceAceBoneArmor(cloth1, bone, false); AddItem(cloth1); Item cloth2 = new SavageLegs(); MorphingTime.MakeSpaceAceBoneArmor(cloth2, bone, false); AddItem(cloth2); Item cloth3 = new LeatherSkirt(); cloth3.Name = "skin skirt"; MorphingTime.MakeSpaceAceBoneArmor(cloth3, bone, true); cloth3.Layer = Layer.Waist; AddItem(cloth3); switch (Utility.RandomMinMax(0, 3)) { case 0: Item cloth4 = new OrcHelm(); MorphingTime.MakeSpaceAceBoneArmor(cloth4, bone, false); AddItem(cloth4); break; case 1: Item cloth5 = new SavageHelm(); MorphingTime.MakeSpaceAceBoneArmor(cloth5, bone, false); AddItem(cloth5); break; case 2: Item cloth6 = new TribalMask(); cloth6.Name = "skin mask"; MorphingTime.MakeSpaceAceBoneArmor(cloth6, bone, true); AddItem(cloth6); break; } if (Utility.RandomMinMax(1, 10) == 1) { Item cloth7 = new SavageChest(); MorphingTime.MakeSpaceAceBoneArmor(cloth7, bone, false); AddItem(cloth7); } else if (Female) { Item cloth8 = new FemaleLeatherChest(); cloth8.Name = "skin tunic"; MorphingTime.MakeSpaceAceBoneArmor(cloth8, bone, true); AddItem(cloth8); } IntelligentAction.GiveBasicWepShld(this); if (this.FindItemOnLayer(Layer.OneHanded) != null) { if (MaterialInfo.IsAnyKindOfMetalItem(this.FindItemOnLayer(Layer.OneHanded))) { MorphingTime.MakeSpaceAceMetalArmorWeapon(this.FindItemOnLayer(Layer.OneHanded), metal); } else if (MaterialInfo.IsAnyKindOfClothItem(this.FindItemOnLayer(Layer.OneHanded))) { MorphingTime.MakeSpaceAceClothArmorWeapon(this.FindItemOnLayer(Layer.OneHanded), cloth); } else if (MaterialInfo.IsAnyKindOfWoodItem(this.FindItemOnLayer(Layer.OneHanded))) { MorphingTime.MakeSpaceAceWoodArmorWeapon(this.FindItemOnLayer(Layer.OneHanded), wood); } } if (this.FindItemOnLayer(Layer.TwoHanded) != null) { Item hand = this.FindItemOnLayer(Layer.TwoHanded); if (hand is BaseShield) { switch (Utility.RandomMinMax(1, 4)) { case 1: hand.ItemID = 0x1B76; hand.Name = "hull plate"; break; case 2: hand.ItemID = 0x1B76; hand.Name = "deck plate"; break; case 3: hand.ItemID = 0x1B72; hand.Name = "hatch door"; break; case 4: hand.ItemID = 0x1B7B; hand.Name = "hatch cover"; break; } MorphingTime.MakeSpaceAceMetalArmorWeapon(hand, metal); } else if (MaterialInfo.IsAnyKindOfMetalItem(hand)) { MorphingTime.MakeSpaceAceMetalArmorWeapon(hand, metal); } else if (MaterialInfo.IsAnyKindOfClothItem(hand)) { MorphingTime.MakeSpaceAceClothArmorWeapon(hand, cloth); } else if (MaterialInfo.IsAnyKindOfWoodItem(hand)) { MorphingTime.MakeSpaceAceWoodArmorWeapon(hand, wood); } } }