This commit is contained in:
xavier 2011-08-28 01:23:55 +00:00
parent 73a43ed06a
commit 1a02422299
10 changed files with 368 additions and 292 deletions

View file

@ -1619,10 +1619,12 @@ namespace Server.Mobiles
{
Name = creature.Name;
}
else if( this.ItemID == ShrinkTable.DefaultItemID || creature.GetType().IsDefined( typeof( FriendlyNameAttribute ), false ) )
else if( this.ItemID == ShrinkTable.DefaultItemID || creature.GetType().IsDefined( typeof( FriendlyNameAttribute ), false ) || creature is Reptalon )
Name = FriendlyNameAttribute.GetFriendlyNameFor( creature.GetType() ).ToString();
//(As Per OSI)No name. Normally, set by the ItemID of the Shrink Item unless we either explicitly set it with an Attribute, or, no lookup found
Hue = creature.Hue;
}
public TransferItem( Serial serial )