UOBetty
Initiate
This is my playermbobile.cs and players are still being aggroed in new haven
Code:
public bool CheckYoungProtection(Mobile from)
{
if (!Young)
{
return true;
}
if (Region is BaseRegion && !((BaseRegion)Region).YoungProtected)
{
return true;
}
if (from is BaseCreature && ((BaseCreature)from).IgnoreYoungProtection)
{
return true;
}
if (Quest != null && Quest.IgnoreYoungProtection(from))
{
return false;
}
if (DateTime.UtcNow - m_LastYoungMessage > TimeSpan.FromMinutes(1.0))
{
m_LastYoungMessage = DateTime.UtcNow;
SendLocalizedMessage(1019067);
// A monster looks at you menacingly but does not attack. You would be under attack now if not for your status as a new citizen of Britannia.
}
return true;
}