#W# DOTD: Added more rare rewards to the drop list. Set the default rare drop chance to 2%
This commit is contained in:
parent
4afeb5dd98
commit
2a3551511e
4 changed files with 100 additions and 11 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue