@Override
	public boolean tick(Tickable ticking, int tickID)
	{
		if(affected instanceof MOB)
		{
			final MOB M=(MOB)affected;
			if(M.getStartRoom()==M.location())
				unInvoke();
			else
			if(M.amDead())
				unInvoke();
			else
			if(CMLib.flags().canActAtAll(M)
			&&(!M.isInCombat())
			&&(M.amFollowing()==null)
			&&(M.getStartRoom()!=null)
			&&(M.getStartRoom().numPCInhabitants()==0))
			{
				CMLib.tracking().wanderAway(M, true, true);
				if(M.getStartRoom()==M.location())
					unInvoke();
			}
		}
		return super.tick(ticking, tickID);
	}