This commit is contained in:
asayre 2006-08-15 19:26:11 +00:00
parent a80a905e95
commit b69228c599
8 changed files with 21 additions and 14 deletions

View file

@ -721,6 +721,8 @@ namespace Server.Items
{
if ( from.AccessLevel > AccessLevel.Player || from.InRange( this.GetWorldLocation(), 2 ) )
{
#region Self Looting
bool selfLoot = ( checkSelfLoot && ( from == m_Owner ) );
if ( selfLoot )
@ -800,9 +802,12 @@ namespace Server.Items
from.SendLocalizedMessage( 1062472 ); // You gather some of your belongings. The rest remain on the corpse.
}
#endregion
if ( !CheckLoot( from ) )
return;
#region Quests
PlayerMobile player = from as PlayerMobile;
if ( player != null )
@ -857,6 +862,8 @@ namespace Server.Items
}
}
#endregion
base.OnDoubleClick( from );
if ( from != m_Owner )