How should I create NPC behavior?

So I’ve been looking into making hostile NPCs for an RPG experience and have found a few things so far but wanted to see if anyone here had any tips on how to create NPCs with movesets / mildly comprehensive block/parrying (keep in mind I already have systems for the moves themselves and block/parry etc)

And I’m not talking about “Oh use pathfinding to make them move smoother” but more like how I should structure behavior trees (if I should continue to use them) and what actions I should run under what conditions? like if the player is x distance away: run move 1 or something along those lines

Any information or insight helps so please, I’d love to hear from anyone who has experience making NPCs; simple or complex!

This might be of interest to ya: BehaviorTrees3 + BTrees Visual Editor v3.0