AI Behaviour Tree Boss Fight (Need help)

Hi guys,

I am working on a boss fight, I want to set up different attack moves according to the distance between my player and my enemy.

My Melee attack is working fine , but when I try to add a range attack i dont know how I should set up my behaviour tree.

Right now I have this simple tree, how should I do it to make it work fine?

I am using Is At location decorator to calculate the range between player and AI.

Any help is appreciated.