- Replaced the TraceStabled command with a cleaner approach.

- Fixed ShardTime to actually return the server's time, not UTC.
- Changed the ShardTime format to something more standard.
This commit is contained in:
eos 2012-12-04 22:35:55 +00:00
parent 93a24b8af9
commit 533d7fe14d
6 changed files with 21 additions and 45 deletions

View file

@ -202,6 +202,7 @@ namespace Server.Mobiles
if ( pet == null || pet.Deleted )
{
pet.IsStabled = false;
pet.StabledBy = null;
from.Stabled.RemoveAt( i );
--i;
continue;
@ -322,6 +323,7 @@ namespace Server.Mobiles
pet.SummonMaster = null;
pet.IsStabled = true;
pet.StabledBy = from;
if ( Core.SE )
pet.Loyalty = BaseCreature.MaxLoyalty; // Wonderfully happy
@ -359,6 +361,7 @@ namespace Server.Mobiles
if ( pet == null || pet.Deleted )
{
pet.IsStabled = false;
pet.StabledBy = null;
from.Stabled.RemoveAt( i );
--i;
continue;
@ -414,6 +417,7 @@ namespace Server.Mobiles
pet.MoveToWorld( from.Location, from.Map );
pet.IsStabled = false;
pet.StabledBy = null;
if ( Core.SE )
pet.Loyalty = BaseCreature.MaxLoyalty; // Wonderfully Happy