Uncontrolled BaseCreatures don't path around mobiles
http://jira.runuo.com/browse/RUNUO-106 Animal Taming range and system message fixes http://jira.runuo.com/browse/RUNUO-107 Uncontrolled BaseCreatures don't walk over hidden staff http://jira.runuo.com/browse/RUNUO-108 Typo in AdminGump http://jira.runuo.com/browse/RUNUO-109 Guildstone deeds lose the guild name during server restarts http://jira.runuo.com/browse/RUNUO-110 In-game accessible LastMoveTime property on PlayerMobiles http://jira.runuo.com/browse/RUNUO-111
This commit is contained in:
parent
91537da9b2
commit
2a21388f39
8 changed files with 174 additions and 31 deletions
|
|
@ -3147,7 +3147,7 @@ namespace Server.Mobiles
|
|||
public override bool OnMoveOver( Mobile m )
|
||||
{
|
||||
if ( m is BaseCreature && !((BaseCreature)m).Controlled )
|
||||
return ( !Alive || !m.Alive || IsDeadBondedPet || m.IsDeadBondedPet ) || ( Hidden && m.AccessLevel > AccessLevel.Player );
|
||||
return ( !Alive || !m.Alive || IsDeadBondedPet || m.IsDeadBondedPet ) || ( Hidden && AccessLevel > AccessLevel.Player );
|
||||
|
||||
return base.OnMoveOver( m );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue