Yep, I tried the behavior tree, but the state machine seems better for offensive enemies.
Btw thx for feedback. <3