This commit is contained in:
asayre 2006-10-05 06:04:38 +00:00
parent 27a3e68588
commit 87966abb3f
14 changed files with 112 additions and 20 deletions

View file

@ -932,7 +932,7 @@ namespace Server.Mobiles
}
else
{
m_Mobile.DebugSay( "I stop being on guard" );
m_Mobile.DebugSay( "I stopped being on guard" );
Action = ActionType.Wander;
}
@ -1439,7 +1439,7 @@ namespace Server.Mobiles
}
if( combatant != null )
m_Mobile.DebugSay( "Crap, my master has been attacked! I will atack one of those bastards!" );
m_Mobile.DebugSay( "Crap, my master has been attacked! I will attack one of those bastards!" );
}
if( combatant != null && combatant != m_Mobile && combatant != m_Mobile.ControlMaster && !combatant.Deleted && combatant.Alive && !combatant.IsDeadBondedPet && m_Mobile.CanSee( combatant ) && m_Mobile.CanBeHarmful( combatant, false ) && combatant.Map == m_Mobile.Map )

View file

@ -4767,7 +4767,7 @@ namespace Server.Mobiles
}
// added lines to check if a wild creature in a house region has to be removed or not
if ( !c.Controlled && ( c.Region.IsPartOf( typeof( HouseRegion ) ) && c.CanBeDamaged() || hasHourElapsed && c.RemoveIfUntamed && c.Spawner == null ) )
if ( (!c.Controlled && ( c.Region.IsPartOf( typeof( HouseRegion ) ) && c.CanBeDamaged()) || (hasHourElapsed && c.RemoveIfUntamed && c.Spawner == null )) )
{
c.RemoveStep++;