private static void AddHair(Mobile m, int itemID, int hue) { Item item; switch (itemID & 0x3FFF) { case 0x2044: item = new Mohawk(hue); break; case 0x2045: item = new PageboyHair(hue); break; case 0x2046: item = new BunsHair(hue); break; case 0x2047: item = new Afro(hue); break; case 0x2048: item = new ReceedingHair(hue); break; case 0x2049: item = new TwoPigTails(hue); break; case 0x204A: item = new KrisnaHair(hue); break; case 0x203B: item = new ShortHair(hue); break; case 0x203C: item = new LongHair(hue); break; case 0x203D: item = new PonyTail(hue); break; default: return; } m.AddItem(item); }
public override void InitOutfit() { WipeLayers(); Scimitar sword = new Scimitar(); sword.Quality = WeaponQuality.Exceptional; sword.Movable = false; AddItem(sword); Item hair = new KrisnaHair(); hair.Hue = 1263; hair.Layer = Layer.Hair; hair.Movable = false; AddItem(hair); BoneArms arms = new BoneArms(); arms.Name = "magical bindings"; arms.Hue = 1706; arms.LootType = LootType.Newbied; AddItem(arms); GoldNecklace necklace = new GoldNecklace(); necklace.Name = "magical collar"; necklace.Hue = 1706; necklace.LootType = LootType.Newbied; AddItem(necklace); }
public virtual Item AddRandomHair() { Item hair = null; switch (Utility.Random(8)) { case 0: AddItem(hair = new Afro()); break; case 1: AddItem(hair = new KrisnaHair()); break; case 2: AddItem(hair = new PageboyHair()); break; case 3: AddItem(hair = new PonyTail()); break; case 4: AddItem(hair = new ReceedingHair()); break; case 5: AddItem(hair = new TwoPigTails()); break; case 6: AddItem(hair = new ShortHair()); break; case 7: AddItem(hair = new LongHair()); break; } return(hair); }
public GrimmochDrummel() : base(AIType.AI_Archer, FightMode.Closest, 10, 1, 0.2, 0.4) { Title = "the Cursed"; Hue = 0x8596; Body = 0x190; Name = "Grimmoch Drummel"; Item hair = new KrisnaHair(); hair.Movable = false; AddItem(hair); Bow bow = new Bow(); bow.Movable = false; AddItem(bow); AddItem(new Boots(0x8A4)); AddItem(new BodySash(0x8A4)); Backpack backpack = new Backpack(); backpack.Movable = false; AddItem(backpack); LeatherGloves gloves = new LeatherGloves(); LeatherChest chest = new LeatherChest(); gloves.Hue = 0x96F; chest.Hue = 0x96F; AddItem(gloves); AddItem(chest); SetStr(111, 120); SetDex(151, 160); SetInt(41, 50); SetHits(180, 207); SetMana(0); SetDamage(13, 16); SetResistance(ResistanceType.Physical, 35, 45); SetResistance(ResistanceType.Fire, 25, 30); SetResistance(ResistanceType.Cold, 45, 55); SetResistance(ResistanceType.Poison, 30, 40); SetResistance(ResistanceType.Energy, 20, 25); SetSkill(SkillName.Archery, 90.1, 110.0); SetSkill(SkillName.Swords, 60.1, 70.0); SetSkill(SkillName.Tactics, 90.1, 100.0); SetSkill(SkillName.MagicResist, 60.1, 70.0); SetSkill(SkillName.Anatomy, 90.1, 100.0); Fame = 5000; Karma = -1000; PackItem(new Arrow(40)); if (3 > Utility.Random(100)) { PackItem(new FireHorn()); } if (1 > Utility.Random(3)) { PackItem(Loot.RandomGrimmochJournal()); } }