Pets shouldn't attack when told to 'stay' - http://jira.runuo.com/browse/RUNUO-99

Cu Sidhe incorrect name - http://jira.runuo.com/browse/RUNUO-98
Small CharacterStatue improvements - http://jira.runuo.com/browse/RUNUO-97
This commit is contained in:
athena 2011-11-27 03:03:18 +00:00
parent 1d2a2d7783
commit 7bd20d02cd
4 changed files with 26 additions and 19 deletions

View file

@ -3108,7 +3108,7 @@ namespace Server.Mobiles
if ( m_AI != null )
{
if( !Core.ML || ( ct != OrderType.Follow && ct != OrderType.Stop ) )
if( !Core.ML || ( ct != OrderType.Follow && ct != OrderType.Stop && ct != OrderType.Stay ) )
{
m_AI.OnAggressiveAction( aggressor );
}
@ -3116,6 +3116,7 @@ namespace Server.Mobiles
{
DebugSay( "I'm being attacked but my master told me not to fight." );
Warmode = false;
Combatant = null;
return;
}
}