Egotistically has 2 different meanings across 1 category:
Adverb
in an egotistical manner
"he behaved egotistically"
in an egotistic manner