>>317087209
This is just more dangerous in the long term. Observe the person, try and see what they're like and see if it might actually work. Is how they treat you like they just treat everyone else? Do they do anything you don't like? do you only like them because they paid you attention? Is it even possible they'd like you back? 
The answers to these questions change how you will consciously mould your emotions. 
Although... at least in my case, when he comes over and gives you attention I just melt and can't think any more.