public override void GenerateLoot() { AddLoot(LootPack.FilthyRich, 2); AddLoot(LootPack.MedScrolls, 1); if (Utility.RandomDouble() < 0.10) { BaseWeapon weapon = Loot.RandomWeapon(true); BaseRunicTool.ApplyAttributesTo(weapon, 3, 25, 30); PackItem(weapon); } if (Utility.RandomDouble() < 0.05) { BaseClothing clothing = Loot.RandomClothing(true); BaseRunicTool.ApplyAttributesTo(clothing, 3, 25, 30); PackItem(clothing); } if (Utility.RandomDouble() < 0.05) { BaseShield shield = new ScarabShield(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(shield, 5, 25, 30); } PackItem(shield); } if (Utility.RandomDouble() < 0.05) { BaseJewel bracelet = new GoldBracelet(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(bracelet, 5, 25, 30); } PackItem(bracelet); } if (Utility.RandomDouble() < 0.05) { BaseJewel earrings = new GoldEarrings(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(earrings, 5, 25, 30); } PackItem(earrings); } if (Utility.RandomDouble() < 0.05) { BaseJewel necklace = new GoldNecklace(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(necklace, 5, 25, 30); } PackItem(necklace); } if (Utility.RandomDouble() < 0.05) { BaseJewel ring = new GoldRing(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(ring, 5, 25, 30); } PackItem(ring); } }
public override void GenerateLoot() { AddLoot(LootPack.FilthyRich, 2); AddLoot(LootPack.Average, 3); if (Utility.RandomDouble() < 0.10) { BaseWeapon weapon = Loot.RandomWeapon(true); BaseRunicTool.ApplyAttributesTo(weapon, 3, 25, 30); PackItem(weapon); } if (Utility.RandomDouble() < 0.05) { BaseClothing clothing = Loot.RandomClothing(true); BaseRunicTool.ApplyAttributesTo(clothing, 3, 25, 30); PackItem(clothing); } if (Utility.RandomDouble() < 0.05) { BaseShield shield = new ScarabShield(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(shield, 5, 25, 30); } PackItem(shield); } if (Utility.RandomDouble() < 0.05) { BaseJewel bracelet = new GoldBracelet(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(bracelet, 5, 25, 30); } PackItem(bracelet); } if (Utility.RandomDouble() < 0.05) { BaseJewel earrings = new GoldEarrings(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(earrings, 5, 25, 30); } PackItem(earrings); } if (Utility.RandomDouble() < 0.05) { BaseJewel necklace = new GoldNecklace(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(necklace, 5, 25, 30); } PackItem(necklace); } if (Utility.RandomDouble() < 0.05) { BaseJewel ring = new GoldRing(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(ring, 5, 25, 30); } PackItem(ring); } if (0.08 > Utility.RandomDouble()) { switch (Utility.Random(4)) { case 0: PackItem(new FrostAbyssalRingmailGloves()); break; case 1: PackItem(new FrostAbyssalRingmailLeggings()); break; case 2: PackItem(new FrostAbyssalRingmailSleeves()); break; case 3: PackItem(new FrostAbyssalRingmailTunic()); break; } } }