#W# Added: Added a [mystats command to view the stuff i'm tracking.

This commit is contained in:
WarrentyExpired 2026-10-04 12:35:56 -04:00
parent d7f998cf6b
commit 7ca5cd3a4e
3 changed files with 87 additions and 2 deletions

View file

@ -3646,7 +3646,6 @@ namespace Server.Mobiles
if (c != null)
{
// Identify the killer (this naturally routes credit from tamed pets to their owner)
Mobile killer = this.LastKiller;
if (killer is BaseCreature pet && pet.ControlMaster != null)
{
@ -3655,7 +3654,6 @@ namespace Server.Mobiles
if (killer is PlayerMobile pm)
{
// Scan the newly generated corpse for the exact amount of gold created
int goldFound = c.GetAmount(typeof(Gold));
if (goldFound > 0)
@ -3666,6 +3664,7 @@ namespace Server.Mobiles
if (points > 0)
{
pm.MonsterKillPoints += points;
pm.LifetimeKillPoints += points;
}
}
}