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); }
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 = 36; 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); }
public KhaldunZealot() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { this.Body = 0x190; this.Name = "Zealot of Khaldun"; this.Title = "the Knight"; this.Hue = 0; this.SetStr(351, 400); this.SetDex(151, 165); this.SetInt(76, 100); this.SetHits(448, 470); this.SetDamage(15, 25); this.SetDamageType(ResistanceType.Physical, 75); this.SetDamageType(ResistanceType.Cold, 25); this.SetResistance(ResistanceType.Physical, 35, 45); this.SetResistance(ResistanceType.Fire, 25, 30); this.SetResistance(ResistanceType.Cold, 50, 60); this.SetResistance(ResistanceType.Poison, 25, 35); this.SetResistance(ResistanceType.Energy, 25, 35); this.SetSkill(SkillName.Wrestling, 70.1, 80.0); this.SetSkill(SkillName.Swords, 120.1, 130.0); this.SetSkill(SkillName.Anatomy, 120.1, 130.0); this.SetSkill(SkillName.MagicResist, 90.1, 100.0); this.SetSkill(SkillName.Tactics, 90.1, 100.0); this.Fame = 10000; this.Karma = -10000; VikingSword weapon = new VikingSword(); weapon.Hue = 0x835; weapon.Movable = false; this.AddItem(weapon); MetalShield shield = new MetalShield(); shield.Hue = 0x835; shield.Movable = false; this.AddItem(shield); BoneHelm helm = new BoneHelm(); helm.Hue = 0x835; this.AddItem(helm); BoneArms arms = new BoneArms(); arms.Hue = 0x835; this.AddItem(arms); BoneGloves gloves = new BoneGloves(); gloves.Hue = 0x835; this.AddItem(gloves); BoneChest tunic = new BoneChest(); tunic.Hue = 0x835; this.AddItem(tunic); BoneLegs legs = new BoneLegs(); legs.Hue = 0x835; this.AddItem(legs); this.AddItem(new Boots()); }