#W# DOTD: 50% more gold and 25% more MKPs.
This commit is contained in:
parent
cb5906025a
commit
4afeb5dd98
2 changed files with 21 additions and 6 deletions
|
|
@ -90,7 +90,7 @@ namespace Server.Custom
|
|||
}
|
||||
|
||||
m.SendMessage(1161, $"*** Dungeon of the Day: {displayName} ***");
|
||||
m.SendMessage(259, "Active Bonuses: Increased Skill gains, extra gold drops, and a chance for rare items!");
|
||||
m.SendMessage(259, "Active Bonuses: Increased Skill gains, 50% more gold, 25% more Monster Kill Points, and a chance for rare items!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3655,9 +3655,18 @@ namespace Server.Mobiles
|
|||
|
||||
Region deathRegion = Region.Find(c.Location, c.Map);
|
||||
|
||||
int baseGold = c.GetAmount(typeof(Server.Items.Gold));
|
||||
|
||||
if (DailyDungeonManager.IsActive(deathRegion))
|
||||
{
|
||||
c.DropItem(new Server.Items.Gold(Utility.RandomMinMax(100, 300)));
|
||||
if (baseGold > 0)
|
||||
{
|
||||
int bonusGold = (int)(baseGold * 0.50);
|
||||
if (bonusGold > 0)
|
||||
{
|
||||
c.DropItem(new Server.Items.Gold(bonusGold));
|
||||
}
|
||||
}
|
||||
|
||||
if (Utility.RandomDouble() <= 0.05)
|
||||
{
|
||||
|
|
@ -3672,13 +3681,19 @@ namespace Server.Mobiles
|
|||
|
||||
if (killer is PlayerMobile pm)
|
||||
{
|
||||
int goldFound = c.GetAmount(typeof(Gold));
|
||||
int totalGoldFound = c.GetAmount(typeof(Server.Items.Gold));
|
||||
|
||||
if (goldFound > 0)
|
||||
if (totalGoldFound > 0)
|
||||
{
|
||||
pm.TotalGoldLooted += goldFound;
|
||||
pm.TotalGoldLooted += totalGoldFound;
|
||||
pm.TotalMonstersKilled += 1;
|
||||
int points = this.Fame /200;
|
||||
|
||||
int points = this.Fame / 200;
|
||||
if (DailyDungeonManager.IsActive(deathRegion))
|
||||
{
|
||||
points = (int)(points * 1.25);
|
||||
}
|
||||
|
||||
if (points > 0)
|
||||
{
|
||||
pm.MonsterKillPoints += points;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue