Path of the Ancestral Guardian, Ancestral Protectors automation question.
Sorry if this has been asked and answered, I tried to search for the info. I am looking to automate Ancestral Protectors.
"While you're raging, the first creature you hit with an attack on your turn becomes the target of the warriors, which hinder its attacks. Until the start of your next turn, that target has disadvantage on any attack roll that isn't against you, and when the target hits a creature other than you with an attack, that creature has resistance to the damage dealt by the attack. The effect on the target ends early if your rage ends."
I am struggling with the syntax. If anyone has some suggestions I would be grateful for any insight.