Dictionary.com
Thesaurus.com

had been habituating

  • past perfect progressive
    of habituate.
    habituate
    verb (used with object)
    to accustom (a person, the mind, etc.), as to a particular situation.