#W# DOTD: Added more rare rewards to the drop list. Set the default rare drop chance to 2%

This commit is contained in:
WarrentyExpired 2026-10-07 12:20:30 -04:00
parent 4afeb5dd98
commit 2a3551511e
4 changed files with 100 additions and 11 deletions

View file

@ -3668,9 +3668,20 @@ namespace Server.Mobiles
}
}
// 2% chance to drop a random rare from your curated list
if (Utility.RandomDouble() <= 0.05)
{
c.DropItem(new Server.Items.SpecialHairDye());
Server.Item rareLoot = Custom.DailyDungeonManager.GetRandomRare();
if (rareLoot != null)
{
c.DropItem(rareLoot);
// Optional: Add a special effect or sound when a rare drops!
if (killer != null)
{
killer.SendMessage(1161, "A rare item has dropped into the corpse!");
}
}
}
if (killer != null)