- Shadow Iron Elementals now are immune to every damage that comes from pets

(http://www.uodemise.com/discussion/showthread.php?t=128063)

- Barkeep/Vendors now recognize Z axis
(http://www.uodemise.com/discussion/showthread.php?t=136970)
This commit is contained in:
daedalus 2010-01-30 11:26:30 +00:00
parent 42e4e9987d
commit ba8f9ebf40
3 changed files with 21 additions and 5 deletions

View file

@ -442,13 +442,16 @@ namespace Server.Mobiles
IPooledEnumerable mobiles = Map.GetMobilesInRange( location, 0 );
if ( mobiles.GetEnumerator().MoveNext() )
foreach ( Mobile m in mobiles )
{
mobiles.Free();
return false;
if ( m.Z >= location.Z && m.Z < location.Z + 16 )
{
mobiles.Free();
return false;
}
}
else
mobiles.Free();
mobiles.Free();
BounceInfo bi = item.GetBounce();