this was a calculated plan designed to eradicate all traces of her attraction to this egotistical , thrill-seeking , smooth-talking ladies ' man from her system the way an antibiotic does an infection .